Guest Posted November 24, 2013 Share Posted November 24, 2013 (edited) Hey guys, I'm looking for a way to create a custom link to my account/sign in..is there a simple way to achieve this? Thanks in advance! eggo Edited November 27, 2013 by Guest (see edit history) Link to comment Share on other sites More sharing options...
PascalVG Posted November 25, 2013 Share Posted November 25, 2013 Where do you want to place it ? And in a link, or a button or so? What Prestashop version do you use? pascal Link to comment Share on other sites More sharing options...
vekia Posted November 25, 2013 Share Posted November 25, 2013 you can do it in many ways, with simple html code <a href="URL TO PAGE">This is my button</a> and html box or content box, or with template files modification, where you can use {$link} object to generate url automatically. please answer for Pascal questions, then you will get brilliant solution Link to comment Share on other sites More sharing options...
Guest Posted November 25, 2013 Share Posted November 25, 2013 Hey Pascal and vekia, Thanks for the responses. I am using the most recent version of Prestashop. I am looking to use a simple a href..but I think I would need it to change dynamically based on if the user is logged in or not right? eggo Link to comment Share on other sites More sharing options...
vekia Posted November 26, 2013 Share Posted November 26, 2013 html box free has got option to display block for logged/unlogged users if you don't want to use modules, just use simple code {if $logged} LOGGED TEXT {else} UNLOGGED TEXT {/if} Link to comment Share on other sites More sharing options...
Guest Posted November 27, 2013 Share Posted November 27, 2013 Hey vekia, That worked perfectly. Thank you sir. eggo Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now