Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#16 2006-03-24 02:40:51

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Paging and search results

Oh wait, they moved the search stuff, I keep forgetting that. Sorry.

publish.php, line 479: global $pretext, $prefs, $txpcfg;. Right after that add $q = urldecode($q);

Offline

#17 2006-03-24 05:25:39

mikkeX
Archived Plugin Author
Registered: 2004-02-26
Posts: 74

Re: Paging and search results

Almost – now I get page two of the reults. But page three does not work the url becomes:
http://etc.se/?pg=3&q=johan%252Behrenberg

Offline

#18 2006-03-25 06:59:55

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Paging and search results

It looks like the paging tags themselves also have problems. Now open up /publish/taghandlers.php, and find the “older” function, starting on line 648.

Find the line that starts: $url = pagelinkurl(ar… (667)

and after it insert: $url = urldecode($url);

Offline

#19 2006-03-25 07:06:26

mikkeX
Archived Plugin Author
Registered: 2004-02-26
Posts: 74

Re: Paging and search results

Yes! Thank you Mary, that did it.

Offline

#20 2006-03-25 07:36:57

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Paging and search results

Okay great, off to make a patch. :)

(Edit: you’ll likely need to do the same for the “newer” tag too.)

Last edited by Mary (2006-03-25 07:41:13)

Offline

Board footer

Powered by FluxBB