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

LernAway lernaway at gmail.com
Tue Dec 18 10:32:34 CST 2012


I'm looking for a way to avoid using http://My_Domain.com/uploads/ as show in the below example.

[@
[[#thumblist5]]
(:if equal {<$Group}:)
>>lframe width=130pct<<
(:if:)\
<div id="thumb">
[[http://My_Domain.com/uploads/{=$Group}/{=$Name}/{=$:image}"{=$Title}" -> {=$FullName}]]
</div>
(:if equal {>$Group}:)
>><<
[[#thumblist5]]
@]

I attempted to use with no luck...

{=$SiteUrl}
{=$ScriptUrl}
.$_SERVER['HTTP_HOST'].

and

{=$UploadDir}

Thanks in advance for any help anyone can offer.


More information about the pmwiki-users mailing list