CalcBuilder Forum

change position button delete add record in section

Usuario bsnline 2015-07-06 10:59:17

Hi,
"button delete" and "button add record" in the section, for change position layout from fixed to customized , how should I proceed ?
Thank you

Moonsoft support 2015-07-06 12:48:12

Hi,
button 'add' of the section is inside a div with class btn-group
and repeated sections (together with 'del' button for each one) are inside divs with id=sec_ext_xxx being xxx the id of the section. This can help you to add some styles, but in order to modify the layout position of the elements of the module you must customize the source code of the extension. We follow joomla mvc, so you will find front-end layout at JOOMLA\modules\mod_calcbuilder\tmpl\user.php

Relevant code which creates sections starts about line 540. We suggest to use layout override instead of modifying the original source code. Here official information about this :


https://docs.joomla.org/Understanding_Output_Overrides

Sections:
Component Output Types and Layout Overrides
Module Layout Overrides


Hope this helps, regards

...
Support/development 40 hours

With the peace of mind of having a professional team at your service (20% discount)

Buy now!
...
CalcBuilder

Create dynamic calculators

Buy now!