PDA

View Full Version : Removing HTML Icon on Widegets


Jakub03
09-09-2012, 01:39 PM
Hello, I am wondering how I would go about removing the HTML blue icon on the widgets that I create? Thank you!

Lynne
09-09-2012, 02:39 PM
Just edit the template and remove it.

To find the template to modify, do this - vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around your part of the code. (Sometimes the template is the one mentioned at the very top of the page source.)

Jakub03
09-09-2012, 02:54 PM
I went in to vboptions > General Settings > Add Template Name in HtmL Comments > and set it to yes.

Now I don't understand what I do next.

Here is the page that I am talking about and its the blue HTML icons that I am trying to get ride of. thank you

http://mypokerhub.com/content.php/234-Home-Page?tabid=213

Lynne
09-09-2012, 03:01 PM
Now you look at the page source and find your html widget. I just did a search for Merge Feeds in the source and found this:

<li><!-- BEGIN TEMPLATE: vbcms_widget_static_page -->
<div class="cms_widget">
<div class="block">
<div class="cms_widget_header">
<h3><img src="images/site_icons/html.png" alt="" /> Merge Feeds</h3>
</div>
<div class="cms_widget_content widget_content">
<BIG><h1><b>Merge Network</b></h1></BIG>

So, your template is called vbcms_widget_static_page

Jakub03
09-09-2012, 03:24 PM
That is correct for the template name. So I have to change this HTML Blue icon in the code? What do I erase? Thanks

Lynne
09-09-2012, 05:00 PM
Sure, if you want to erase it, then just remove the image code. If you want to replace it with another image, then enter the correct path to the other image.

Jakub03
09-09-2012, 11:54 PM
These are what I am talking about. Can you give me a step by step on how to remove these little HTML Blue icons? Thanks

Lynne
09-10-2012, 01:00 AM
Just remove the image from the template:

<img src="{vb:stylevar imgdir_siteicons}/html.png" alt="" />

Jakub03
09-10-2012, 01:09 AM
Got it! Thank you for you time Lynne! Much appreciated!