[pmwiki-users] pagelist template brainstorming
Martin Fick
mogulguy at yahoo.com
Mon Feb 19 23:19:46 CST 2007
--- "Patrick R. Michaud" <pmichaud at pobox.com> wrote:
> There's also a bit more to it than this... I'm
> running into possibilities for using pagelist-like
> templates on things other than pagelists, such as
> attachlist (but there are others). So,
> part of me thinks we may be better of sticking with
> the simple (:first:)/(:each:)/(:last:) approach
> instead of trying to explain (:pagelist-first:) vs.
> (:attachlist-first:) vs. (:whatever-first:), etc.
> In other words, the directives may make sense in
> contexts other than pagelists, even if we don't
> know what those contexts are yet.
And, just to throw out some ideas of things that I
have been wanting to use/implement templates for:
-Expanding the HttpVariables recipe so that arrays of
GET/POST/COOKIE/SESSION values can be templated.
-Expanding the Wikipaths recipe so that returned
elements could be templated.
-Creating a DB recipe that could return a table as a
list of elements. This requires the expanded idea of
columns, not just rows. Perhaps columns could simply
be represented as variables?:
|| {=$ColA} || {=$ColB} ||
-Martin
____________________________________________________________________________________
Cheap talk?
Check out Yahoo! Messenger's low PC-to-Phone call rates.
http://voice.yahoo.com
More information about the pmwiki-users
mailing list