Re: [Jason] Category page shows just 5 records...
hum it doesn.t work...
i've added this code
<?php header('Content-type: text/html; charset=utf-8'); ?>
<?php
// load viewer library
$libraryPath = 'cmsAdmin/lib/viewer_functions.php';
$dirsToCheck = array('/home/calciorosanero/www/','','../','../../','../../../');
foreach ($dirsToCheck as $dir) { if (@include_once("$dir$libraryPath")) { break; }}
if (!function_exists('getRecords')) { die("Couldn't load viewer library, check filepath in sourcecode."); }
// load records
list($newsRecords, $newsMetaData) = getRecords(array(
'tableName' => 'news',
'debugSql' => true,
));
?>
in
http://calciorosanero.com/news/index.php