[pmwiki-users] Custom Pagelist Templates and site URL path?
Petko Yotov
5ko at 5ko.fr
Tue Dec 18 15:37:13 CST 2012
You can use [[Path:/uploads/...]]. See also
http://www.pmwiki.org/wiki/PmWiki/InterMap .
Petko
LernAway writes:
> 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}
More information about the pmwiki-users
mailing list