1. Duane_Bryan
  2. Features Request
  3. Saturday, February 21 2015, 09:11 AM
I am not a coder not do i really understand beyond the basics.

Your module is incredible and has already helped greatly but I do not know how to edit the login module to display the details like yours.

If you could provide me with a step by step or I could provide with the details to investigate!

Thanks in advance
admin Accepted Answer
Admin
Hi,
sorry for late reply,it's weekend for us.

Login/logout modules: these modules are simple Custom HTML Modules.

Login Module
We have put in HTML this code:
<h5>Access to our site</h5>
<p><a class="logmein zocial" href="/sign-in.html*">Sign in</a></p>
<p><a class="guest zocial" href="/account.html**">Register Account</a></p>
<h5>Or use Social Network</h5>
<p>{socialconnect***}</p>


* You need to replace with your login page URL
** You need to replace with Registration URL
*** {socialconnect} will be replaced with Social Connect Buttons, docs at https://www.easy-profile.com/docs/24-social-connect.html

Logout Module
To render user data we use our Content Plugin (docs at https://www.easy-profile.com/docs/26-plugin-content.html)
We have put in HTML this code****:
<p style="text-align: center;">{user avatar_mini}</p>
<p style="text-align: center;">{user name}<br /><i class="icon icon-log-in"> </i> {user lastvisitdate}</p>
CODE TO RENDER SUBSCRIPTION STATUS
<hr />
<p style="text-align: center;"><a class="btn btn-default" href="/component/users/?task=user.logout&Itemid=542"><i class="icon icon-log-out"> </i> Logout</a></p>
<hr />
<p style="text-align: center;"><strong>Useful Links</strong></p>
<p style="text-align: center;"><a class="btn btn-xs btn-default" style="margin: 0 5px 5px;" href="/account/profile.html">Profile Page<br /></a><a class="btn btn-xs btn-default" style="margin: 0 5px 5px;" href="/account/edit-profile.html">Edit Profile<br /></a><a class="btn btn-xs btn-default" style="margin: 0 5px 5px;" href="/account/dashboard.html">Subscriptions<br /></a><a class="btn btn-xs btn-default" style="margin: 0 5px 5px;" href="/support.html">Support</a></p>

All buttons are simple links. Logout button has this link index.php?option=com_users&task=user.logout, normally this not work because Joomla check Tokens before do logout action, to do this we have edit a core Joomla file.

**** To trigger content plugins you need to enable "Prepare Content" paramter in module options
  1. more than a month ago
  2. Features Request
  3. # 1
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.
Sorry, the discussion is currently locked. You will not be able to post a reply at the moment.