MyBB Community Forums

Full Version: Adding template to template set
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have searched the forums and have been unable to get a answer to my problem. I added new templates to the default template set. These are opening and closing div tags for adding rounded corners to tables. I wanted to use the template vars to simplify things.

rnd_cnr_start

<div class="rnd_cnr_top">
    <img src={$mybb->settings['bburl']}/{$theme['imgdir']}/rnd_cnr_top_left.png" alt="" />
</div>

rnd_cnr_end

<div class="rnd_cnr_bot">
    <img src={$mybb->settings['bburl']}/{$theme['imgdir']}/rnd_cnr_bot_left.png" alt="" />
</div>

When I insert the code in an existing template:

{$rnd_cnr_start}
{$rnd_cnr_end}

It never shows up. I have even tried creating these under the global templates. Is this a caching issue or do I have to somehow register the template?
I don't think the $ is supposed to be there. I'm not the greatest, so don't take my word for it... But that may be the problem.