[pmwiki-users] Embedding php in a wiki page

Hans design5 at softflow.co.uk
Fri Feb 1 04:45:20 CST 2008


Friday, February 1, 2008, 10:21:56 AM, Steven Benmosh wrote:

> 2. Would the last suggestion work with the output of (:pagelist group=...
> :)? This is where I am encountering the issue - I want to show the pages in
> a group automatically, so when users create pages they will be listed, but I
> want the output to look like: Manchester United, and not ManchesterUnited.
> When I create the link manually this can be overcome easily, but I am not
> sure how to do it with pagelist.

You can use different fmt= option with pagelist.
If no fmt= isspecified, pagelist uses the default format.
to change this to display links with spaces between the word
go to page Site.PageListTemplates
and edit the #default section.
Change it to this:

[[#default]]
(:template first {=$Group}:)

:[[{=$Groupspaced}/]] /:
(:template each:)
: :[[{=$Group}/{=$Namespaced}]]
[[#defaultend]]


  ~Hans




More information about the pmwiki-users mailing list