where is gone my facebook and vote icones?

  • Posts: 719
  • Thank you received: 3
11 years 4 months ago #113631

Hi,
today i noticed that the facebook and vote on products are desappeared.
You can see on my screenshot.
If you need here the link to my site: www.lacasettabio.it/en/negozio-online/ag...nic-shallot-for-sale
Could you help me please?


my site with Hikashop
www.lacasettabio.it
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
11 years 4 months ago #113653

Hi

About the share button, please check your server/joomla configuration :

Script from origin 'null' has been blocked from loading by Cross-Origin Resource Sharing policy: Origin http://www.facebook.com is not allowed by Access-Control-Allow-Origin.
About the vote, I don't see which problem you're taking about.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 719
  • Thank you received: 3
11 years 4 months ago #113675

Hi Jerome,
thank you for your help.
About the facebook button i asked to my server provider sendig your error message report.

About the vote maybe i have a mistake, i don't remember well, but was there not written someting like vote or else?


my site with Hikashop
www.lacasettabio.it

Please Log in or Create an account to join the conversation.

  • Posts: 82868
  • Thank you received: 13377
  • MODERATOR
11 years 4 months ago #113739

It wasn't written as far as I remember. Bu you can add it if you want in the file "show_default", next to the code relative to votes.

Please Log in or Create an account to join the conversation.

  • Posts: 719
  • Thank you received: 3
11 years 4 months ago #113770

Ok, i'm wrong. excuse me.

I tried but i can't be able to save the customization file: when i click on save i have the frontend with an error 404 and the file is not changed


my site with Hikashop
www.lacasettabio.it

Please Log in or Create an account to join the conversation.

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
11 years 4 months ago #113807

Hi,

I don't understand what you're trying to do.
The view edition is in the backend.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 719
  • Thank you received: 3
11 years 4 months ago #113859

I go from my backend to Hikashop component and then click on "display" > "views"
I select the templated assigned for the frontend and then i click on "show_default".
I have a php code.
If i click on "save" i have a service page for the error 404 on the front-end.
I come back on the back-end and ceck the php file i saved and the code is not changed it is the old original code.


my site with Hikashop
www.lacasettabio.it

Please Log in or Create an account to join the conversation.

  • Posts: 2334
  • Thank you received: 403
11 years 4 months ago #113901

Hi there,

Do you have the last Hikashop version? It's 2.2.0.
If yes, please send us a backend access by PM so we'll be able to take a look at it.

Please Log in or Create an account to join the conversation.

  • Posts: 719
  • Thank you received: 3
11 years 4 months ago #113920

Hi,
no, the Hikashop system tell me that "You have the latest stable version : 2.1.3"
I'll look for the update on your site.
I'll tell you later


my site with Hikashop
www.lacasettabio.it

Please Log in or Create an account to join the conversation.

  • Posts: 719
  • Thank you received: 3
11 years 4 months ago #113945

So, i updated but there is any change.
So i send you your backend access by PM.
You can go to my test site where there is the same issue of my official site.


my site with Hikashop
www.lacasettabio.it

Please Log in or Create an account to join the conversation.

  • Posts: 82868
  • Thank you received: 13377
  • MODERATOR
11 years 4 months ago #114177

Hi,

I tried to save the view file on your backend and at the moment I clicked on save I couldn't access anymore the frontend and the backend.
I suspect there is something on your server like a firewall which scans requests and doesn't like that PHP code is passed in the parameters of the form (that's normal since we're editing a php file), and it banned me because of that.

The simplest will be to copy the file from the folder components/com_hikashop/views/product/tmpl/ to templates/YOUR_TEMPLATE/html/com_hikashop/product/ and do the modification directly in the copy of the file (that's what does the view edition system in fact).

Please Log in or Create an account to join the conversation.

  • Posts: 719
  • Thank you received: 3
11 years 4 months ago #114185

I tried via ftp by filezilla and it works.
But i tried to copy like you said me but i have not the com_hikashop folder in my template.
What can i do?
Can i create the new folder?


my site with Hikashop
www.lacasettabio.it
Last edit: 11 years 4 months ago by lacasetta.

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
11 years 4 months ago #114241

Hi,

Yes you can create that folder and add the php file inside.
This will override the view.

Please Log in or Create an account to join the conversation.

  • Posts: 719
  • Thank you received: 3
11 years 4 months ago #114713

Yes, it works!
Thanks


my site with Hikashop
www.lacasettabio.it

Please Log in or Create an account to join the conversation.

  • Posts: 719
  • Thank you received: 3
11 years 4 months ago #114800

Hi,
is there a way to have a translation?
I added this code on the file "show_default":

<?php echo "Votate questo prodotto. <br>";


my site with Hikashop
www.lacasettabio.it
Last edit: 11 years 4 months ago by lacasetta.

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
11 years 4 months ago #115012

Hi,

You have to use that code:

<?php echo JText::_('VOTATE_QUESTO_PRODOTTO');

And add this line in the translation ovveride part of the language file in Configuration > Languages.
VOTATE_QUESTO_PRODOTTO="Votate questo prodotto. <br>"

Please Log in or Create an account to join the conversation.

  • Posts: 719
  • Thank you received: 3
11 years 4 months ago #115189

Ok, now it is perfect.
Thanks


my site with Hikashop
www.lacasettabio.it

Please Log in or Create an account to join the conversation.

Time to create page: 0.104 seconds
Powered by Kunena Forum