Aide et support, annonces, thèmes et plugins, discussions.
Vous n'êtes pas identifié.
Hi,
In "submit link" page category part is too long. Some categories have 3-4 main categories. So, they are very long.
How can i publish categories like that?
Main Category
- Sub Category
-- Sub sub category
- Second Sub category
...
I found them in include/common.php like that :
But, i can't change how i want. How can i do that?
function show_me_the_way($id)
{
global $lang;
$cm =& get_manager("category");
$title_chemin = '';
while ($id != 0)
{
$criteria = new Criteria("id",$id,'=');
$criteria->setLimit(1);
$cols = array('name','root');
$category =& $cm->get($id,$cols);
$id = $category->getVar('root');
$title_chemin = ' > '.$category->getVar('name').$title_chemin;
}
$title_chemin = $lang['home'].$title_chemin;
return $title_chemin;
}Hors ligne