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
#2
Yeah, that would be nice.
Reply
#3
There is a post on that here: http://get-simple.info/forum/topic/1246/...menu-item/

-Rob A>
Reply
#4
The I18N plugin now supports external links, see here.
I18N, I18N Search, I18N Gallery, I18N Special Pages - essential plugins for multi-language sites.
Reply
#5
(2011-04-03, 00:19:37)mvlcek Wrote: The I18N plugin now supports external links, see here.


I'm having some difficulty getting this right.
I followed the simple instructions for external links at:
http://mvlcek.bplaced.net/get-simple/mul...avigation/

But, I have done something wrong.

I need some help.

Thanks.

Homer
Reply




Users browsing this thread: 1 Guest(s)