white page after contact us
Hi, today i noticed an issue.
On every product i have the "Contact us for more information".
I you click on it , fill the form and click on "OK" you have a White page... stop
The mails are sent fine.
Just a link to have a test:
www.lacasettabio.it/en/negozio-online/sa...duct/contact/cid-171
my site with Hikashop
www.lacasettabio.it
Please Log in or Create an account to join the conversation.
- Posts: 12953
- Thank you received: 1778
The problem is probably coming from your SEF module, can you put it off and try it again ?
Please Log in or Create an account to join the conversation.
i tried but it does not work.
Any other tips ?
my site with Hikashop
www.lacasettabio.it
Please Log in or Create an account to join the conversation.
The problem is in your view.
The input hidden "tmpl" does not have any value. We patched HikaShop 2.2.3 to not display it like that.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
The code I wrote where in which file ..?
<? php if (JRequest :: getVar ('tmpl','') == 'component') {?>
<input type="hidden" name="tmpl" value="component" />
<? php}?>
so I can check.
thanks
Marco
Please Log in or Create an account to join the conversation.
could you tell me where have i to put your code please?
I tried to update newly the hikashop 2.2.3 version also.
But i have the same issue
my site with Hikashop
www.lacasettabio.it
Please Log in or Create an account to join the conversation.
It is the view "product | contact".
You can override the view or modify the file "components/com_hikashop/views/product/tmpl/contact.php".
Please check if you don't have a view override before editing the core file. Otherwise it won't have any effect.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
I imagine that was that. In fact, I had tried it Yesterday, but it does not work.
So i've tried to change the final part of the code from that:
What do you think about that solution? Is it correct?
my site with Hikashop
www.lacasettabio.it
Please Log in or Create an account to join the conversation.
You have to replace:
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
yes, now it works fine. Thanl you, Jerome.
So for the other user (Narciso) the final code is:
my site with Hikashop
www.lacasettabio.it
Please Log in or Create an account to join the conversation.
The line allow the contact form to be in a popup.
I prepared the feature some time ago and I should put the final step of the feature in the next release.
So, you would have an option to say that the contact button in the product page will change the page or open a popup.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
I'd like to suggest a user check to have a copy of his mail also.
My best regards
my site with Hikashop
www.lacasettabio.it
Please Log in or Create an account to join the conversation.
Into which module/area do i place the code and also, what is the final code to be added/changed? A before and after is always super helpful. Thanks for some great support.
Kurt
Please Log in or Create an account to join the conversation.
All is saidJerome wrote: Hi,
It is the view "product | contact".
You can override the view or modify the file "components/com_hikashop/views/product/tmpl/contact.php".
Please check if you don't have a view override before editing the core file. Otherwise it won't have any effect.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Like I said, we patched our HikaShop 2.2.3 so it means that it will be include in the next packages.Jerome wrote: We patched HikaShop 2.2.3 to not display it like that.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.