Loading...
 
Features / Usability

Features / Usability


Re : Adding page description to tiki-listpages

posts: 1092

THis time , I do some testing - sorry.
the description is not return from the database.
So if you are working with 1.9 cvs. I just did the change. So update.
Otherwise you have to change lib/tikilib.php , function list_pages

Image
Copy to clipboard
$query = "select `creator` ,`pageName`, `hits`, `page_size` as `len`, `lastModif`, `user`, `ip`, `comment`, `version`, `flag` "; into $query = "select `creator` ,`pageName`, `hits`, `page_size` as `len`, `lastModif`, `user`, `ip`, `comment`, `version`, `flag` , `description`"; and before $ret[] = $aux; you have to add $aux["description"] = $res["description"];


sylvie

There are no comments at this time.