Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2009-07-29 08:00:33

bnetz
Member
Registered: 2009-07-17
Posts: 11

article-list in navigation: how to remove limitation to 10 entries?

hi all,

when i choose a section in my navigation the articles of the section are shown – but it’s only 10. i want that all are shown in the navigation. code is:

<txp:section_list class="navigationslinks" default_title='<txp:text item="home" />' include_default="1" wraptag="ul" break="li">
<txp:if_section name='<txp:section />'>&raquo;</txp:if_section>
<txp:section link="1" title="1" /><txp:if_section name='<txp:section />'><txp:article_custom  section='<txp:section />' wraptag="ul" break="li">
					<txp:if_article_id>&rsaquo;</txp:if_article_id>
					<txp:permlink><txp:title /></txp:permlink>
				</txp:article_custom>
			</txp:if_section>
		</txp:section_list>

i assume that i just have to add a parameter somewhere, but i don’t find any solution.

would appreciate help very much – thanks in advance!

Last edited by bnetz (2009-07-29 08:20:30)

Offline

#2 2009-07-29 10:22:56

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,091
Website GitHub Mastodon Twitter

Re: article-list in navigation: how to remove limitation to 10 entries?

Hi bnetz

try

<txp:section_list class="navigationslinks" default_title='<txp:text item="home" />' include_default="1" wraptag="ul" break="li">
<txp:if_section name='<txp:section />'>&raquo;</txp:if_section>
<txp:section link="1" title="1" /><txp:if_section name='<txp:section />'><txp:article_custom  section='<txp:section />' wraptag="ul" break="li" limit="9999">
					<txp:if_article_id>&rsaquo;</txp:if_article_id>
					<txp:permlink><txp:title /></txp:permlink>
				</txp:article_custom>
			</txp:if_section>
		</txp:section_list>

Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#3 2009-07-29 10:38:08

bnetz
Member
Registered: 2009-07-17
Posts: 11

Re: article-list in navigation: how to remove limitation to 10 entries?

hey colak, this was exactly what i needed: the right position to insert a “limit=…”-parameter.

it works – thank you very much!

Offline

Board footer

Powered by FluxBB