insert Slogin to joomla core

More
9 years 6 months ago - 9 years 6 months ago #6221 by 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?
Last edit: 9 years 6 months ago by hamid chamanchi.

Please Log in to join the conversation.

More
9 years 6 months ago - 9 years 6 months ago #6222 by JoomLine
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: 9 years 6 months ago by JoomLine.
The following user(s) said Thank You: hamid chamanchi

Please Log in to join the conversation.

More
9 years 6 months ago #6290 by hamid chamanchi
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 to join the conversation.

Powered by Kunena Forum

Last from the forum

    • Как на кнопку Сбросить фильтр повесить Ajax?
    • Чтобы применить фильр нажимаем Применить фильтр и срабатывает Ajax изменеия на странице. Но чтобы сбросить фильтр, нужно сперва нажать Сбросить фильтр и потом повторно нажть Применить фильтр. Логичее было бы сделать при нажатии Сбросить фильтр, чтобы срабатывал сброс фильтра и Ajax. Как это сделать, не поможете?
    • In Modules Joomline / JL Content Fields Filter
    • JL Like 5.3.0. Очень редко срабатывает кнопка pint...
    • Давно пользуюсь JL Like, лет 8-10, с кнопкой pinterest проблем не было, кроме новой версии JL Like 5.3.0: сейчас при 9 запросах из 10, система пишет:Произошла ошибка JSON.parse: unexpected character at line 1 column 1 of the JSON dataДругие кнопки, например AddToAny pinterest – работаю на 100%.Можно сделать патч и поправить кнопкой pinterest в JL Like 5.3.0!?
    • In Plugins Joomline / JL Like / JL Like PRO
    • Не работает авторизация через ВК в Slogin
    • Добрый день. После недавнего обновления API перестала работать авторизация через ВК. Я создал новое приложение здесь id.vk.com/about/business/go/accounts/294204/apps но пишет "Выбранный способ авторизации не доступен для приложения. Попробуйте позже или обратитесь к администратору приложения" Можно как-то решить проблему?
    • In Component / Slogin
© 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: This email address is being protected from spambots. You need JavaScript enabled to view it.