1 (edited by 2013-06-15 10:24:18)

Topic: Problem with pagination

Hello in the index of my website i use:

<?php
$template = "article_temp";            
$number = "10";
$PHP_SELF = "article.php";
include("c/show_news.php");
?>

When i click to go on page two, the URL becomes article.php?start_from=10 but i want it was index.php?start_from=10

Can someone help me?

Re: Problem with pagination

Remove the bold line with $PHP_SELF.

If you want full story links to go to another page, I'd suggest setting up a new template and using something like

[url=article.php?subaction=showfull&article={article-id}]Read more[/url]

Posts: 2

Pages 1

You must login or register to post a reply

CutePHP Forums → Problem Solving / Help & Support → Problem with pagination