Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions

Reply
 
Thread Tools Display Modes
  #11  
Old 02-09-2010, 11:43 PM
borbole's Avatar
borbole borbole is offline
 
Join Date: Jan 2010
Posts: 2,559
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by discontained View Post
Its linked right now to CMS however we dont use CMS and use the vB CMPS portal. I want to link the HOME to the portal page

here is my site the home button is annoying me!
www.aepautomotive.com
The things is that from the screenshot of the navbar template you posted above I didn''t see any link for the Home tab. And I am not familiar with vb''s cms as I don''t use it. Let's'hope that someone who knows vb''s cms will see this thread and help you out further.
Reply With Quote
  #12  
Old 02-15-2010, 01:41 AM
discontained discontained is offline
 
Join Date: Oct 2009
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

BUMP...

still cant figure it out.. damn thing is so frustrating.

Just so we are clear. When on the forum main page ( http://www.aepautomotive.com/forums/forum.php ) and you desire to go back to the portal, you click on the home tab... which takes you here ( http://www.aepautomotive.com/forums/content.php ) and all I would love to do is change that to http://www.aepautomotive.com/ thats it.. why is that so hard ???? SO im lost, im debating on even downgrading the forums.. back to 3.8 if i cant fix this issue..

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

I figured it out.
Reply With Quote
  #13  
Old 07-18-2010, 05:26 AM
Jay Lee Jay Lee is offline
 
Join Date: Jun 2010
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm trying to figure this out right now too. Anyone have a solution?

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

I just figured it out after digging around a bit more, and I must say wow! The answer was hidden in a place I would've never guessed:

Admincp -> Settings -> Options -> Content Management -> "Site Tab URL"

Just change it to http://www.mysite.com/ and it's done!
Reply With Quote
  #14  
Old 07-27-2010, 02:33 PM
downloadsuk downloadsuk is offline
 
Join Date: Jul 2010
Location: China
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Still want help with this my friend? PM Me

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

Quote:
Originally Posted by borbole View Post
Hello. The template you need is navbar and the specific code is:

HTML Code:
<li class="selected"><a class="navtab" href="{vb:raw vboptions.forumhome}.php{vb:raw session.sessionurl_q}">{vb:rawphrase forum}</a>
And enter the url to your portal inside the href attribute. Hope it helps.
This NOT the code you need

This is code specifically refers generating the tab code for the Forums tab.

I have had a breakthrough with this and no one else seems willing to help you out. I found out that any link to the CMS home page would need to be like this

Code:
href="{vb:raw vboptions.site_tab_url}{vb:raw session.sessionurl_q}"
and more importantly that the code that is run somewhere before the navbar is generated for all the other tabs is found in the template vbcms_navbar_link!

For the life of me I cannot work out why!!

but here is the code

Code:
<vb:if condition="$vboptions['selectednavtab'] == 'vbcms'">
<li class="selected">
	<vb:if condition="$vboptions['vbcms_url']">
		<a class="navtab" href="{vb:raw vboptions.vbcms_url}{vb:raw session.sessionurl_q}">{vb:rawphrase site}</a>
	<vb:else />
		<a class="navtab" href="{vb:raw vboptions.site_tab_url}{vb:raw session.sessionurl_q}">{vb:rawphrase site}</a>
	</vb:if>
	<ul class="floatcontainer">
		{vb:raw template_hook.vbcms_navbar_start}
		<vb:if condition="$links">
			<vb:each from="links" value="link">
				<li><a href="{vb:raw link.url}">{vb:raw link.title}</a></li>
			</vb:each>
		<vb:else />
			<li class="hidden">&nbsp;</li>
		</vb:if>
		{vb:raw template_hook.vbcms_navbar_end}
	</ul>
</li>
<vb:else />
	<li>
	<vb:if condition="$vboptions['vbcms_url']">
		<a class="navtab" href="{vb:raw vboptions.vbcms_url}{vb:raw session.sessionurl_q}">{vb:rawphrase site}</a>
	<vb:else />
		<a class="navtab" href="{vb:raw vboptions.site_tab_url}{vb:raw session.sessionurl_q}">{vb:rawphrase site}</a>
	</vb:if>
	</li>
</vb:if>
Look at the VB code in bold. That is where the words for HOME is being pulled from. You can search in phrases to edit that, or you can simply add your own phrase and replace the "site" phrase variable with that! Hope this helps!

I have tested with making my own phrase and it works! Good luck!
Reply With Quote
  #15  
Old 04-08-2011, 05:12 PM
DNN DNN is offline
 
Join Date: Mar 2011
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Jay Lee View Post
I'm trying to figure this out right now too. Anyone have a solution?

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

I just figured it out after digging around a bit more, and I must say wow! The answer was hidden in a place I would've never guessed:

Admincp -> Settings -> Options -> Content Management -> "Site Tab URL"

Just change it to http://www.mysite.com/ and it's done!
I just fixed mine. Thanks so much for the help!
Reply With Quote
Reply

Thread Tools
Display Modes

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 05:59 AM.


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.04197 seconds
  • Memory Usage 2,223KB
  • Queries Executed 12 (?)
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
  • (2)bbcode_code
  • (1)bbcode_html
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (5)postbit
  • (5)postbit_onlinestatus
  • (5)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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete