
KenGary
User
Aug 16, 2002, 8:04 AM
Post #2 of 4
(2702 views)
Shortcut
|
|
Re: [KenGary] $url_thispage$ does not seem to contain anything in v1.11
[In reply to]
|
Can't Post
|
|
You know? Now that I've studied it further, I can see where $url_thispage$ would be impossible for you to set in the category_list.html template where I was trying to use it. My mistake! What I do now is use the index or article templates to set an XSSI variable like this: <!--#set var="thispage" value="$url_thispage$" --> And then I use XSSI code in category_list.html to NOT link a page to itself...a usability boo-boo according to Jacob Nielson: <!-- templatecell : row_selected --> <tr> <td class="browsebodys" colspan="3"> <p> <span class="selected">></span> <!--#if expr="$thispage != /$url_index$/ " --> <a href="$url_index$">$cat_name$</a> <!--#else --> <b><span class="selected">$cat_name$</span></b> <!--#endif --> </p> </td> </tr> <!-- /templatecell : row_selected --> Ken Gary ~It's a small world, but I wouldn't want to paint it!
(This post was edited by KenGary on Aug 16, 2002, 8:10 AM)
|