- Posts: 69
- Thank you received: 1
ask question form do not works
11 years 8 months ago - 11 years 8 months ago #188090
by babaei
ask question form do not works was created by babaei
-- url of the page with the problem -- :
www.instrucenter.com/en/product/product/contact/cid-1469
-- HikaShop version -- : 2.3.5
-- Joomla version -- : 2.5
-- Browser(s) name and version -- : FireFox
hello
when i fill ask question form for a product and press ok button , nothing happen.
Please open this link and try to send a question:
www.instrucenter.com/en/product/product/contact/cid-1469
befor updating to 2.3.5 I had no problem
-- HikaShop version -- : 2.3.5
-- Joomla version -- : 2.5
-- Browser(s) name and version -- : FireFox
hello
when i fill ask question form for a product and press ok button , nothing happen.
Please open this link and try to send a question:
www.instrucenter.com/en/product/product/contact/cid-1469
befor updating to 2.3.5 I had no problem
Last edit: 11 years 8 months ago by babaei.
Please Log in or Create an account to join the conversation.
11 years 8 months ago #188100
by nicolas
Replied by nicolas on topic ask question form do not works
Hi,
It indeed happened with the update but it comes from something else.
The issue is that the hikashop.js file is removed from the HTML header of your pages and that should not be done.
I don't know if it's something you removed yourself, or if you have an extension (or your template) removing that javascript file, but it is necessary for any page displaying HikaShop.
Before the contact page didn't need it but now that the contact page supports custom fields, a javascript error will happen if that javascript file is missing and that's why the contact form doesn't work.
So you need to either fix or disable the extension causing the issue.
Try to switch temporarily your joomla template with the default one of Joomla and see if you still have the problem. If not, then it's a problem with the template and you should contact your template provider.
Otherwise, try the same procedure with each system plugin.
It indeed happened with the update but it comes from something else.
The issue is that the hikashop.js file is removed from the HTML header of your pages and that should not be done.
I don't know if it's something you removed yourself, or if you have an extension (or your template) removing that javascript file, but it is necessary for any page displaying HikaShop.
Before the contact page didn't need it but now that the contact page supports custom fields, a javascript error will happen if that javascript file is missing and that's why the contact form doesn't work.
So you need to either fix or disable the extension causing the issue.
Try to switch temporarily your joomla template with the default one of Joomla and see if you still have the problem. If not, then it's a problem with the template and you should contact your template provider.
Otherwise, try the same procedure with each system plugin.
Please Log in or Create an account to join the conversation.
11 years 8 months ago #188152
by babaei
Replied by babaei on topic ask question form do not works
Hello and thanks for your help.
yes you are right. I changed the template and problem fixed.
But i designed template myself. but when i installed this template i had no problem.
I think the second template i checked and works, do not load some modules that cause this problem. so i unpublished the modules in contact form one by one in my designed template . but problem not fixed. so i think the problem is my template. but i dont know how to fix it. please help me.
yes you are right. I changed the template and problem fixed.
But i designed template myself. but when i installed this template i had no problem.
I think the second template i checked and works, do not load some modules that cause this problem. so i unpublished the modules in contact form one by one in my designed template . but problem not fixed. so i think the problem is my template. but i dont know how to fix it. please help me.
Please Log in or Create an account to join the conversation.
11 years 8 months ago #188179
by Xavier
Replied by Xavier on topic ask question form do not works
Hi,
You can potentially edit your main template file and include manually the file hikashop.js.
With tag like:
You can potentially edit your main template file and include manually the file hikashop.js.
With tag like:
Code:
<script src="/media/com_hikashop/js/hikashop.js" type="text/javascript"></script>
Please Log in or Create an account to join the conversation.
11 years 8 months ago #188259
by babaei
Thanks Xavier. I add the code and it works
Replied by babaei on topic ask question form do not works
Xavier wrote: Hi,
You can potentially edit your main template file and include manually the file hikashop.js.
With tag like:Code:<script src="/media/com_hikashop/js/hikashop.js" type="text/javascript"></script>
Thanks Xavier. I add the code and it works
Please Log in or Create an account to join the conversation.
Time to create page: 0.172 seconds