Main
Index
Search
Posts
Who's
Online
Log
In

Home: Discontinued/Classic Products: Article Manager 1:
Prev and Next showing up even when they aren't needed

 

 


wendy
User

Oct 16, 2007, 7:48 PM

Post #1 of 2 (2845 views)
Shortcut
Prev and Next showing up even when they aren't needed Can't Post

Hi - I have an issue with the <<Prev and Next>>: the words show up on my search results pages even if they are not needed. When they are not needed, the terms are not linked but still show up. How do I get them to show up only when needed.


Thanks,


Wendy


Donna
Staff / Moderator


Oct 18, 2007, 1:57 PM

Post #2 of 2 (2811 views)
Shortcut
Re: [wendy] Prev and Next showing up even when they aren't needed [In reply to] Can't Post

Hi Wendy!

There's actually a different templatecell for each prev/next section, both needed & unneeded. I've copied the default code for them here:


Code
     <!-- template insert : $prev$ --> 
<!-- templatecell : prev -->
<a href="$prev_url$">&lt;&lt; prev</a>
<!-- /templatecell : prev -->
<!-- templatecell : no_prev -->

<span>&lt;&lt; prev</span>
<!-- /templatecell : no_prev -->

<!-- template insert : $next$ -->
<!-- templatecell : next -->
<a href="$next_url$">next &gt;&gt;</a>
<!-- /templatecell : next -->
<!-- templatecell : no_next -->

<span>next &gt;&gt;</span>
<!-- /templatecell : no_next -->

<!-- template insert : $more$ -->
<!-- templatecell : more -->
<a href="$more_url$">More Headlines</a>
<!-- /templatecell : more -->
<!-- templatecell : no_more -->

<!-- /templatecell : no_more -->


As you can see, there's a different cell for "no_prev" and "no_next" -- I'm guessing that in those cells, you've got the same as the "next" and "prev" templatecells.

Try editing your templates so that it looks more like what I've got above, and that should fix it up for you. :)

Donna

--
support@interactivetools.com