vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Custom Templates (https://vborg.vbsupport.ru/showthread.php?t=72770)

X-Sector 12-11-2004 04:34 PM

Custom Templates
 
We had an one style, and we have installed a lot hacks with custom templates. We have decided to install another style, so we did and how can we convert our custom templates from our 1st style to our another style?

Thanks in advance.

Andrew 12-11-2004 05:10 PM

Quote:

Originally Posted by X-Sector
We had an one style, and we have installed a lot hacks with custom templates. We have decided to install another style, so we did and how can we convert our custom templates from our 1st style to our another style?

Thanks in advance.

Easiest way would be to either redo the template edits on the new style for the hacks or use a file comparison program like fCompare to compare them and copy over the edits.

Brad 12-11-2004 07:18 PM

The best way to do this is to make a child style, that way all modifications in the parent style will be used in child styles. Also child styles can have there own modifications (even if the same parent template is modified).

X-Sector 12-28-2004 12:15 AM

To Brad.loo

I don't quite get it what you just answered to my question. What do you mean by making a child style? do l have to move all my templates to a new child style? What should l do with them? Please explain more details so l can fully understand. Thank you

X-Sector 12-28-2004 06:12 PM

vunny

deathemperor 12-29-2004 02:41 AM

Quote:

Originally Posted by X-Sector
To Brad.loo

I don't quite get it what you just answered to my question. What do you mean by making a child style? do l have to move all my templates to a new child style? What should l do with them? Please explain more details so l can fully understand. Thank you

make a new style you want as a child style of the style that you have hacks installed in, this option can be found when adding new style. So that the new style can inherit all custom/modified templates that your current style has.

Tony G 12-29-2004 06:42 AM

Adding onto that, a child style will use the templates from the parent style, and be updated automatically when you make any changes to your parent style, so they will remain the same template wise.

And you can have different style colors etc. with a child style.


All times are GMT. The time now is 06:02 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.01837 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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