1 (edited by 2012-04-06 11:43:33)

Topic: Problem with category going to pagination links

I have a website with various categories, but when a visitor in a specific category page click on the page 2-3-4-etc, he see the page 2 of the homepage (with all the categories) not the page 2 of that specific category.

So, in the index.php i use this code

if(isset($_GET['p']) && file_exists($_GET['p'].'.php')){

in the home.php i use this code

<?php $number = "10"; 

The link for the category is like that

[url=http://cutephp.com/forum/index.php?category=33]Category 33[/url]

I have already find this topic http://cutephp.com/forum/index.php?showtopic=42476 but i dont have understand if i must only use the code

if(!isset($_REQUEST['subaction']) || empty($_REQUEST['subaction']))
   $category = "3";

or if i have also reinstall cutenews setting specific parameters.

Re: Problem with category going to pagination links

in shows.inc.php or functions.inc.php you probably have one or more (as this is the default code of CN 1.4.6, i guess it's still the case in 1.4.7)
replacing all with $_SERVER['QUERY_STRING']

should solve the problem