You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 83 guest(s) and 1 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Adding new options, some work, some don't. [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
sarahk
Nuke Soldier
Nuke Soldier


Joined: Dec 01, 2003
Posts: 29

Location: Auckland, New Zealand

PostPosted: Mon Aug 09, 2004 4:51 pm Reply with quoteBack to top

I've just put googletap onto a site (much easier than last time I did it, well done on the improvements) and I'm having a problem with some custom code.

They've add a printer friendly view button which I have working and now I'm trying to get the pagination for the printer version working.

So this url has been fed through the generate_pagination function and come out as

modules.php?name=Forums&file=viewtopic&printertopic=1&t=1621&postdays=0&postorder=asc&start=0

In my GT_header file (I made it an include rather than adding header, safer) I have added to $urlin
Code:
"'(?<!/)modules.php\?name=Forums&file=viewtopic&printertopic=1&amp;t=([0-9]+)&amp;postdays=([0-9]+)&amp;postorder=asc&amp;start=([0-9]+)'",

and to $urlout
Code:
"forumprint-t\\1-\\2-s\\3.html",


but when I view the page, say: http://www.propertytalk.co.nz/forumprint-t1621-15-0.html the links for page 1 or previous are

http://www.propertytalk.co.nz/modules.php?name=Forums&file=viewtopic&printertopic=1&t=1621&postdays=0&postorder=asc&start=0

which works but given that GoogleTap is in there the url should be tapped too.

Just to see what pagination spits out I did a var_dump(strrev($pagination)) and got
Quote:
"b/<2>b< ,>a/<1>0=trats;pma&csa=redrotsop;pma&0=syadtsop;pma&1261=t;pma&1=cipotretnirp&cipotweiv=elif&smuroF=eman?php.seludom"=ferh a<;psbn&;psbn&>a/<suoiverP>"0=trats;pma&csa=redrotsop;pma&0=syadtsop;pma&1261=t;pma&1=cipotretnirp&cipotweiv=elif&smuroF=eman?php.seludom"=ferh a< egap otoG"

and this tells me that I have the code right, ie & and &amp; all in the right place.

Can anyone see where I've gone wrong?

Sarah

_________________
Sarah King
Property Management Software
Property in NZ
Auckland Tennis
Find all posts by sarahkView user's profileSend private messageVisit poster's websiteICQ Number
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.353 Seconds - 278 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::