vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Want navbar template, in each style, to display menus by looking at one template. (https://vborg.vbsupport.ru/showthread.php?t=145023)

Canis Firebrand 04-16-2007 04:50 PM

Want navbar template, in each style, to display menus by looking at one template.
 
I've tried searching for this, but I can't find what I am looking for. Probably because I'm not sure how to phrase the search terms.

Anways, this is what I am trying to do.

I have my navbar with drop-down menus that I was able to create. If I want to change them, I have to edit the navbar template in all styles.

What I want to do is to add code to the navbar template in all styles to pull the menu from one template so that I only have to change one template to have it reflected across all styles instead of editing each template directly.

Is this possible?

hambil 04-16-2007 04:54 PM

You can make them child styles of the default style, revert their individual navbar templates, and then make the changes you want to the default navbar template.

Canis Firebrand 04-16-2007 05:20 PM

I had thought about that, but I wanted to keep each style as its own incase I ever wanted to do per style content.

HMBeaty 04-16-2007 05:30 PM

Other than what hambil said, no

Canis Firebrand 04-16-2007 05:42 PM

That is what I was afraid of.. I think I saw a mod that will do something similar, I just didn't want to go that route either.

I do appreciate the responses though.

dj_melayu 04-16-2007 07:03 PM

Please see this
Quote:

Originally Posted by dj_melayu (Post 1201003)



All times are GMT. The time now is 09:24 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.01103 seconds
  • Memory Usage 1,719KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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