Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#145 2017-03-10 18:40:33
Re: soo_page_numbers: page counting and navigation widgets
Hi Phil — I had just noticed that yesterday, and added the tags to my new plugin, soo_page_break. I’ll do likewise for the rest.
Last edited by jsoo (2017-03-10 18:40:45)
Code is topiary
Offline
#146 2017-03-11 13:32:54
Re: soo_page_numbers: page counting and navigation widgets
Jeff, the latest version appears to work perfectly. I have installed it on three sites and have found no issues yet. Not even on a site using the MLP plugin.
Thank you very much!
• Old Photos of Japan – Japan in the 1850s~1960s (100% txp)
• MeijiShowa – Stock photos of Japan in the 1850s~1960s (100% txp)
• JapaneseStreets.com – Japanese street fashion (mostly txp)
Offline
#147 2017-03-11 14:22:23
Re: soo_page_numbers: page counting and navigation widgets
Thanks Kjeld, very glad this worked for you. Unlike the old version there is no question of conflict with MLP, because the plugin does not touch $_SERVER['REQUEST_URI']
.
Code is topiary
Offline
#148 2018-01-30 21:43:43
Re: soo_page_numbers: page counting and navigation widgets
Strange behavior to report when it comes to search listings. I noticed this a while ago, but I only had a chance to play around with it today.
I have the following code:
<txp:if_search>
<txp:article
form="search_results"
searchsticky="1"/>
<nav>
<txp:soo_page_links
active_class="active"
break="li"
class="myclass"
wraptag="ul"/>
</nav>
</txp:if_search>
This works perfectly well for the most cases when I notice.
But when there are a LOT of search results, things start getting weird.
For example, I searched for “the” (without quotes) and got 54 pages of results according to the pagination links.
But when I click through to page 2, the pagination links disappear. I see search results on every page of results, but the pagination links only appear on the first page.
In another case, I searched for a term that gave me 24 pages of results according to the pagination links.
The pagination links appear on pages 1-4 as I expect. But when I click through to page 5, the pagination links appear for pages 1–4, and no others—as if the search yielded only 4 pages of results. But none of the links has the active class.
I was using soo_page_numbers v0.3.1 with soo_txp_obj v1.1.1, and I upgraded to v0.4.1 and I see the same behavior.
Beyond that, I’m not sure where to even start troubleshooting. Can you suggest any steps I could take to diagnose the problem?
Thank you!
Offline
#149 2020-03-09 15:01:29
Re: soo_page_numbers: page counting and navigation widgets
Notice
If you are using this plugin, before upgrading to Textpattern 4.8.0 be sure to upgrade the plugin to 0.4.2. Prior versions had an error that I hadn’t caught because it was harmless when running under earlier versions of Textpattern. But with Textpattern 4.8.0, an older version of the plugin will produce a fatal error on the public side, resulting in the dreaded white screen of death.
Apologies to anyone who was affected by this.
Code is topiary
Offline
#150 2020-03-09 15:49:48
Re: soo_page_numbers: page counting and navigation widgets
jsoo wrote #322108:
Notice
If you are using this plugin, before upgrading to Textpattern 4.8.0 be sure to upgrade the plugin to 0.4.2. Prior versions had an error that I hadn’t caught because it was harmless when running under earlier versions of Textpattern. But with Textpattern 4.8.0, an older version of the plugin will produce a fatal error on the public side, resulting in the dreaded white screen of death.
Apologies to anyone who was affected by this.
Thanks for the update and the heads up, Jeff!
Immediately installed the new version.
• Old Photos of Japan – Japan in the 1850s~1960s (100% txp)
• MeijiShowa – Stock photos of Japan in the 1850s~1960s (100% txp)
• JapaneseStreets.com – Japanese street fashion (mostly txp)
Offline