vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Styles and templates .. (https://vborg.vbsupport.ru/showthread.php?t=105035)

Spam.Diz 01-11-2006 01:14 AM

Styles and templates ..
 
I have looked at the templates after adding different styles. Do I really have to modify each template under each style if I make a code change?
Please tell me it ain't so or there is a trick around it.
Thanks..

BrandiDup 01-11-2006 01:21 AM

I just have one main style then make the rest of the styles "child" styles under the main one. Then when you make a change to the main style, the rest of them inherit the changes also. I dunno if this is the way you're SUPPOSED to do it or not, but this is how I've been doing it for a while now and have had no problems so far. :)

Spam.Diz 01-11-2006 01:26 AM

Brandi sounds good now I will have to see how to do that. LOL.
Thanks...

PS.. Quite a difference from TN to the windy city. Lived in both and loved both.

nexialys 01-11-2006 01:37 AM

there is no trick, if you add/modify a template, you have to edit all the styles to apply that change, << IF >> these templates are edited in the style... you know it if the template is colored in red in that specific style... if you edited the MASTER template (when in debug mode) you may not have to edit all templates... if they are in black, they follow the master template modifs...

btw, read the forum description next time, there is a forum for templates/style questions! this one is for releases!

Tony G 01-11-2006 09:04 AM

Wrong forum. Moving to vB3.5 questions..

Spam.Diz 01-11-2006 08:24 PM

Quote:

Originally Posted by nexialys
there is no trick, if you add/modify a template, you have to edit all the styles to apply that change, << IF >> these templates are edited in the style... you know it if the template is colored in red in that specific style... if you edited the MASTER template (when in debug mode) you may not have to edit all templates... if they are in black, they follow the master template modifs...

btw, read the forum description next time, there is a forum for templates/style questions! this one is for releases!

Sounds like you oh master coder is saying brandi is wrong and I do have to change each template.

So what is correct......??????

davidw 01-12-2006 02:13 PM

Both are correct, in a way.

When making template changes, as nexialys stated, you need to modify the templates for all styles.

In what Brandi was talking about this applies to modifications made to vbulletin that are not template related. For example a plugin, product, etc., these will affect all child styles. When the template is within a plugin (usually created by a plugin), then it adds it to all child styles.

Spam.Diz 01-13-2006 02:09 PM

When I go to templates and search and want to make a modification it shows all the templates not just one say for adding something to the header. SO if I change something and want it changed on all templates I have to change all of them? If I remove them the way I installed and tried putting them as child styles as Brandi said this would show one master template that if I changed it would reflect in all templates and the others as lower templates that can have individual changes only for themselves.
Thanks


All times are GMT. The time now is 10:04 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.00959 seconds
  • Memory Usage 1,724KB
  • 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
  • (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