PDA

View Full Version : pagination not working properly


MartinEgan
08-05-07, 17:02
Hi,

I have integrated the Shop Window tools into my site at

http://208.112.25.104/index.php (still waiting for domain to transfer)

and everything seems to be working fine apart from the pagination on the search results page. The links seem to be wrong and I can't for the life of me see why.

Can anyone advise me where these links are generated and what might be causing this problem so that I can edit the code to work properly?

I am not very good at php and could use some help making the neccesary mods.

Thanks

Confuscius
08-05-07, 18:14
/cgi-php/phpwrapper?q=help&c=0&iListOffset=10 - this is the link construct being generated for the techies to investigate!

I do not have any wrappers on any of my sites but I am sure some others here way have. Sorry that I cannot help further.

Wait to see if the same issue exists once your domain resolves - you never know!

Paul

MartinEgan
08-05-07, 22:28
Thanks for your reply...I have now fixed my problem by hard coding the links to my category.php file and that seems to have done the trick.

I made the change in includes/elements/nav_product_list.php

$sCurrentPage= 'http://'.$_SERVER['HTTP_HOST'].$_SERVER['SCRIPT_NAME'];

and changed it to:

$sCurrentPage= 'http://www.mydomain.com/category.php';

Just thought i'd let other members know.

Thanks