ZenphotoCMS Forum
menu_manager.php & shortenContent() - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: menu_manager.php & shortenContent() (/thread-8017.html)



menu_manager.php & shortenContent() - micheall - 2010-12-30

The truncate on menu_manager functions great and follows the option input in the back-end, however there is no indication that it shortened the title.

So looking at menu_manager I notice it uses the shortenContent() function so I added the shorten indicator, but it still doesn't reflect any differently.

My current code in menu_manager.php:
`

$limit = getOption('menu_manager_truncate_string');

if ($limit) {

    $array['title'] = shortenContent($array['title'],$limit,'...');

}

`

Yet me menus are still coming up truncated without any indicator.