vb.org Archive

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

Marshalus 07-09-2002 03:44 AM

Custom Template > Default
 
Is there a way to make a custom template display under default?

Steve Machol 07-09-2002 03:51 AM

Yes, just edit your Default style properties and have them point to the Replacement and Templates sets of the style you want to appear as the default.

Marshalus 07-09-2002 06:29 AM

Oh, I'm sorry, I guess I worded this completly wrong. I already knew how to do that part.

What I ment was if I create a new template (like "postbit" is a template), it puts it under the "Custom" section in the listing. I'd like to move it so that it isn't listed in the custom section, but under the normal templates.

God this is confusing how ever I word it.

Xenon 07-09-2002 10:14 AM

open your config.php

enter $debug=1;

then in your admin-cp you can add templates to the global set, so such templates are seen in every style under default, not longer custom.

be sure to take out debug=1 after you've done that, because its a security problem...

also remember: with every upgrade of your vb, all global templates are deletet and the new ones are created, so you have to add your custom templates manually after an upgrade again.


All times are GMT. The time now is 08:25 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.01212 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