Sun Oct 18 2009, 04:38PM
3rd level menu items show as 'submenu.Parent.Text', the prefix and parent text are not getting stripped.

My quick fix for this in fs_links.php is to cahnge the else at line 224 in the submnenu loop to this
} else {
   if(substr($bla['link_name'],0,8) == "submenu.") {
      $tmp = explode(".",$bla['link_name']);
      $subname = $tmp[2];
   } else {
      $subname = $bla['link_name'];
   }
   $text .= "<li>".adnav_main($subname, $bla['link_url'], null, $bla['link_open']).'</li>';
}


Works for me but not tested with even more levels or checked if this is the best place to do this.
Back to top
Mon Oct 19 2009, 12:54PM
Need to review the whole code in fs_sitelinks. Thanks for the report.
Back to top
Moderators: SonicE, veskoto, SecretR, Stoewarius, steved, McFly, Cameron, yanniiwanow
Syndicate this thread: rss 0.92 Syndicate this thread: rss 2.0 Syndicate this thread: RDF

Jump:     Back to top