Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#109 2011-04-02 02:29:49
Re: soo_page_numbers: page counting and navigation widgets
Oops! I forgot you explained it to me in this very thread. ;)
Offline
#110 2011-04-04 17:59:21
Re: soo_page_numbers: page counting and navigation widgets
Hi Guys,
Thanks for your help with this but I just can’t get it to work, I don’t think I’m quite getting under the skin of this plug-in.
My page list form is thus:
<txp:if_article_list>
<txp:article_custom allowoverride="0" form="article+listing_news" limit="1" pgonly="0" section="news" sort="Posted desc" status="4" />
</txp:if_article_list>
The article part of my article+listing form is:
<div class="fullWidthArticle">
<txp:if_first_article>
<txp:article form="article_post" limit="3" />
</txp:if_first_article>
<txp:if_article_list>
<txp:article_custom allowoverride="0" form="article_post" limit="2" offset="1" pgonly="0" section="news" sort="Posted desc" status="4" />
<txp:soo_page_links />
</txp:if_article_list>
</div><!-- end fullWidthArticle -->
I need the page links to appear at the bottom of the page, at the moment it’s in the right place but still displaying a link for every article rather the pages containing lists of articles. No matter where I move the <txp:soo_page_links />
I can’t get to behave as I’d like!
Any further help would be really appreciated.
Offline
#111 2011-04-05 21:26:19
Re: soo_page_numbers: page counting and navigation widgets
I don’t understand what you’re trying to achieve — the links on the page you link to above look correct, pointing to URLs such as http://www.conwaytennis.co.uk/news?pg=2
. Why are you using article_custom
?
Code is topiary
Offline
#112 2011-04-05 22:59:08
Re: soo_page_numbers: page counting and navigation widgets
Hi Jeff,
Sorry, maybe I’m not explaining myself very well.
What I’m trying to achieve is have page links rather than article links. Taking the news page, I currently have 5 news articles and I have 3 news articles per page.The links are being generated for each article – 1 2 3 4 5
. But what I really want is paginate each page (list of 3 articles) so there should only be two links 1 2
. Hope that makes sense.
I’ve used article_custom
to create the list, but I guess I could use the simpler article
tag – would this help?
Offline
#113 2011-04-06 00:43:10
Re: soo_page_numbers: page counting and navigation widgets
The choice of article
vs. article_custom
isn’t one of fewer or more features. article_custom
is for when you want a particular set of articles, regardless of the URL. So, going from http://www.conwaytennis.co.uk/news
to http://www.conwaytennis.co.uk/news?pg=2
won’t change the output of article_custom
. The usual Txp term for this behavior is that article_custom
is not context-sensitive.
Sounds like all you need is a single article
tag.
Code is topiary
Offline
#114 2011-04-06 07:33:17
Re: soo_page_numbers: page counting and navigation widgets
Aah, the penny drops, I was making it far more complicated than it needed to be! That’s working fine now Jeff, thank you for all your help and patience.
Offline
#115 2011-08-12 00:39:50
- progre55
- Member
- Registered: 2006-05-02
- Posts: 668
Re: soo_page_numbers: page counting and navigation widgets
jsoo:
I am using the following tutorial for my current project to handle search results – and it worked like a charm. Ten search results displayed on the first page. My problem is that when I try to go to page 2 (…/search/2/) or any page down the line —- it kicks me to the generic article list found in the default article form. Initally, I thought it may have something to do with <txp:newer>/<txp:older> tags, but I get the same results when using your plug in.
Any guidance or feedback would be greatly appreciated.
UPDATE:
Although I was unable to get the above to work, I was able to accomplish the same capability by resorting to using the traditional search set up and soo_page_numbers plugin
progre55
Last edited by progre55 (2011-08-12 01:44:15)
Offline
#116 2011-10-25 07:24:19
Re: soo_page_numbers: page counting and navigation widgets
Hi
sorry I´m a woman and I need help ;-)
I used this code
<txp:soo_page_count format="{prev}" />
<txp:soo_page_links />
<txp:soo_page_count format="{next}" />
I habe 2 sections: blog only 2 Sides + fotos fotos with 26 Sides
I want that all pages are listed on my blog (28 Sides)
Where do I change the code!
Offline
#117 2011-12-05 07:15:58
Re: soo_page_numbers: page counting and navigation widgets
Is this a bug?!
on this site
http://su-mu.de/index.php?s=blog&c=rezepte
category recipes (2 sites), the first site ist correctly, but then klick on the second Link
http://su-mu.de/index.php?s=blog&%3Bc=rezepte&%3Bpg=2&pg=2
This is NOT the second category recipes
What kann I do?
Last edited by SuMu (2011-12-06 03:31:30)
Offline
#118 2011-12-05 19:37:07
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,311
Re: soo_page_numbers: page counting and navigation widgets
When you alter the URL manually, the result is OK. What’s your tag for these pagination links?
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
#119 2011-12-06 03:30:47
Re: soo_page_numbers: page counting and navigation widgets
Hi Uli
<txp:soo_page_count format="{prev}" />
<txp:soo_page_links />
<txp:soo_page_count format="{next}" />
Offline
#120 2011-12-20 01:54:58
Re: soo_page_numbers: page counting and navigation widgets
Huhu
someone has a solution?
Offline