Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#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

#62 2006-10-22 08:39:37

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

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

#63 2007-04-07 22:39:06

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

Re: rsx_page_number

So has this plugin been abandoned? If so, can someone takeover?

Offline

#64 2007-04-10 16:29:10

paperboy
Member
From: Gothenburg, SE
Registered: 2006-01-24
Posts: 30
Website

Re: rsx_page_number

Yeah, we’d be thankful if this was updated for 4.0.4. :)

Offline

#65 2007-04-10 19:37:45

ramanan
Plugin Author
From: Toronto
Registered: 2004-03-12
Posts: 323
Website

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

#66 2007-10-20 18:43:08

ramanan
Plugin Author
From: Toronto
Registered: 2004-03-12
Posts: 323
Website

Offline

#67 2008-04-22 15:24:33

sipke
Member
From: In a Galaxy far far away...
Registered: 2004-06-15
Posts: 16
Website

Re: rsx_page_number

<txp:rsx_page_number_list> produce NOT valid xhtml, it seems “&” is not skipped with &amp; 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 &amp; 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 != '') ? '&amp;s='.$s : '';
$url .= ($c != '') ? '&amp;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

Board footer

Powered by FluxBB