Header-logo Created with Sketch.
JoomlaShine users move to Quix and grab up to 80% discounts!
💡 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