[ic] more list

Ton Verhagen tverhagen at alamerce.nl
Fri Mar 26 15:31:44 UTC 2010


Hello All,

I had the impression that it would be possible to format the 'current page' link in the more list. Unfortunately I cannot find anything right now.

The ITL below:
<ul>
[more-list]
[link-template]<a href="$URL$">$ANCHOR$</a>[/link-template]
[more]
[/more-list]
</ul>

generates code like (page 1 is current page):

<ul>
<li><a href="#" rel="nofollow">Next</a></li>
<strong>1</strong>
<li><a href="#">2</a></li>
<li><a href="#">3</a></li>
<li><a href="#">4</a></li>
<li><a href="#">5</a></li>
<li><a href="#" rel="nofollow">Previous</a></li>
</ul>

This breaks html because of the current page (strong tags without <li>)



What I want is following (page 1 is current page):

<ul>
<li><a href="#" rel="nofollow">Next</a></li>
<li class="down">1</li>
<li><a href="#">2</a></li>
<li><a href="#">3</a></li>
<li><a href="#">4</a></li>
<li><a href="#">5</a></li>
<li><a href="#" rel="nofollow">Previous</a></li>
</ul>

wouldn't there be a 'current_page_template' sub tag for the more list or such?
Thought there was something.....


Many thanks,

Ton





More information about the interchange-users mailing list