J!Extensions Store™
Faq Can i integrate the privacy policy checkbox if using modules instead of component views?

Can i integrate the privacy policy checkbox if using modules instead of component views?

Created on:Thursday, 03 May 2018 00:00

If you are using a Joomla! module to embed a form into your pages, for example from a third-party extension having a related module to display forms, you can't specify a view name for the component associated to that form and the standard integration could not be enough. Indeed a module may appear on any page of your website, based on menu assignments, so several components/views may be executed everytime that the module containing the form is displayed.
In this case you have not to specify the value 'com_xxx.viewname' of the component itself that generates the form, but the value 'com_xxx.viewname' of any component executed on each page in which the module including the form is displayed. You can specify multiple 'com_xxx.viewname' one per each line.
Let's say you have a Chronoforms module including a form shown in a Joomla! single article page, in this case you must specify in the parameter 'View name for custom components' the value 'com_content.article' that relates to the component and view used on that page.


gdpr cookie settings

As an alternative consider to use the 'dynamic checkbox' feature, in such case you can simply copy/paste the dynamic checkbox placeholder wherever you want for example in the contents rendered inside a module.