2011-03-30, 21:22:10
Hello everybody,
first of all i realy enjoy to work with GetSimple but I miss a way to add external links to the navigation. Any possibilities? Because at the moment I solved it with a hack in the theme_functions.php
and edited the page.xml manually. But every time I want to change the url or edit the "link-title" I had to use an ftp-client.
Thanks for ideas and ways to solve it.
Cheers
Dani
first of all i realy enjoy to work with GetSimple but I miss a way to add external links to the navigation. Any possibilities? Because at the moment I solved it with a hack in the theme_functions.php
Code:
$menu .= '<li class="'. $classes .'">';
if(strpos($page['url'],"http://")===false){
$menu .= '<a href="'. find_url($page['url'],$page['parent']) . '" title="'. strip_quotes($page['title']) .'">';
}else{
$menu .= '<a href="'.$page['url']. '" title="'. strip_quotes($page['title']) .'">';
}
$menu .= $page['menu'].'</a></li>'."\n";
and edited the page.xml manually. But every time I want to change the url or edit the "link-title" I had to use an ftp-client.
Thanks for ideas and ways to solve it.
Cheers
Dani