adding sub menu thru 'sys_menu_top'

Hi All,

Its urgent.


For my custom module, I am trying to add 'Match' and 'Search' link under main menu tab as sub menu. They will also be visible as sub tab under module (as it use to be for almost all modules). These links are as under 'People' tab.
I have tried doing it by adding in 'sys_menu_top' table with parent id as my module tab id.
e.g.

INSERT INTO `sys_menu_top` (`Parent`, `Name`, `Caption`, `Link`, `Order`, `Visible`, `Target`, `Onclick`, `Check`, `Editable`, `Deletable`, `Active`, `Type`, `Picture`, `BQuickLink`, `Statistics`)
VALUES ….
( @iTMParentId, 'Match', 'Match', 'search.php?show=match', 1, 'non,memb', '', '', '', 1, 1, 1, 'custom', 'bx_people.png',  0, '')

Once module is installed links under 'People' tab are also redirecting to tab on my module instead of its usual behavior.
What could be the possible resion? 
What else is needed to make it work properly?

Thanks in advance

Quote · 12 Mar 2010

Its urgent, let me know if any one have any idea.

Quote · 13 Mar 2010

Thing here is I am trying to create replica of sub-tab Match(Link:http://localhost/MySite/search.php?show=match) and Search(Link:http://localhost/MySite/search.php), located under People tab, in my Module
For that I have populated table sys_menu_top but all links are redirected to my module instead of their usual behavior of - when my module is not installed.

To get them work usual what else I need to care of. (u must have noticed page search.php involved)

Regards,

Quote · 15 Mar 2010

Hi All,

Or simply any one have any idea to get links to already existing pages ( or sub tabs under particular tab) in use under custom module, as sub tabs only.

Regards.

Quote · 19 Mar 2010

It seems recent entry from this table is effective

Quote · 25 Mar 2010
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.