On Tue, Dec 18, 2012 at 10:32 AM, LernAway wrote:
> 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:)\
>
> [[http://My_Domain.com/uploads/{=$Group}/{=$Name}/{=$:im
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...
[@
[[#thumblist5]]
(:if equal {<$Group}:)
>>lframe width=130pct<<
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:)\
[[http
Maybe have a look at this page (should work I guess, though not sure) ;
http://www.pmwiki.org/wiki/Cookbook/RelativeUrls
gilles.
2012/12/18 LernAway
> I'm looking for a way to avoid using http://My_Domain.com/uploads/ as
> show in the below example.
>
> [@
> [[#thumblist5]]
> (:if equal {<$Gro
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:)\
[[http://My_Domain.com/uploads/{=$Group}/{=$Name}/{=$:image}"{=$Title}"; ->
{=$FullName}]]
(:if equal {>$Group}:)
>><<
[[#t