Forums

Frontend View link vs. menu item id links

bitsparki 02 Nov, 2012
hi...
From the 'frontend' view link in CC the url is:

host/index.php?option=com_chronoconnectivity&chronoconnection=Shows

This simply displays an autogenerated table where in the 'front end list settings' the linkable field is set so when one clicks on them the url is:

host/index.php?option=com_chronoconnectivity&chronoconnection=ShowletsFront&task=cc_list_data&cb=3

and it heads to the showletsFront CC nicely. This CC is customised and has an html button:

"<input type='submit' name='filter' id='filter' value='Filter' />"

When the button is pressed the url it returns to is:
host/index.php?option=com_chronoconnectivity&chronoconnection=ShowletsFront

All good.

With the code not changed and linking via menu item the urls become:
host/index.php?option=com_chronoconnectivity&view=connection&Itemid=113

then clicking on the linkable field of the autogenerated listing:
host/index.php?option=com_chronoconnectivity&view=connection&Itemid=113&task=cc_list_data&chronoconnection=ShowletsFront&cb=3

then when pressing the html button, one is returned to:
host/index.php?option=com_chronoconnectivity&view=connection&Itemid=113

which takes me back to the menu url and is not good!

My thought is to detect when the connection is accessed via a menu style url and convert it to a frontend style url...but I dont know if joomla will go into shock in some way.
Else somehow force the html button to direct to a particular url via surrounding the button with html form and action i.e.
"<form name = "input" action = "action.html" method = "POST">"

but I cant seem to get this to affect the url the browser is sent to after pressing the button.

Any ideas on how to fix/approach this would be much appreciated!
Max_admin 03 Nov, 2012
Hi,

Try to remove the Itemid param and value from this link:
option=com_chronoconnectivity&view=connection&Itemid=113&task=cc_list_data&chronoconnection=ShowletsFront&cb=3


Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.