thilip.xandy Posted January 24, 2014 Share Posted January 24, 2014 Hi: I'm creating new module which similar to feedback. The problem is that, I want to place the link is customer dashboard which should not override the existing available link in current links available in dashboard. And also the link need to connect with the form which is part of the same module. Kindly please tell me how to create the same. Thanks in advance. Link to comment Share on other sites More sharing options...
NemoPS Posted January 24, 2014 Share Posted January 24, 2014 You can do 2 things: 1- edit my-account.tpl and manually adding the link 2- in your module hook to displayMyAccount I'd go for the second one 1 Link to comment Share on other sites More sharing options...
thilip.xandy Posted January 24, 2014 Author Share Posted January 24, 2014 Hi nemo, Thanks for your reply, after placing this is customer dashboard I want to link to form how to do that. Thanks in advance nemo. Link to comment Share on other sites More sharing options...
NemoPS Posted January 24, 2014 Share Posted January 24, 2014 Well it depends, where is the form located? 1 Link to comment Share on other sites More sharing options...
thilip.xandy Posted January 24, 2014 Author Share Posted January 24, 2014 Hi Nemo, the form is created with the same module only which we placing the link. Link to comment Share on other sites More sharing options...
vekia Posted January 24, 2014 Share Posted January 24, 2014 so this form that you've got is a module front controller? what name? Link to comment Share on other sites More sharing options...
thilip.xandy Posted January 24, 2014 Author Share Posted January 24, 2014 @vekia displayForm() ; Link to comment Share on other sites More sharing options...
thilip.xandy Posted January 24, 2014 Author Share Posted January 24, 2014 sorry vekia the module front controller name is adWithUs. Link to comment Share on other sites More sharing options...
NemoPS Posted January 24, 2014 Share Posted January 24, 2014 In this case use {$link->getModuleLink('modulename', 'adWithUs')} Link to comment Share on other sites More sharing options...
vekia Posted January 24, 2014 Share Posted January 24, 2014 exactly :-) With this link you will be able to "load" controller like other pages in your store generally speaking, it's easy to achieve, as far as i know (remember) in official docs you've got detailed guide related to creating own module front controller and link to it. http://doc.prestashop.com/display/PS15/Creating+a+PrestaShop+module 1 Link to comment Share on other sites More sharing options...
thilip.xandy Posted January 24, 2014 Author Share Posted January 24, 2014 hi Vekia thanks for your reply, I hope this will help for me in module creation. Thanks a lot. I gone over with the link provided, as a child to prestashop it is quite little bit difficult to understand that documentataion. There is any some other detailed documentation about the module creation. Thanks in advance. Link to comment Share on other sites More sharing options...
Recommended Posts