How To Disable Elements

Sometimes you need to disable few core elements from your template or extensions. Create a file name quix.php inside templates/YOUR_TEMPLATE/quix directory and use this code below to disable any elements you want.

    quix()->disableElements(['button', 'image']);

Provide element slug in disableElements function. Replace YOUR_TEMPLATE with your current active template name.

User can always enable any of your disabled element from Element Manager. If you disable an element that already used on some pages, the element will work as it is. It will only effect when someone try to add a new element.

If you disable any elements from template/extensions that already enabled/disabled by user before, disableElements will not have any effect on that elements.

Joomla SEO Service

Grow rapidly with our Joomla SEO service done by the veterans

With over 12 years of business and a vast array of Joomla templates and extensions, we know Joomla SEO better than anyone you could possiblly hire.

Improve my ranking
On This Page