Jiten rash (away) Posted August 30, 2013 Share Posted August 30, 2013 here is the contact form http://www.prestashop.com/forums/topic/245513-free-module-slide-contact-form/ unable to add custom field any one any idea Link to comment Share on other sites More sharing options...
Jiten rash (away) Posted August 30, 2013 Author Share Posted August 30, 2013 (edited) it only has a tpl file from were its adding fields <!--start med_contactable --> <script type="text/javascript"> $(function(){ldelim} $('#med_contactable').contactable({ldelim} url: '{$module_dir}mail.php?id_lang={$cart->id_lang}', name: '{l s='Name' mod='med_contactable' js=1}', email: '{l s='Email' mod='med_contactable' js=1}', message : '{l s='Your order' mod='med_contactable' js=1}', subject : '{l s='A Feedback Message From:' mod='med_contactable' js=1} '+location.href, submit : '{l s='SEND' mod='med_contactable' js=1}', recievedMsg : '{l s='Thank you for your order' mod='med_contactable' js=1}', notRecievedMsg : '{l s='Sorry but your order could not be sent now, try again later' mod='med_contactable' js=1}', disclaimer: '{l s='' mod='med_contactable' js=1}', {rdelim}); {rdelim}); </script> <div id="med_contactable"></div> <!--end med_contactable --> but id fields added here doesnt works.... may be its getting fields from include(dirname(__FILE__).'/../../config/config.inc.php'); include(dirname(__FILE__).'/../../init.php'); //declare our assets $name = stripcslashes(Tools::getValue('name')); $emailAddr = stripcslashes(Tools::getValue('email')); $comment = stripcslashes(Tools::getValue('message')); $subject = stripcslashes(Tools::getValue('subject')); $to = Configuration::get('PS_SHOP_EMAIL'); $id_lang = Tools::getValue('id_lang'); $contactMessage = Edited August 30, 2013 by Jiten rash (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted August 30, 2013 Share Posted August 30, 2013 this is jquery plugin definition, the plugin name is: contactable https://github.com/philipbeel/contactable Link to comment Share on other sites More sharing options...
Jiten rash (away) Posted August 30, 2013 Author Share Posted August 30, 2013 ok i need to add phone no..customer id location..how on that module Link to comment Share on other sites More sharing options...
Jiten rash (away) Posted August 30, 2013 Author Share Posted August 30, 2013 ??? the developer of that module has hanged himself http://www.prestashop.com/forums/user/167-jeckyl/ Link to comment Share on other sites More sharing options...
vekia Posted August 30, 2013 Share Posted August 30, 2013 he is still here : @Mediacom87 Link to comment Share on other sites More sharing options...
Jiten rash (away) Posted August 30, 2013 Author Share Posted August 30, 2013 ok i got some thing better http://www.mrova.com/beautiful-free-sliding-feedback-form/ 1 Link to comment Share on other sites More sharing options...
vekia Posted August 30, 2013 Share Posted August 30, 2013 yea pretty cool feedback plugin Link to comment Share on other sites More sharing options...
Jiten rash (away) Posted August 30, 2013 Author Share Posted August 30, 2013 k i will create that and show u Link to comment Share on other sites More sharing options...
Jiten rash (away) Posted August 31, 2013 Author Share Posted August 31, 2013 hey vekia see the form it animates a lot may be its conflicting with other scripts i really had to touble shoot a lot with alignment .toggleClick(function(){ $mrova_feedback.animate({'right':'-2px'},1000); }, function(){ $mrova_feedback.animate({'right':'-'+$mrova_feedback.outerWidth()},1000); }); Link to comment Share on other sites More sharing options...
Jiten rash (away) Posted August 31, 2013 Author Share Posted August 31, 2013 ok fixed by my self..adding inline javascript..and overlap issue by z-index Link to comment Share on other sites More sharing options...
nagavarma Posted July 7, 2015 Share Posted July 7, 2015 how to add new field in module 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