Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: rsx_page_number
Ramanan,
your script is realy usefull, but it has “bug”.
Ok, it`s not realy a bug, but it´s confusing me a little.
The problem is, if you use the tag <code>rsx_page_number_nav</code> from this script, the navigation points into the wrong direction. The link to older entries is on the left, the link to newer entries is on the right. For me it`s not logic because when I read a weblog, I go from “newer” to “older” not from “older” to “newer” entries.
So, I´ve changed it a little (you can <a href=“http://www.blog.control-o.de/code/rsx_page_number_changed.zip”>download it here</a>). The left navi points now to the newer articles and the right navi to the older ones.
I hope it`s ok that I`ve changed it this way !?
Josh
“Remember the times when sex was safer than skydiving”
Offline
Re: rsx_page_number
Change it however ever you want. Don’t worry. I think I had a reason for doing the navigation the way I did.
Offline
Re: rsx_page_number
Outstanding.
Works like a charm.
Offline
Re: rsx_page_number
I can get this working for my default page, but not for any other pages. Anyone know of a fix to get it to work on other pages? Thanks.
Offline
Re: rsx_page_number
I’ve gotten it to work on other pages by using the plugin chh_article_custom to call my articles rather than the txp:article_custom tag. I don’t know why it doesn’t work with just article_custom. My code is:
<code><div id=“page_list”>
Page <txp:rsx_page_number /> of <txp:rsx_last_page_num /><br />
<txp:newer>« Previous Page</txp:newer>
<txp:older>Next Page »</txp:older>
</div>
<txp:chh_article_custom section=“photo” limit=“12” listform=“gallery” />
</code>
Offline
Re: rsx_page_number
windowSize doesn’t seem to be working for me
Refresh Dallas and other Refreshing Cities.
Offline
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