Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 07-25-2011, 11:58 AM
liberalgrounds liberalgrounds is offline
 
Join Date: Jul 2011
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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?

Does anybody know? Thanks!
Reply With Quote
  #2  
Old 07-25-2011, 12:28 PM
Mooff Mooff is offline
 
Join Date: Mar 2010
Posts: 301
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #3  
Old 07-25-2011, 12:36 PM
liberalgrounds liberalgrounds is offline
 
Join Date: Jul 2011
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Quote:
Originally Posted by Mooff View Post
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!
Reply With Quote
  #4  
Old 07-25-2011, 12:49 PM
Mooff Mooff is offline
 
Join Date: Mar 2010
Posts: 301
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

if you want the widget title to disapear just delete the first code box completely out of those templates.
Reply With Quote
  #5  
Old 07-25-2011, 12:51 PM
liberalgrounds liberalgrounds is offline
 
Join Date: Jul 2011
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excellent! Thanks again, one more question!

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

Quote:
Originally Posted by Mooff View Post
if you want the widget title to disapear just delete the first code box completely out of those templates.
Reply With Quote
  #6  
Old 08-31-2011, 02:03 PM
CouponWCents CouponWCents is offline
 
Join Date: Jun 2011
Posts: 164
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for this! That was driving me nuts!
Reply With Quote
  #7  
Old 08-31-2011, 02:35 PM
Brandon Sheley's Avatar
Brandon Sheley Brandon Sheley is offline
 
Join Date: Mar 2005
Location: Google Kansas
Posts: 4,678
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #8  
Old 08-31-2011, 03:50 PM
setishock setishock is offline
 
Join Date: Feb 2008
Location: Houma, La.
Posts: 1,177
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:38 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.03817 seconds
  • Memory Usage 2,228KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (5)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete