Page 1 of 1

Link a module to a component , not to a menu item.

Posted: Thu Nov 29, 2007 7:18 am
by zian974
Hello,

I wrote a component and a module.
I would like to bind this module to this component and not to a link of a menu. I can modify the function  &_load of the file libraries/joomla/application/module/helper.php but I don't want to modify the heart of jommla.

Thanks

Re: Link a module to a component , not to a menu item.

Posted: Thu Nov 29, 2007 11:40 am
by zian974
I think that I found the solution.
In fact, I didn't want to put the Itemid parameter manually in my URL (which i wrote in my component) to display the module when I call the component.
By using JRoute::_($link, false), I think i solved my problem.