The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
template with in a template
This is for my switch this makes a error.
Code:
case "add": $templater = vB_Template::create('Site_Glossary'); $templateradd = vB_Template::create('Site_Glossary_add'); break; default: $templater = vB_Template::create('Site_Glossary'); } // ###### NOW YOUR TEMPLATE IS BEING RENDERED ###### $templater->register_page_templates(); $templater->register('navbar', $navbar); $templater->register('pagetitle', $pagetitle); $templater->register('glossarynav', $glossarynav); $templater->register('templateradd', $templateradd); $templater->register('show', $show); print_output($templater->render()); ?> Code:
$templateradd = fetch_template('Site_Glossary_add'); Code:
$final_rendered = 'blah '; Code:
{vb:raw templateradd} P.S. I am trying to have all one php page |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|