dani
Junior Member
Posts: 6
Joined: Dec 2010
|
External links in navigation
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
|
|
|
|
polyfragmented
Senior Member
Posts: 524
Joined: Mar 2011
|
External links in navigation
Yeah, that would be nice.
Cheers, Thorsten
→ Deutsche GetSimple-Website mit Anleitungen sowie Tipps und Tricks
|
|
|
|
RobA
Senior Member
Posts: 272
Joined: Oct 2010
|
|
|
|
mvlcek
Posting Freak
Posts: 1,741
Joined: Jan 2011
|
External links in navigation
The I18N plugin now supports external links, see here.
I18N, I18N Search, I18N Gallery, I18N Special Pages - essential plugins for multi-language sites.
|
|
|
|
homershines
Member
Posts: 89
Joined: Oct 2009
|
RE: External links in navigation
(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
|
|
|
|