How to set $task in new menu items
Posted: Mon Sep 03, 2007 12:12 am
OK,
and another question more or less in the same direction:
I try to add a link to he main menu using the add menu item dialog. This link supposed to point to the create view of of my component xyz. The problem that I have that this link does say anything about the task my component is supposed to get onto.
example:
The link that looks like that:
index.php?option=com_xyz&view=xyzCreateLandingPage&layout=createLandingpage
what I expexted to see is
inex.php?option=com_xyz&view=xyzCreateLandingPage&layout=createLandingpage&task=createobject
Anyone any idea?
Thanks,
Uwe
and another question more or less in the same direction:
I try to add a link to he main menu using the add menu item dialog. This link supposed to point to the create view of of my component xyz. The problem that I have that this link does say anything about the task my component is supposed to get onto.
example:
The link that looks like that:
index.php?option=com_xyz&view=xyzCreateLandingPage&layout=createLandingpage
what I expexted to see is
inex.php?option=com_xyz&view=xyzCreateLandingPage&layout=createLandingpage&task=createobject
Anyone any idea?
Thanks,
Uwe