Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-01-01 22:12:17

jm
Plugin Author
From: Missoula, MT
Registered: 2005-11-27
Posts: 1,746
Website

Breaking the limit..in article lists

I have a sneaking suspicion that this has been covered, but my search didn’t turn up anything.

How do you list more than 10 articles (with <code><txp:article_list></code>)? After getting my photo site to work without plugins, I finally encountered a problem. I guess the limit for the number of articles in a list is 10, but I can’t figure out how to overcome it. Here’s what I have, starting from the page template to forms

deault page template
<code>

<txp:if_section name=“gallery”>
<txp:article form=“gallery” />
</txp:if_section>

</code>

Gallery form
<code>
<txp:if_article_list>
<div class=“thumbnail”><txp:permlink><txp:excerpt class=“thumb” /></txp:permlink></div>
<txp:else />
<div id=“image”><txp:article_image /></div>
<p id=“details”><txp:comments_invite showalways=“1” /></p>
<p id=“navigation”><txp:link_to_prev>&larr;</txp:link_to_prev>|
<txp:link_to_next>&rarr;</txp:link_to_next></p>
</txp:if_article_list>
</code>

article_custom didn’t work for me, but I probably did something wrong…

Offline

#2 2006-01-01 22:38:44

RenJonsin
Member
From: Tarpon Springs, FL USA
Registered: 2005-02-06
Posts: 103
Website

Re: Breaking the limit..in article lists

Check out the FAQ. I had to scan it a couple of times and I knew exactly what I was looking for.

http://textpattern.com/faq/75/how-do-i-change-the-number-of-articles-displayed

I don’t know if you meant it or not, but there isn’t a <code> <txp:article_list> </code> tag as far as I know. Since your code had the <code><txp:article></code> tag, I assumed that that was what you were using.

Last edited by RenJonsin (2006-01-01 22:42:24)

Offline

#3 2006-01-01 23:00:32

jm
Plugin Author
From: Missoula, MT
Registered: 2005-11-27
Posts: 1,746
Website

Re: Breaking the limit..in article lists

That did it! I had read the FAQ too, but I thought applying <code>limit</code> would mess up the single image, but it doesn’t! :) Thanks,
JM

Offline

Board footer

Powered by FluxBB