top menu navigation - Joomla! Forum - community, help and support


i'm working on template of site(adapted box rain cyan) , have problem on of items in top menu navigation.

the links defined in html of template this:

code: select all

 <!-- top menu - begin -->
<?php
   $database->setquery("select id, name, link #__menu menutype='mainmenu' , parent='0' , access<='$gid' , sublevel='0' , published='1' order ordering");
   $rows = $database->loadobjectlist();
   foreach($rows $row) {
      echo "<a class='topnavi' href='$row->link&itemid=$row->id'>$row->name</a>";
   }
?>
<!-- top menu - end -->


all links work fine exception of multimedia link bridged version of coppermine (link-url in mainmenu)

any idea how can fix this?

eta: deleted top menu , replaced new navigation through image splitting






Comments

Popular posts from this blog

Error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode - Raspberry Pi Forums

class MPU6050 has no member named begin

missing filename after '-o'