It was hard to see in the editform: I had a wrong bracket, which was too much /{*$Trail}) /.
So everything works as expected.

It's a usefull thing these conditions
thanks!

regards
Patrick Ogay

Zitat von li...@basel-inside.ch:

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]]] || &nbsp;&nbsp;&nbsp;&nbsp;|| (:if2 equal "{*$Trail}) " " ":)[[{>$FullName}?Trail={*$Trail}|$[next]]][[{>$FullName}?Trail={*$Trail}|>]](:if2end:)Trail=-{*$Trail} -||
[[<<]]
(:ifend:)
[[#prnxontrailend]]





_______________________________________________
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users





_______________________________________________
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to