insert Slogin to joomla core

Больше
8 года 4 мес. назад - 8 года 4 мес. назад #6221 от hamid chamanchi
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?
Последнее редактирование: 8 года 4 мес. назад пользователем hamid chamanchi.

Пожалуйста Войти или Регистрация, чтобы присоединиться к беседе.

Больше
8 года 4 мес. назад - 8 года 4 мес. назад #6222 от JoomLine
JoomLine ответил в теме 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".
Последнее редактирование: 8 года 4 мес. назад пользователем JoomLine.
Спасибо сказали: hamid chamanchi

Пожалуйста Войти или Регистрация, чтобы присоединиться к беседе.

Больше
8 года 4 мес. назад #6290 от hamid chamanchi
hamid chamanchi ответил в теме 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"

Пожалуйста Войти или Регистрация, чтобы присоединиться к беседе.

Работает на Kunena форум

Последнее с форума

    • newitsallaboutblogs
    • You ought to be especially cautious approximately your weight loss program at some stage in a cough. Meat that seems to don't have anything to do with coughing might also genuinely reason the more you...
    • в Component / JL TV
    • bing
    • One crisp autumn afternoon, while playing near the house, Emma noticed something shiny half-buried in the dirt. She dug it up and found an old, ornate key with intricate designs. Excited, she...
    • в Component / Afisha Joomla
© 2010- JoomLine
The Joomla!® name is used under a limited license from Open Source Matters in the United States and other countries. joomline.net is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

email: sale@joomline.ru