[pmwiki-users] display in WikiForm

John Rankin john.rankin at affinity.co.nz
Tue Apr 11 18:20:31 CDT 2006


On Wednesday, 12 April 2006 10:43 AM, malexism at free.fr <malexism at free.fr> wrote:
>John Rankin a écrit :
>> "display templates".
>
>Yes! And with this solution, thre is the possibility to use one, two or 
>more templates...
>
>
Exactly -- [[pageName?action=browse&formtemplate=TemplateName]]
would display the contents of PageName using TemplateName,
provided that it detects PageName is a form-based page.

In my head, it would work like a "mail merge" word processing
template -- you lay out a wiki page with data + field references
and the code will auto-magically merge the contents on output.
It would make custom reports possible -- all pages that match
a selection criterion, formatted using a specified template.

I have no idea how much effort would be involved. I need to
have a bit of a play with it. I think I can use the existing 
{$ ... } markup to designate fields, but substitutions
would need to take place before the page is split into lines.


-- 
JR
--
John Rankin






More information about the pmwiki-users mailing list