How to create UserAlbum controller link in J! module
|
pjohnson
Joined: 2009-08-09
Posts: 2 |
Posted: Mon, 2009-08-10 14:23
|
|
I would like to put a link on my Joomla home page that brings the user to their album to upload photos. If the user album has been created, I have a URL that goes to the Add Items page of the user's album. If the user album has not been created, I am trying to generate a link to the useralbum.UserAlbum controller, but I keep getting Athorization failures, because I suspect I am not getting the session authtoken set up properly. I am using the code:
$text = $urlGenerator->generateUrl(array('controller'=>'useralbum.UserAlbum'),
array( 'forceFullUrl'=>true,
'forceSessionId'=>false, // Also tried true, but no luck
'htmlEntities'=>false ) );
Thanks,
|
|
| Login or register to post comments |
