Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: rsx_page_number
I see. Well, unless you give me a few more details than that, I really can only guess at what could be wrong. Note, that all my plugins haven’t been tested against RC3, and may not work on the newer installs of Textpattern.
Offline
Re: rsx_page_number
Yea I am using RC3 rev385 and when I set windowSize to something say windowSize=“4” it disregards that and uses the default setting (whatever that is). So If I have 6 pages of articles it will show all 6 page links instead of 4. This is a great plugin and I thank you for your hard work.
Refresh Dallas and other Refreshing Cities.
Offline
Re: rsx_page_number
That is strange, I’m looking over the code and it looks like it should work. When you actually use the tag you aren’t using curly quotes when you supply the parameters right? Anyone else encounter this bug. I don’t think this is an RC3 bug, though I have been told the plugin format has changed a lot.
Offline
Re: rsx_page_number
This is how I use the tag:
<code>
<txp:if_article_list>
<txp:newer>« Newer</txp:newer> <txp:rsx_page_number_list delim=”“ windowSize=“4” /> <txp:older>Older »</txp:older>
</txp:if_article_list>
</code>
Refresh Dallas and other Refreshing Cities.
Offline
Re: rsx_page_number
No big deal but next time you update your plugin could you rename it from rsx_page_number, rsx_last_page_num, rsx_page_number_nav, rsx_pag to just rsx_page_number. I just takes so much space in the plugin screen as it is now.
Refresh Dallas and other Refreshing Cities.
Offline
#36 2005-06-08 20:30:06
- marios
- Archived Plugin Author

- Registered: 2005-03-12
- Posts: 1,253
Offline
Re: rsx_page_number
You can find control-o’s changes here
Refresh Dallas and other Refreshing Cities.
Offline
Re: rsx_page_number
According to a post by Alex in Trouble Shooting, in RC3, attribute names are converted to lowercase (not sure why). So $windowSize doesn’t exist as a variable, but the variable $windowsize$ does. If you want to fix this yourself, you can open the plugin up and change all the instances of $windowSize@ to $windowsize in the offending function. I will have to go through all my plugins and fix them for RC3. I have gotten really lazy recently when it comes to coding in my free time, so although I will fix this, I don’t know how soon. Sorry!
Offline
#39 2005-06-13 20:03:37
- els
- Moderator

- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: rsx_page_number
I suppose this is the same for all variables? $numPages, $windowStart etcetera? Are you sure it’s necessary to change it, because the plugin still works for me in RC3.
Offline
Re: rsx_page_number
Hm. I’m not sure if you need to change it, since I don’t have RC3 installed anymore. I have been meaning to install it locally so that I can verify my plugins still work and fix the ones that don’t.
Offline
#41 2005-06-22 18:39:16
- els
- Moderator

- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: rsx_page_number
Ramanan, I’ve been using your plugin for ages, and only now I noticed this: I’m using tcm_pluginlist that is outputting authors’ urls, and yours is pointing to funkasohi.com…
Offline
Re: rsx_page_number
This is sort of silly and if no one feels like figuring this out, I don’t mind.
But the XHTML validator says:
there is no attribute “newer”
there is no attribute “older”
element “txp:rsx_page_number_nav” undefined
And the CSS validator says:
The prefix “txp” for element “txp:rsx_page_number_nav” is not bound.
Any ideas?
Last edited by andreaparrish (2005-08-31 15:35:04)
Offline
Re: rsx_page_number
Sounds like txp isn’t parsing the tags you used. Make sure you are using them in the correct place. (page, form, article listing). Also, check to see if the rsx_page_number_nav is turned on in the plugins tab.
Refresh Dallas and other Refreshing Cities.
Offline
Re: rsx_page_number
It sounds like you aren’t processing the form properly. I’d agree with tiny fly there. I’ve also noticed some of my plugins have the wrong web address. Are people still having problems with this plugin? I can fix it shortly if so.
Offline
Re: rsx_page_number
This has been updated: The un-linked page number in the list generated by rsx_page_number_list is now wrapped in a span tag.
Offline