vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Does anyone know how to delete the little widget icon on CMS? (https://vborg.vbsupport.ru/showthread.php?t=267391)

liberalgrounds 07-25-2011 10:58 AM

Does anyone know how to delete the little widget icon on CMS?
 
I would like to know how to delete the following widget icon, from appearing on my widgets? https://vborg.vbsupport.ru/external/2011/07/38.jpg

Does anybody know? Thanks!:)

Mooff 07-25-2011 11:28 AM

Template edit for every widget where you want to remove that picture.

Templates are called vbcms_widget_ and so on.

For example the calendar widget, find:
Code:

                <div class="cms_widget_header">
                <h3><img src="{vb:stylevar imgdir_misc}/event.png" alt="" /> {vb:raw widget_title}</h3>
                </div>

remove this code:
Code:

<img src="{vb:stylevar imgdir_misc}/event.png" alt="" />
P.S.: I have no idea why the vb4 design team thought it would make any sense to show the users what widget is a html widget and what widget is a php widget. Really, no idea at all.

liberalgrounds 07-25-2011 11:36 AM

Totally agree with your last sentence, totally pointless! But thanks I will start looking for those codes! Thanks so much!:D

Quote:

Originally Posted by Mooff (Post 2224750)
Template edit for every widget where you want to remove that picture.

Templates are called vbcms_widget_ and so on.

For example the calendar widget, find:
Code:

                <div class="cms_widget_header">
                <h3><img src="{vb:stylevar imgdir_misc}/event.png" alt="" /> {vb:raw widget_title}</h3>
                </div>

remove this code:
Code:

<img src="{vb:stylevar imgdir_misc}/event.png" alt="" />
P.S.: I have no idea why the vb4 design team thought it would make any sense to show the users what widget is a html widget and what widget is a php widget. Really, no idea at all.

--------------- Added [DATE]1311601255[/DATE] at [TIME]1311601255[/TIME] ---------------

Do you know if it is possible to delete the widget title from appearing in the website as well? Thanks!

Mooff 07-25-2011 11:49 AM

if you want the widget title to disapear just delete the first code box completely out of those templates.

liberalgrounds 07-25-2011 11:51 AM

Excellent! Thanks again, one more question!

https://vborg.vbsupport.ru/showthread.php?t=267396

Quote:

Originally Posted by Mooff (Post 2224766)
if you want the widget title to disapear just delete the first code box completely out of those templates.


CouponWCents 08-31-2011 01:03 PM

Thanks for this! That was driving me nuts!

Brandon Sheley 08-31-2011 01:35 PM

I removed this as well when I had the CMS up, I have no idea either why vb thought we'd want those icons there..
I can see maybe it being helpful for the admins to see but the average user doesn't need to know if it's an HTML block or a PHP one

setishock 08-31-2011 02:50 PM

Lot simplier to just tuck display none in the css like this >
Code:

/* Seti added: Display none command to kill widget title */
.cms_widget_header h3 {
display: none;
        color: {vb:stylevar sidebar_header_color};
        background:transparent none;
        padding: {vb:stylevar vbcms_widget_header_padding};
        outline:none;
        font-size:{vb:stylevar sidebar_header_fontSize};
        font-weight: bold;
}

/* Seti added: Display none command to kill widget icons */
.cms_widget_header h3 img {
display: none;
        position: relative;
        top: 2px;
}

Lot cleaner. http://animeappeal.com/content.php?styleid=110


All times are GMT. The time now is 08:08 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01832 seconds
  • Memory Usage 1,729KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete