Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
External links in navigation
#1
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
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
Reply


Messages In This Thread
External links in navigation - by dani - 2011-03-30, 21:22:10
External links in navigation - by polyfragmented - 2011-03-30, 22:48:12
External links in navigation - by RobA - 2011-03-31, 01:57:29
External links in navigation - by mvlcek - 2011-04-03, 00:19:37
RE: External links in navigation - by homershines - 2013-02-02, 12:29:37



Users browsing this thread: 1 Guest(s)