Applying templates to stories/sections

Peter Cruickshank <list-UnZd7gj/[email protected]> Sun, 4 Jul 2004 22:46:17 +0100
Newsgroups gmane.comp.cms.phpslash.user
Organization CNGN
Message-ID <[email protected]>
Hi Joe/anyone

Still playing with phpslash 0.8 alpha.... my next question:

What I want to do is use different versions of storyIndex.tpl depending on
what section is being displayed (possibly through adding options to
sections?)

I also want to be able to specify a non-default template for a story.

I've been looking at the code (Story::getStory and Story::getStories) and
there seems to be a way to say that a section should use a particular
template. In fact it seems that there may be several ways.... so:

Is there a way from the user interface to specify what template should be
used? If not, where would be the best place to add this ability? I also
want to be able to control what version of story.tpl is used to populate
the content of storyIndex.tpl.

Thanks

Peter
-- 
Peter Cruickshank
peter cruickshank biz



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com