Forums

Update multiple rows with custom toolbar button

megana 19 Sep, 2017
Hi there,

I'm using the latest version of CCv5 and am trying to create a custom action that will affect multiple rows at once. It sounds like this should be possible? I have the {_SELECTOR_} column working and I created a custom action called 'togprint' and set its permissions. In the action's code box, I just told it to print_r($_POST) for now.

The code for the toolbar button is:
echo $this->view->Toolbar->renderButton("button_togprint", "/index.php?option=com_chronoconnectivity5&cont=lists&act=togprint&ccname=employees2", "Mark as Print", "/libraries/cegcore/assets/images/toolbar/apply.png", "submit_selectors");

Yet when I select some rows and click the button, it just outputs an empty array. Why isn't it passing the selectors?

Thanks much!
Max_admin 20 Sep, 2017
Hi megana,

Any possibility to use v6 instead ? it has some demo connections, and is much more advanced than v5

Best regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
megana 20 Sep, 2017
Will CCv6 work with CFv5? I don't think we can convert all of our forms at this point, but we only have a few connections so migrating CC versions wouldn't be too bad.
Max_admin 29 Sep, 2017
Hi megana,

You can list the data from the v5 tables, but you can not call a v5 form in your CCv6 connection.

But if you have the latest v6 update of Chronoforms installed then you can use the v6 fields in your connection inside a form view.

Best 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.