List Manager Forum

Move Apply and Clear-buttons in filter mod from top to bottom

User bonnielass 2018-02-19 16:33:29

I want to move the buttons in the filter mod to the bottom of the module instead of the top. Do I need to override something?

Moonsoft support 2018-02-19 20:38:16

Hi,
the filter content is generated dynamically at this file:
components/com_listmanager/assets/js/listmanager.js

You can move buttons to the bottom removing the line which adds the buttoms at the top section (about line 1313)

//LMJQ(container).append(tools);

and insert it some lines below, about line 1370

if(isAnyFilter) LMJQ(container).append(filter);
// Tools at the bottom
LMJQ(container).append(tools);


Hope this helps

User bonnielass 2018-02-20 10:35:45

Thanks, that did the trick!

...
Support/development

Perfect for small code changes or to correct any bug at your site

Buy now!
...
Support/development 10 hours

Get a bigger amount of hours for more complex tasks and get a 10% discount

Buy now!