[ic] more list

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


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.

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