wutekk Posted September 6, 2013 Share Posted September 6, 2013 Hello I wonder if someone could help me. I'm preparing website for company which I work for. The website based on PrestaShop. At the moment we are not interested in online shop ( this might change in future ) so I bought from Presta shop this module: http://addons.prestashop.com/en/front-office-features-prestashop-modules/3725-ask-for-a-quote-module-for-prestashop-devis.html It's great! But I wish to move the "submit quote" from bottom of page to right top corner of website where used to be "cart" button. Anyone can help me with this? This is the actual project: http://www.designthing.co.uk/clients/timage/ Link to comment Share on other sites More sharing options...
vekia Posted September 6, 2013 Share Posted September 6, 2013 where you want to move it exactly? here? Link to comment Share on other sites More sharing options...
wutekk Posted September 6, 2013 Author Share Posted September 6, 2013 Thank you for reply. This is actually where is should be. What I need to move is this: https://www.dropbox.com/s/cw38ug34yzify9t/quote.png Link to comment Share on other sites More sharing options...
vekia Posted September 6, 2013 Share Posted September 6, 2013 ok, it's clear now. so in this case you will have to transplant this module to the "displayTop" section. then you will need to change its position (move module to the top of the list) all of this you can do it in the modules > positions tab. but i don't know this module, i suppose that you will need also to modify the .php file to support this position. if so, you will see message about that while you will "transplat" module to new hook. Link to comment Share on other sites More sharing options...
wutekk Posted September 6, 2013 Author Share Posted September 6, 2013 I can't see the way to move it in the administration panel. Until website will not be moved for my server I don't have access to ftp so I have to wait till next week to try to edit the php file. Link to comment Share on other sites More sharing options...
vekia Posted September 6, 2013 Share Posted September 6, 2013 go to the modules > positions tab you should have there green "Transplant button" this is feature for "moving" modules to new positions Link to comment Share on other sites More sharing options...
wutekk Posted September 6, 2013 Author Share Posted September 6, 2013 Got a message says "This module cannot be transplanted to this hook." Any Idea? Link to comment Share on other sites More sharing options...
vekia Posted September 6, 2013 Share Posted September 6, 2013 so in this case, in module .php file you will have to create the function hookdisplayTop() to handle new position, there is no other way to achieve what you expect then You will be able to transplant module to new position. Link to comment Share on other sites More sharing options...
wutekk Posted September 6, 2013 Author Share Posted September 6, 2013 Ok, is there any way to access files using administration panel? Or only FTP? Link to comment Share on other sites More sharing options...
vekia Posted September 6, 2013 Share Posted September 6, 2013 unfortunately you can't edit file from back office. Have you got an access to webhosting control panel? sometimes there is a tool for manage files on FTP Link to comment Share on other sites More sharing options...
seanloo Posted September 8, 2013 Share Posted September 8, 2013 Add hookTop function in this file: root > modules > askforaquote > askforaquote.php Example:- public function hookTop($params) { global $smarty, $cookie; ... ... ... // The script should be same as hookFooter function. return $this->display(__FILE__, 'yourtemplatefile.tpl'); // maybe you have to modify TPL-file } Link to comment Share on other sites More sharing options...
seanloo Posted September 8, 2013 Share Posted September 8, 2013 Hello I wonder if someone could help me. I'm preparing website for company which I work for. The website based on PrestaShop. At the moment we are not interested in online shop ( this might change in future ) so I bought from Presta shop this module: http://addons.prestashop.com/en/front-office-features-prestashop-modules/3725-ask-for-a-quote-module-for-prestashop-devis.html It's great! But I wish to move the "submit quote" from bottom of page to right top corner of website where used to be "cart" button. Anyone can help me with this? This is the actual project: http://www.designthing.co.uk/clients/timage/ Due to user-friendly factor, maybe you should consider add "Ask for a quote" button in product LIST too (not product PAGE only). Link to comment Share on other sites More sharing options...
wutekk Posted September 18, 2013 Author Share Posted September 18, 2013 Ok I got access to ftp now so I can edit files. What do I have to edit now? Also I had few quotes already but non of them came for my email address. How can I set up some kind of notification about new quotes? Regards Link to comment Share on other sites More sharing options...
Presta FABRIQUE Posted February 12, 2014 Share Posted February 12, 2014 Hi there This module is built by us, and you should have contacted us right away as you had issues using Addons "Contact developer" option, or by the ways stated in the attached readme_en.txt file. If you still have issues with the module, please get back to us here, or via mail. Regards! 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