Antville Help
Montag, 25. Oktober 2004

multiple views with different story collections

I would like to have different collections of (hardwired) stories which I can browse by specific urls. I have no clue at the moment how to achieve this. Any idea ? Is there a simple solution ?

Example:

View 1: http://test.antville.org/?view=1 (or whatever ..) shows view one with stories 1,5,9 .. like I would configure site layout frontpage: <div class="pagelink"><% response.prevpage %></div> <% story id="1" %> <% story id="5" %> <% story id="9" %> <% response.nextpage %>

View 2: test.antville.org stories 2,3,7,5 <div class="pagelink"><% response.prevpage %></div> <% story id="2" %> <% story id="3" %> <% story id="7" %> <% story.id="5" %> <% response.nextpage %>

View 3: test.antville.org etc...

[edit]

my solution

edit Story/securityFunctions.js: add to 'function allowTextMacros(s)' > s.allowMacro("story");

.. then it is possible to include stories in a story. Cannot see a problem with enabling this at the moment .. [/edit]

thanks.

Sie sind nicht angemeldet