Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#61 2006-09-01 06:13:30
- mstwntd
- Member
- From: Melbourne, Australia
- Registered: 2004-12-25
- Posts: 52
Re: rsx_page_number
It appears to work just fine on my end, ragger.
Offline
Re: rsx_page_number
<txp:rsx_page_number_nav />
doesn’t work in 4.0.4.
tag_error
<txp:rsx_page_number_nav newer=">>" older="<<" /> ->
Warning: array_keys() [function.array-keys]: The first argument should be an array on line 581
Last edited by jm (2006-10-22 08:41:59)
Offline
Re: rsx_page_number
So has this plugin been abandoned? If so, can someone takeover?
Offline
Re: rsx_page_number
Yeah, we’d be thankful if this was updated for 4.0.4. :)
Offline
Re: rsx_page_number
It’s my plugin. I haven’t updated it in a while, mostly because I don’t actually use it. I’m fine with anyone else fixing it if they care to. I’ll try and get it working with 4.0.4 tonight if possible; I wasn’t aware it was broken.
Offline
Re: rsx_page_number
Offline
Re: rsx_page_number
<txp:rsx_page_number_list> produce NOT valid xhtml, it seems “&” is not skipped with & any hint how to solve this? Im not a coding guru :)
(I’m using rsx_page_number_v4.0, the updated version)
Thanks in advance!
Offline
#68 2008-09-19 17:18:36
- Logoleptic
- Plugin Author
- From: Kansas, USA
- Registered: 2004-02-29
- Posts: 482
Re: rsx_page_number
I’ve only had one problem with this plugin — it displays page-to-page navigation even when there is only one page of articles. To fix this, I added the following conditional statement to the rsx_page_number_nav
and rsx_page_number_list
functions, right after the global variable declaration in each:
if ( $thispage['numPages'] == 1 ) {
return;
}
With that condition in place, the tags don’t output the page-to-page navigation when there aren’t any additional pages to justify it.
Offline
#69 2008-09-19 17:28:11
- Logoleptic
- Plugin Author
- From: Kansas, USA
- Registered: 2004-02-29
- Posts: 482
Re: rsx_page_number
sipke wrote:
<txp:rsx_page_number_list> produce NOT valid xhtml, it seems “&” is not skipped with & any hint how to solve this? Im not a coding guru :)
(I’m using rsx_page_number_v4.0, the updated version)
Go to the Plugin tab in Textpattern, and click the “Edit” link to the right of rsx_page_number. Copy and paste the plugin’s code into another file and save it as a backup, just in case you make any mistakes that break the plugin.
Now scroll down through the code and find the following section:
// hold on to current context (from $thispage)
$url = ($s != '') ? '&s='.$s : '';
$url .= ($c != '') ? '&c='.$c : '';
Change it so that it says this instead:
// hold on to current context (from $thispage)
$url = ($s != '') ? '&s='.$s : '';
$url .= ($c != '') ? '&c='.$c : '';
That should solve your problem.
Offline
#70 2008-09-24 07:43:35
- roelof
- Member
- Registered: 2005-03-27
- Posts: 647
Re: rsx_page_number
Hello,
I have one question.
This plugin makes now for my site url’s like this : http://test.tamarawobben.nl/?pg=3&s=default&c=zwangerschap
But for this site it must be something like this : http://test.tamarawobben.nl/?pg=3&c=zwangerschap&month=”2005-03”.
Can this be done with this plugin ?
Regards,
Roelof
Offline