assuming there needs to be some tag soup for every design on top of the functional structure of the page why not just create 1 extra template
for each design which stores the tag soup and include the relevant file.
That was my first proposal. The problem with this approach is that I end up with a template for every single gallery page. Assuming hundreds will be built, I would end up with hundreds of templates.
Now say I add a new feature where I can put the person's name on the top of the page with a nice picture. Since now I have hundreds of additional templates, I would have to go in and add that information into each one (instead of one central template).
--
Re-reading your post, I think you mean to include only the display part in additional templates. But I don't think that's possible because the tags would be intermingled into the design. For example someone might have custom id's for paragraphs, or other functional tags.
has been removed so that Internet Exploder doesn't put great big gaps between the images.).
It looks like a nightmare but runs fine:
That's the kind of mess I want to avoid if possible. It is a solution, but I think it's not terribly elegant (I can't imagine myself going into something like that to add or edit, 3 years in the future, and still know what's going on : )).
As a sidenote, I have a whitespace filter installed in smarty that I got off the wiki page. You might want to try that (or edit it a bit if it doesn't filter as much as you'd like), so that your template can look all spaced and easily readable while still getting the whitespace filtered out:
" There's already a better method implemented by Monte Ohrt himself. Instead of simply replacing all \n, \r, \t and spaces the following function only replaces the ones not enclosed by <script>, <textarea> or <pre> tags. Because replacing them would result in losing your text formatting."
<
http://smarty.incutio.com/?page=SmartyTips>
Vonleigh Simmons [vanlei]
<www.illusionart.com/pi/>