[ic] more list

Stefan Hornburg (Racke) racke at linuxia.de
Fri Mar 26 15:52:53 UTC 2010


Ton Verhagen wrote:
> 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.

Looks like I need to compare it to the projects I'm using it in. They got these enhancements
(OK, not decade that doesn't make much sense to me).

Regards
            Racke

-- 
LinuXia Systems => http://www.linuxia.de/
Expert Interchange Consulting and System Administration
ICDEVGROUP => http://www.icdevgroup.org/
Interchange Development Team




More information about the interchange-users mailing list