Hi Max,
The form action for saving data in chronoconnectivity.html.php does not call JRoute. This means we lose the menu module context after the save. I replaced with:
This allows the redirects in chronoconnectivity.php to include Itemid but will need to now be:
We then get the correct modules displayed after the save.
I guess we will need a router.php to sort out SEF URLs for chronoconnectivity. I will have a go at this and post the code.
Dave
The form action for saving data in chronoconnectivity.html.php does not call JRoute. This means we lose the menu module context after the save. I replaced with:
<form action="<?php echo JRoute::_ ("index.php?option=com_chronoconnectivity&connectionname={$connection->name}&task=saverecord"); ?>" method="post" name="connectivity" <?php echo $paramsvalues->attformtag; ?> >
This allows the redirects in chronoconnectivity.php to include Itemid but will need to now be:
$mainframe->redirect( JRoute::_("index.php?option=com_chronoconnectivity&connectionname=".$connection->name,false) );
We then get the correct modules displayed after the save.
I guess we will need a router.php to sort out SEF URLs for chronoconnectivity. I will have a go at this and post the code.
Dave