maryam206 Posted April 17, 2012 Share Posted April 17, 2012 hi how to remove your account from header and welcome login i will post picture to see what i mean any help will be appercatied Link to comment Share on other sites More sharing options...
jhnstcks Posted April 17, 2012 Share Posted April 17, 2012 Uninstall the blockuserinfo module Link to comment Share on other sites More sharing options...
maryam206 Posted April 18, 2012 Author Share Posted April 18, 2012 thanks but i have a problem when i remove it i will post 2 pic to see what i mean first pic before i remove the moudle and second pic look what happend to the header when i remove the moudle and here is the problem see what happend to the header ,how can i slove this problem Link to comment Share on other sites More sharing options...
hxd Posted April 19, 2012 Share Posted April 19, 2012 You can do this by commenting out some code in the blockuserinfo.tpl file. You can find the file in the root PrestaShop folder /modules/blockuserinfo/blockuserinfo.tpl. The code that you need to comment out is at the end of the file and looks like this: <li id="your_account"><a href="{$link->getPageLink('my-account.php', true)}" title="{l s='Your Account' mod='blockuserinfo'}">{l s='Your Account' mod='blockuserinfo'}</a></li> To comment it out just put an exclamation mark and two hyphens after the first bracket for the string of code (e.g. <!--li), and two hyphens before the last bracket (e.g. li-->) To be able to see the changes that you make to template files on the frontend of your store you also have to enable the Force Compile option. You can enable it from the back office (Preferences tab>Performances sub-tab). When you're done don't forget to disable it because it slows down your site significantly. Hope this helps. Link to comment Share on other sites More sharing options...
hijabgal Posted December 20, 2012 Share Posted December 20, 2012 I have a related problem.. for some reason, my template doesnt have this 'your account' in the header.. and I want to put that in. But when I add in the line <li id="your_account"><a href="{$link->getPageLink('my-account.php', true)}" title="{l s='Your Account' mod='blockuserinfo'}">{l s='Your Account' mod='blockuserinfo'}</a></li> its not the right position. Ive tried changing padding and all, but no difference. Can someone tell me where and what I should change? I want this to be in between 'Welcome' and 'currency'. Thanks in advance... www.mumshearts.com 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