Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#13 2004-08-28 12:30:15
- chumbacca
- New Member
- Registered: 2004-08-25
- Posts: 3
Re: [archived] hfw_pg: Paginated articles
I have a problem with this, as seen here (in Spanish, I’m afraid): the “next page” link on the first page will take me to “page 1” (but I’m already in page 1, of course).
I realize I must be doing something wrong. Anyone knows what that is?
Last edited by chumbacca (2004-08-28 12:30:37)
Offline
#14 2004-08-28 22:44:20
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: [archived] hfw_pg: Paginated articles
I don’t think you are doing something wrong, unless nimnix is doing the same. His next link is going to page 1 as well.
Offline
#15 2004-08-30 01:00:47
- chumbacca
- New Member
- Registered: 2004-08-25
- Posts: 3
Re: [archived] hfw_pg: Paginated articles
Wel, then we have a problem, don’t we?
Offline
#16 2004-09-01 13:29:04
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: [archived] hfw_pg: Paginated articles
Looks like DarkWulf has abandoned his plugin…?
I would like to learn the solution to chumbacca’s problem too!
Offline
#17 2004-11-17 10:50:06
- milkbox
- New Member
- Registered: 2004-03-11
- Posts: 4
Re: [archived] hfw_pg: Paginated articles
:: bump ::
has anyone found a solution yet? :)
Offline
#18 2004-12-22 07:41:17
- DarkWulf
- Archived Plugin Author
- Registered: 2004-06-19
- Posts: 4
Re: [archived] hfw_pg: Paginated articles
Oops. Sorry, I don’t come here very often…
I’ll try to get a fix sometime “soonish”. Sorry about the wait.
Offline
#19 2004-12-25 02:21:46
- DarkWulf
- Archived Plugin Author
- Registered: 2004-06-19
- Posts: 4
Re: [archived] hfw_pg: Paginated articles
Ok, sorry about the long lag here… Basically I rewrote chunks of textpattern’s publish.php, and one of the side effects was that my install initializes alot of variables, which normally weren’t.
Nuff said, heres the fix: HFW_PG_*
Last edited by DarkWulf (2004-12-25 02:22:45)
Offline
Re: [archived] hfw_pg: Paginated articles
I’ve already hacked my publish.php and I’m willing to hack it more for the sake of valid XHTML. So, please, release your hack.
VC3 :: weblog :: my wishlist
Offline
Re: [archived] hfw_pg: Paginated articles
For my own needs, I have created a fork of this plugin with the following advancements
- Outputs an unordered list suitable for styling
- Configurable links for start, previous, next and end.
- Added conditionals for first and last page.
- On clean URL mode, produces canonical URLs.
- Will work nicely together with the next version of zem_rewrite, or my hacked vesion of it.
- No more of the stupid
?pg=1
url suffix.
I will release it as soon as someone helps me find out a way so that valid XHTML isn’t broken as it is now.
Last edited by Etz Haim (2005-02-09 18:50:25)
VC3 :: weblog :: my wishlist
Offline
#22 2005-02-09 19:09:16
- Rufnex
- Archived Plugin Author
- From: Germany, Munich (Bavaria)
- Registered: 2004-06-23
- Posts: 51
Re: [archived] hfw_pg: Paginated articles
Sounds great .. do you have a url to see your script in action. so we can look for a valid xhtml ..
Offline
Re: [archived] hfw_pg: Paginated articles
Here you are: http://www.agitprop.gr/article/9/albanian-poetry
VC3 :: weblog :: my wishlist
Offline
Re: [archived] hfw_pg: Paginated articles
Two things that I can think of:
First, your DOCTYPE has one slight variation to the one that Top Style Pro gives me for XHTML trans and that’s the EN after XHTML 1.0 Transitional
This is the correct DOCTYPE
<code>
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
</code>
Second: you have an open <p>
element right before the unordered list of your pagination. That means, the validator considers the list to be inside the p which probably causes the error.
Last edited by andreas (2005-02-09 20:19:41)
Offline