[pmwiki-users] How to output nice table format from fox form?

Mike Turco turco.mike at gmail.com
Wed Jan 25 23:26:58 CST 2012

Hi Hans,

Thank you for your help! I made the two changes you suggest but
something is still awry, and I've been up-and-down through the
documentation and can't find a solid how-to example.

Could there be some add on or line in config.php required for me to
use PTV's as I am using them below?



On Wed, Jan 25, 2012 at 6:35 AM, Hans <design5 at softflow.co.uk> wrote:
> Wednesday, January 25, 2012, 11:03:03 AM, Mike Turco wrote:
>> This is on the page itself:
>> (:pagelist fmt=Site.LocalTemplates#contactlist order=-name1 group=Contacts count=4:)
> you could just use fmt=#contactlist as sIte.LocalTemplates is a
> default page for the pagelist function to look for templates.
>> This is in Site.LocalTemplates:
>> [[#contactlist]]
>> (:if equal {<$Group}:)
>> (:table width="90%" :)
>> (:cell style="background:#e5e5ff;padding-left:5px" :)'''Name'''
>> (:cell style="background:#e5e5ff;padding-left:5px" :)%thd%'''Mobile'''
>> (:cellnr style="background:#eeeeff;padding-left:5px" :){{=$FullName}$:name1}
>> (:cell style="background:#eeeeff;padding-left:5px" :){{=$FullName}$:mobile}
> (:if equal {>>$Group}:)
>> (:tableend:)(:if:)
>> [[#contactlist]]
> this should end as [[#contactlistend]]
> Maybe that us what confuses pagelist.
> Your ptvs in the templates look fine.
> None of this has to do with Fox, as you use Fox only to create the
> pages and PTVs, then use pagelist to extract PTV content.
>  ~Hans

More information about the pmwiki-users mailing list