nunoprud Posted August 28, 2014 Share Posted August 28, 2014 I´m trying with a link in a blockmyaccountfooter.tpl for example, get the customer id and show the php page for him. After some search i tried {php} {/php} and also { } tags but no sucess. I have the version 1.6.0.8 of prestashop. Anybody have tried some similar thing? Regards, nunoprud Link to comment Share on other sites More sharing options...
vekia Posted August 29, 2014 Share Posted August 29, 2014 {php}{/php} arent accepted in prestashop anymore I´m trying with a link in a blockmyaccountfooter.tpl for example, get the customer id and show the php page for him. what you're trying to achieve? i don't understand well what you said above. you mean that you want to create link with customer id? link to where? Link to comment Share on other sites More sharing options...
nunoprud Posted August 29, 2014 Author Share Posted August 29, 2014 Hi vekia, I´m sorry for the 'spam', i read some theads in the forum and php tags not working . My objective is from the myaccount page (contains the links for orders, vouchers, personal information, ...), add another personal link based in the customer id. Mean while i read this link http://www.phpeveryday.com/articles/Smarty-Template-My-First-Smarty-P609.html and editing the MyAccountController.php i get the userid that i need You marked topic solved. Thanks for you time. Regards, Link to comment Share on other sites More sharing options...
vekia Posted August 30, 2014 Share Posted August 30, 2014 thank you for detailed explanation :-) i marked topic title as solved too thanks for link! with regards, Milos 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