[pmwiki-users] Custom Pagelist Templates and site URL path?

LernAway lernaway at gmail.com
Wed Dec 19 09:16:40 CST 2012

Thanks Gilles and Petko,

That sent me in the right direction.

I was able to use...

$FmtPV['$Imagedir'] = "'http://My_Domain.com/uploads/' . '{' . '\$Group' . '}/'";

...in config.php

Then for the custom pagelist template use...

(:if equal {<$Group}:)
>>lframe width=130pct<<
<div id="thumb">
[[{=$Imagedir}/{=$Name}/{=$:image}"{=$Title}" -> {=$FullName}]]
(:if equal {>$Group}:)

I needed to make a few calls to that directory with other custom pagelist templates so it makes sense to define the path in one place (i.e. config.php)

More information about the pmwiki-users mailing list