[pmwiki-users] display in WikiForm

Pico pmwiki at ben-amotz.com
Tue Apr 11 18:54:22 CDT 2006


John Rankin wrote:
> 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.
>
>
>   
Take a look at the new FillTemplate that Octocias just shared with us.

Pico
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/pmwiki-users/attachments/20060411/fe9f5b3a/attachment.html 


More information about the pmwiki-users mailing list