- Posts: 4
- Thank you received: 0
insert Slogin to joomla core
- Offline
- New Member
Less
More
9 years 10 months ago - 9 years 10 months ago #6221
by
insert Slogin to joomla core was created by
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?
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: 9 years 10 months ago by .
Please Log in to join the conversation.
- Offline
- Admin
Less
More
- Posts: 2227
- Thank you received: 188
9 years 10 months ago - 9 years 10 months ago #6222
by
Replied by on topic insert Slogin to joomla core
Hi
You can add the item to the output module in any Joomla extensions, like so:
In the settings module to enter the position "slogin".
You can add the item to the output module in any Joomla extensions, like so:
Code:
<?php
$pos = "slogin";
$modules =& JModuleHelper::getModules($pos);
foreach ($modules as $module){
echo JModuleHelper::renderModule($module);
}
?>
Last edit: 9 years 10 months ago by .
The following user(s) said Thank You:
Please Log in to join the conversation.
- Offline
- New Member
Less
More
- Posts: 4
- Thank you received: 0
9 years 10 months ago #6290
by
Replied by on 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"
<?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 to join the conversation.
Time to create page: 0.155 seconds