Need Help Redirecting a link to return URL - Joomla! Forum - community, help and support


i have component have given link users edit profile. have given link default user profile , have linked return url shown below:-

code: select all

<?php
            $redirecturl = jroute::_("index.php?option=com_example&view=profile&userid=".$user[0]->id);
            $redirecturl = urlencode(base64_encode($redirecturl)); 
            $redirecturl = '&return='.$redirecturl;
            ?>
 <a href=<?php $reguser = & jfactory::getuser();
 echo jroute::_('index.php?option=com_users&view=profile&layout=edit&itemid='.$reguser->id); ?><?php echo $redirecturl;?>">edit profile</a>


but doesn't seem work. code in view->tmpl->default.php of custom profile page. missing right unable troubleshoot it.






Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

PProHeadless.exe has stopped working error when opening projects in Adobe Media Encoder CS6

Preconditions Failed. - Joomla! Forum - community, help and support