[ic] more list

Ton Verhagen ton at verhagen.net
Fri Mar 26 15:48:48 UTC 2010


On Mar 26, 2010, at 16:40 PM, Stefan Hornburg (Racke) wrote:

> Ton Verhagen wrote:
>> 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.....
> 
> I switch to use my own paging routine. [more-list] templates are not flexible
> enough.

I tried the paging routine provided with wellwell, unfortunately this routine is a bit limited.
Just page numbers and a next link. No previous, decade, first, last links.

Also: matches and match-count are not being set.

Nice routine though ;)

Best,

Ton






More information about the interchange-users mailing list