Days
Hours
Minutes
Seconds
Year’s Biggest Sale is here! Exclusive and limited time BF/Cyber Monday Sale 50% OFF.
qxio-ios-color-wand-outline Grab The Deal
💡 Quix Course
Enroll to our comprehensive Quix course here

Custom Element Path

Extension developers can create elements for their extension direct inside the extension folder. By default, Quix listen its own elements folder and active template's folder.

Register Element Path

if ( file_exists( JPATH_LIBRARY . "/quix/app/bootstrap.php" ) ) {
    quix()->getElementsBag()->fill( YOUR_EXTENSION_PATH . "/elements", YOUR_EXTENSION_URL . "/elements" );
}

You have to provide your extension's element path and url. Replace YOUR_EXTENSION_PATH with extension's file path and YOUR_EXTENSION_URL with extension's url.

On This Page