[pmwiki-users] conditional markup "empty variables" or length=0
lists at basel-inside.ch
lists at basel-inside.ch
Mon Jan 27 04:40:24 CST 2014
Good morning!
I tried to avoid a problematic link in a pagelist template via:
==>|| (:if2 equal "{*$Trail}) " "
":)[[{>$FullName}?Trail={*$Trail}|$[next]]][[{>$FullName}?Trail={*$Trail}|>]](:if2end:)Trail=-{*$Trail}
-||
(whole pagelisttemplate at bottom of post)
The results are the same:
http://orientalcarpetstudio.com.jovinus-meta.net/Carpet/10005?Trail=Category.Gross
http://orientalcarpetstudio.com.jovinus-meta.net/Carpet/10005?Trail=
the variable seems to be as expected (right on the line with next and Prev).
I tried several ways to compare, until now something seems to be not correct.
Can anybody help me to correct the condition above?
thanks in advance
regards
Patrick Ogay
Template in Site/LocalTemplates
!!#prnxontrail
[[#prnxontrail]]
(:if equal {*$FullName} {=$FullName}:)
||table border=0 align=left width=500
||[[{<$FullName}?Trail={*$Trail}|<]][[{<$FullName}?Trail={*$Trail}|$[back]]]
|| || (:if2 equal "{*$Trail}) " "
":)[[{>$FullName}?Trail={*$Trail}|$[next]]][[{>$FullName}?Trail={*$Trail}|>]](:if2end:)Trail=-{*$Trail}
-||
[[<<]]
(:ifend:)
[[#prnxontrailend]]
More information about the pmwiki-users
mailing list