vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   how do you allow multiple styles to share 1 template set?? (https://vborg.vbsupport.ru/showthread.php?t=107427)

DelFDgfd_gT 02-08-2006 12:13 AM

how do you allow multiple styles to share 1 template set??
 
We want to install 3 different styles on our forums but want them all to share the SAME templates/hacks.

Example:
(Style_01) - TEMPLATE SET 01
(Style_02) - TEMPLATE SET 01
(Style_03) - TEMPLATE SET 01

What is the best approach to doing this?

Marco van Herwaarden 02-08-2006 06:34 AM

Create 1 Style in which you will make all edits. Then set this style as parent to the others.

DelFDgfd_gT 02-09-2006 05:08 AM

Sorry to sound "newbish" -- but how exactly do you do that?

Appreciate your help by the way.

Marco van Herwaarden 02-09-2006 05:18 PM

Follow these steps:
- Goto AdminCP->Styles & Templates->Style Manager
- Add New Style: Title: My Parent Style, Allow user selection (set to your choice), Leave all other at default
- Make all needed template changes to My Parent Style
- Edit each of your current styles, and set My Parent Style as parent.
- Revert any changed templates in your child styles if they are identical to the template in My Parent Style.

From now on all edits in My Parent Style will be inhereted in the other styles, as long as there is not a modified version of the template in that child style.


All times are GMT. The time now is 02:13 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.01260 seconds
  • Memory Usage 1,706KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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