|
|
Older Story Display
Posted under General by Dylan on Saturday February 24 2001 @ 10:16AM EST
|
One of the setups I have for phpweblog has no summaries and only displays two stories per page (they tend ot be fairly long) however I want to have more available in the Older block (10 for example).
Currently the SQL is limited to the same as the current story limit, this should be something you can set.
$sql .= sprintf("LIMIT %s,%s",$CONF["LimitNews"],$CONF["LimitNews"]);
$CONF["Older"] should be an integer rather than a boolean 0 or 1, it should be a number of items (in the same way that summary is length or 0 to disable.
Then the limit can be:
$CONF["LimitNews"], $CONF["Older"]
|
|
|
|
|
|
|