$drawUrl = "index.php?option=com_chronoconnectivity5&cont=lists&ccname=CruiseAttendeeListMgr&act=edit";
$drawImage = $this->view->Assets->image('add', 'toolbar/');
echo $this->view->Toolbar->renderButton("add",$drawUrl,"Add Attendee",$drawImage);
I also use _EDIT_ to display an Edit link for each of the records.
Each one produces different HTML code:
_EDIT_ produces an <a> tag with this href value:
href="/joomla/index.php/home/manage-cruises?cont=lists&ccname=CruiseAttendeeListMgr&act=edit&gcb=456"
renderButton produces the following:
<button type="button" id="toolbar-button-add" data-url="index.php?option=com_chronoconnectivity5&cont=lists&ccname=CruiseAttendeeListMgr&act=edit" class="toolbar-button">Add Attendee</button>
The both obviously call the same CFv5 Form, but using different URLs. The front-end template uses a three column display configuration: Menu items on the left, the main article in the center and a stack of modules down the right-hand side.
The problem am having is that I have configured the CCv5 front-end display, using a hidden menu items, to not display the right-hand side modules. This works fine when clicking on the _EDIT_ generated link; the modules are hidden.
But when I click on the renderButton generated button, it displays the CFv5 form as expected in the center position, but all the should be hidden modules are present on the right-hand side.
I have created a hidden menu item for the CCv5 connection, and a separate one for the CFv5 form.
I swear this was working fine before I upgraded to Joomla! 3.5.x, but I cannot be certain.
What to I need to do to get the Add and Edit displays of the shared CFv5 form to both hide the right-han