Main
Index
Search
Posts
Who's
Online
Log
In

Home: Discontinued/Classic Products: Article Manager 1:
$url_thispage$ does not seem to contain anything in v1.11

 

 


KenGary
User

Aug 15, 2002, 11:46 AM

Post #1 of 4 (2745 views)
Shortcut
$url_thispage$ does not seem to contain anything in v1.11 Can't Post

Wherever I use this global tag, $url_thispage$, it seems to be empty. Is this just a bug in v1.11?

You can see it here: http://www.sonlight.com/main/index.html where I'm playing with a new site redesign.

Ken Gary

~It's a small world, but I wouldn't want to paint it!

(This post was edited by KenGary on Aug 15, 2002, 11:49 AM)


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">&gt;</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)


Dave
Staff / Moderator


Aug 19, 2002, 12:35 AM

Post #3 of 4 (2587 views)
Shortcut
Re: [KenGary] $url_thispage$ does not seem to contain anything in v1.11 [In reply to] Can't Post

Ken,

So you don't want the page to link to itself on the first page or results but you do on subsequent pages because then it would serve a purpose for the user? That's interesting! : )

PS: We can't see the URL you posted as it's password protected.

Dave Edis - Senior Developer
interactivetools.com
 


KenGary
User

Aug 19, 2002, 7:24 AM

Post #4 of 4 (2566 views)
Shortcut
Re: [Dave] $url_thispage$ does not seem to contain anything in v1.11 [In reply to] Can't Post

Oh! Sorry about the site being protected. It's under development.

I'm sure you can see what's happening by looking at the code sample.

Ken Gary

~It's a small world, but I wouldn't want to paint it!