Buy Now
Sign in

Update multiple rows with custom toolbar button

megana , September 19 at 20:54
m
megana

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!

admin

Hi megana,

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

Best regards,
Max

Max
If your main question got answered then please mark the answer using the button!

m
megana

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.

admin

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
If your main question got answered then please mark the answer using the button!