Jump to content

Prestashop logout link


Recommended Posts

Hello all,

I am using PS 1.5.6.1 ,in this i am not using blockuserinfo module because i am using custom theme so i am unable to logout.

 

I am using this link for logout

 

{$link->getPageLink('index', true, NULL, "mylogout")|escape:'html'}

 

But this is not working

 

 

Please help me

 

Thanks.

Link to comment
Share on other sites

I mean that when i use this link

 

{$link->getPageLink('index', true, NULL, "mylogout")|escape:'html'}

 

then it redirects me to the same page and as i said i am not using blockuserinfo module (this module is disabled)

 

so now please tell me how to logout from my site

 

Thanks.

Link to comment
Share on other sites

 

did you try with this

<a href="{$link->getPageLink('index', true, NULL, "mymymodule")|escape:'html'}" title="{l s='Log me out' mod='mymymodule'}" class="logout" rel="nofollow">{l s='Log out' mod='mymodule'}</a>

 

I have tried this link but this is also not working.

 

I write blockpermenentlinks module name in place of mymymodule because my logout link in on that module.

 

Thanks.

Link to comment
Share on other sites

×
×
  • Create New...