简体   繁体   中英

Joomla login module in custom file

We have Joomla all setup and running, however the login module is not where we want it. The theme we are using had a built in "style panel", something that slides in and out on the right hand side of the page. We used this to display some user data, however it is not actually a defined position in the gantry framework.

Therefore, we are unable to assign the login module to this area... Does anyone know how to maybe call the elements from the module so they will display where we want it too and have the same functionality?

EDIT: http://demo.rockettheme.com/?template=voxel

The panel on the left side. We have editied that (php file) to display some info we want, however we'd also like the login box there.

You will need to iclude the files from the login module folder, therefore the following:

include (JURI::root() . "modules/mod_login/mod_login.php");

include (JURI::root() . "modules/mod_login/helper.php");

include (JURI::root() . "modules/mod_login/tmpl/default.php");

Once you have done this, let me know if it works and if not, I will update my answer accordingly.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM