Spinning wheels.

| | Comments (0)

So I'm a little stuck. I've figured out that Gallery 2 uses Smarty. Great. I'm sure that's wonderful, but I barely know what Smarty is. I did discover this, though:


{literal}{/literal}

escapes Smarty parsing. So if you want to have your own header with Gallery 2, you need to alter your header file so that it's wrapped in the {literal}{/literal} tags. I haven't tried nesting content inside the tpl. That might be interesting; but it doesn't work. It seems I'll have to be a little more clever to make it so I only have to have one header file. If it's not one thing its the other.

Leave a comment

About this Entry

This page contains a single entry by Benjie published on January 19, 2006 2:44 PM.

Long path to upgrade was the previous entry in this blog.

Jake went and did it. is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.