[pmwiki-users] pmwiki-2.2.0-beta10 released (pagelist option vars, basename)

Patrick R. Michaud pmichaud at pobox.com
Mon Oct 2 14:17:02 CDT 2006


On Mon, Oct 02, 2006 at 03:06:55PM -0400, Crisses wrote:
> Ok, between everything I think I have a bug:
>    http://similepedia.com/index.php/Site/PageListTemplates
> At the bottom I defined  the fmt=#simile
> fmt=#simile

You might want to put this on Site.LocalTemplates to avoid
upgrade hassles.

> The two using fmt=simile are the ones that are the problem. I know  
> why the others don't work.
> 
> (:pagelist $:Work=*mice* group=Data-Simile fmt=simile:)
> (:pagelist group=Simile $Title=*mice* fmt=simile:)

You probably want fmt=#simile here.  Using fmt=simile means
that it uses the content of the Simile page as the pagelist
template.

> [[#simile]]
> * [[{=$FullName}]] - {=$:WAuthor} - {=$:Work}
> [[#simileend]]
>
> I want a link to a page followed by the values for a couple variables  
> from the Data- page.  

[[#simile]]
* [[{=$BaseName}]] - {Data-{=$BaseName}$:WAuthor} - {Data-{=$BaseName}:$Work}
[[#simileend]]

Pm




More information about the pmwiki-users mailing list