SonicGT
01-05-2010, 07:01 PM
I am a beginner and haven't done any mods yet. I have a simple mod I'm attempting to create and cant figure out how to get my template to show up in a page, im sure im just making a simple mistake.
My template name is 'Signature_Rules'
I have this in the plugin and hooked to parse_templates
$templater = vB_Template::create('Signature_Rules');
$templater->register('signaturerules',$signaturerules);
$signaturerules = $templater->render();
and am trying to call it using
{vb:raw signaturerules}
I'm not sure if im using improper syntax or calling the wrong things any beginner help is appreciated
My template name is 'Signature_Rules'
I have this in the plugin and hooked to parse_templates
$templater = vB_Template::create('Signature_Rules');
$templater->register('signaturerules',$signaturerules);
$signaturerules = $templater->render();
and am trying to call it using
{vb:raw signaturerules}
I'm not sure if im using improper syntax or calling the wrong things any beginner help is appreciated