So I integrated my site with some joomla to get some extra pages and such for all the info about local music on my site. I would like to have a link that will take to to your elgg profile after log in. any ideas here. I tried the simpole way of copying the link location but got this
http://archaicradio.com/social/pg/profile/waylon
I am assuming that the "waylon" needs to be replaced with some sort of php thingy but it's beyond me. is there a simple link I could put in that will redirect a logged in user to their profile?
thanks
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.
- DhrupDeScoop@Dhrup2000
DhrupDeScoop - 0 likes
- harcha24@harcha24
harcha24 - 0 likes
- DhrupDeScoop@Dhrup2000
DhrupDeScoop - 0 likes
- harcha24@harcha24
harcha24 - 0 likes
- harcha24@harcha24
harcha24 - 0 likes
- harcha24@harcha24
harcha24 - 0 likes
You must log in to post replies.try login redirector.. might need small code tweaking
Good to hear from you dhrup
I will check it out this evening thank you
http://community.elgg.org/pg/plugins/jdalsem/read/163302/loginredirector
yepperz this will do exactly what you want ;-) have look..
Okay I see it I just don't get it. lol.
I want my user to be able to login to joomla. at which point a tab is now visibale that say your profile that will take them to their elgg profile. (the cmss are already synced so that they are logged in.) so I think my link needs to look something like this ???
http://archaicradio.com/elgg/profile/ some sort o php or %'s here calling what ever profile is logged in?
am I making this to difficult.... probably. but thanks for the help.
A ha so this is what I need to work with? ; )
<a href="<?php echo $_SESSION['user']->getURL(); ?>"><img class="user_mini_avatar" src="<?php echo $_SESSION['user']->getIcon('topbar'); ?>"></a>
would this be easier to use some sort of redirect once I'm inside elgg?