Hi everyone
I have built a custom login page for my elgg site using elgg_view_form('login'); I am also using third party login through HybridAuth plugin (https://elgg.org/plugins/1314997).
My login form works perfectly but third third party login icon are not displayed on my login form. But following string is displayed 'or connect with' but no icon for social media providers user the string or connect with'. When I disable my custom login form everything works perfectly.
Could someone help me to know what's wrong with my process ?
Best regard
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- Nikolai Shcherbin@rivervanrain
Nikolai Shcherbin - 0 likes
- Hermand Pessek@rheman
Hermand Pessek - 0 likes
index.php
- Nikolai Shcherbin@rivervanrain
Nikolai Shcherbin - 0 likes
- Hermand Pessek@rheman
Hermand Pessek - 0 likes
- Hermand Pessek@rheman
Hermand Pessek - 0 likes
- Nikolai Shcherbin@rivervanrain
Nikolai Shcherbin - 0 likes
- Hermand Pessek@rheman
Hermand Pessek - 0 likes
- Nikolai Shcherbin@rivervanrain
Nikolai Shcherbin - 0 likes
You must log in to post replies.We can not help you without the code of your custom login form
I have built a simple plugin and my source code looks as followed.
start.php l
<?php if (elgg_is_logged_in()) { forward ('activity'); } ?> <!DOCTYPE HTML> <html> <head>
Best regard
</html>
and
This is a wrong code.
Look at this example that calls this page which displays a new page's type included this element.
You can override last example element added your existing template with CSS etc (don't forget about PHP syntax and path-to-your-assets rewrited with Elgg -- see above example code).
P.S.: code from 2015 and requires the refactoring. But it's works very well with latest Elgg.
thanks a lot
I still have some troubles. I css view cannot be loaded and I dont know why. I did the following
start.php
The I have created my css view in mod/pessek/views/default/css/pessek/core.php
But My CSS view is not loaded. I dont know what's wrong with my code
Best regard
Instead of
Try
Still not working... I dont know what's wrong
1. Your CSS file must be to locate in mod/pessek/views/default/css/pessek/core.php
2. Move your plugin at the bottom on Plugins page
3. Flush the caches