insert Slogin to joomla core

More
8 months 1 week ago - 8 months 1 week ago #6221 by hamid chamanchi
hamid chamanchi created the topic: insert Slogin to joomla core
Hi, i know that its possible to add and call slogin module to user login module,
but i need to insert slogin above the user login page in login menu or any time component is showing to user for login.
can you help me how to do this?
Last Edit: 8 months 1 week ago by hamid chamanchi.

Please Log in or Create an account to join the conversation.

More
8 months 1 week ago - 8 months 1 week ago #6222 by Joomline Support
Joomline Support replied the topic: insert Slogin to joomla core
Hi
You can add the item to the output module in any Joomla extensions, like so:
<?php
$pos = "slogin";
$modules =& JModuleHelper::getModules($pos);
foreach ($modules as $module){
echo JModuleHelper::renderModule($module);
}
?>
In the settings module to enter the position "slogin".
Last Edit: 8 months 1 week ago by Joomline Support.
The following user(s) said Thank You: hamid chamanchi

Please Log in or Create an account to join the conversation.

More
7 months 4 weeks ago #6290 by hamid chamanchi
hamid chamanchi replied the topic: insert Slogin to joomla core
Also I found a solution to put any module inside the component by this code:
<?php echo JHTML::_('content.prepare', '{loadposition login}'); ?>
you just need to edit and replace the module position name which is for me the "login"

Please Log in or Create an account to join the conversation.

email: This email address is being protected from spambots. You need JavaScript enabled to view it.

© 2010-2017 JoomLine
The Joomla!® name is used under a limited license from Open Source Matters in the United States and other countries. joomline.org is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.