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

Reply
 
Thread Tools Display Modes
  #1  
Old 04-20-2013, 09:49 AM
fabioo fabioo is offline
 
Join Date: Jun 2012
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default CMS submenu vBulletin 4.2.0

Hello,

I'm looking for a way to have a drop down menu on cms like the one of the forum to insert the link to categories

I've found this:

http://www.purevb.com/tutorials-23/a...avigation-383/

but dont work for me

have you a simple solution like this?

Thanks
Fabio
Reply With Quote
  #2  
Old 04-20-2013, 02:55 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How about just editing the template and adding them manually?

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.)
Reply With Quote
  #3  
Old 04-23-2013, 07:31 AM
fabioo fabioo is offline
 
Join Date: Jun 2012
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hello,
I would like to have this menu in cms



possibly without installing plugins but by making changes directly to the code

Thanks Again.
Reply With Quote
  #4  
Old 04-23-2013, 04:00 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just told you that you could edit the template directly and I told you how to find what template to edit.
Reply With Quote
  #5  
Old 04-23-2013, 05:36 PM
fabioo fabioo is offline
 
Join Date: Jun 2012
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

now that I know the name of the template?

I'm not able to add code, on forumhome i see :

Code:
<li class="popupmenu" id="vbmenu_community">
	<a href="javascript://" class="popupctrl" id="yui-gen3">Community</a>
	<ul class="popupbody" id="yui-gen2">
								
	    <li id="vbclink_albums"><a href="album.php">Album</a></li>
								
	    <li id="vbclink_contacts"><a href="profile.php?do=buddylist">Friends &amp; Contacts</a></li>
								
	    <li id="vbclink_members"><a href="memberlist.php">Friends List</a></li>
			
				</ul>
			</li>
on the vbulletin.com site they told me to ask for help to you
Reply With Quote
  #6  
Old 04-23-2013, 06:12 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm not understanding what you are saying. You were asking about menu dropdowns for the CMS, but now you are showing source code from the forumhome page. Are you saying that is the code you want to add?
Reply With Quote
  #7  
Old 04-24-2013, 10:12 AM
fabioo fabioo is offline
 
Join Date: Jun 2012
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
Are you saying that is the code you want to add?
Yes

a few days ago I've found a guide on the vbulletin site, for add an additional drop-down menu

This guide was complex because he spoke of id references and edit many templates and then it was for vbulletin 3

to have a menu like this in cms, where I can add links to cms categories:


I can copy the code from model forumhome and paste it into model vbcms_page?
Reply With Quote
  #8  
Old 04-24-2013, 04:19 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You may copy it and paste it into the correct template, yes, but I don't think that template is vbcms_page (unless you are putting it somewhere other than the navbar area). Also, make sure the id tag is only used once on the page.
Reply With Quote
  #9  
Old 04-24-2013, 06:42 PM
fabioo fabioo is offline
 
Join Date: Jun 2012
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've tried ... too complicated for me! i ve read id=yui-gen3, id=yui-gen4

I do not know where to put your hands, I hoped would give me a simple and detailed explanation of how to proceed, maybe like this: http://www.purevb.com/tutorials-23/a...avigation-383/

it does not matter thanks anyway

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

I thought I had put a picture of what I meant, but I was wrong
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 11:15 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.04219 seconds
  • Memory Usage 2,237KB
  • 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
  • (1)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)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_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