Pinterest pinit icon

  • Posts: 17
  • Thank you received: 0
12 years 1 month ago #68723

Hi,

I am building a website with hikashop for my client. She contacted you about adding the Pinterest social media link into the product description page and you forwarded some files which I have successfully uploaded and the pinit feature works fine. However my client wants to add an embedded youtube video opening in a lightbox into the product page as well, and so far whatever way I try adding this function a piece of code appears immediately before the pinit icon :

" class="pin-it-button" count-layout="horizontal">

I found even adding a link to another page containing the embedded videos produces the same result. Can you help me to make this work please?

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
12 years 1 month ago #68884

Hi,

You probably don't have the latest version of the plugin.

Please use this one:

Attachments:

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

  • Posts: 17
  • Thank you received: 0
12 years 1 month ago #69083

I did a search for this file and there are two possible paths. Do I replace both of them with this file?

/public_html/administrator/components/com_hikashop/extensions/plg_content_hikashopsocial/hikashopsocial.php

/public_html/plugins/content/hikashopsocial/hikashopsocial.php

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

  • Posts: 2334
  • Thank you received: 403
12 years 1 month ago #69094

It's the second folder. But I think you can simply install it thanks to the plugin manager ;)

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

  • Posts: 441
  • Thank you received: 24
12 years 4 weeks ago #72147

Eliot two questions firs with pinterest is is possible to open it in a new window? and it can display the number of times its been pinned?

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

  • Posts: 2334
  • Thank you received: 403
12 years 4 weeks ago #72224

Hi,

To open it in a new window you have to replace this line:

$html=$div.'<a href="http://pinterest.com/pin/create/button/?url='.hikashop_currentURL().'&media='.$imageUrl.'&description='.htmlspecialchars(strip_tags($product->product_description), ENT_COMPAT,'UTF-8').'" class="pin-it-button" count-layout="'.$count.'"><img border="0" src="http://assets.pinterest.com/images/PinExt.png" title="Pin It" /></a></span>';

with this one:
$html=$div.'<a taget="_blank" href="http://pinterest.com/pin/create/button/?url='.hikashop_currentURL().'&media='.$imageUrl.'&description='.htmlspecialchars(strip_tags($product->product_description), ENT_COMPAT,'UTF-8').'" class="pin-it-button" count-layout="'.$count.'"><img border="0" src="http://assets.pinterest.com/images/PinExt.png" title="Pin It" /></a></span>';

And about the count just go in the joomla's plugin manager, find the hikashop social plugin and look at the options, you'll find few display options :)

Last edit: 12 years 4 weeks ago by Eliot.
The following user(s) said Thank You: manjeshmohan

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

  • Posts: 441
  • Thank you received: 24
12 years 4 weeks ago #72273

didnt work and also tried the three configurations the pluging has and none displays the count.
www.lacestamagica.com

Last edit: 12 years 4 weeks ago by condorazul.

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

  • Posts: 2334
  • Thank you received: 403
12 years 4 weeks ago #72279

The line I gave you was the same, here is the good modified line:

$html=$div.'<a taget="_blank" href="http://pinterest.com/pin/create/button/?url='.hikashop_currentURL().'&media='.$imageUrl.'&description='.htmlspecialchars(strip_tags($product->product_description), ENT_COMPAT,'UTF-8').'" class="pin-it-button" count-layout="'.$count.'"><img border="0" src="http://assets.pinterest.com/images/PinExt.png" title="Pin It" /></a></span>';

About the count I think you need at least one pin to see it.

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

  • Posts: 441
  • Thank you received: 24
12 years 4 weeks ago #72294

the description doesnt load in the pin and the counter is not displayed. try one if you can

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
12 years 3 weeks ago #72484

The counter not displaying seems to be a problem coming from pinterest themselves:
support.addthis.com/customer/portal/ques...ounter-does-not-work

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

  • Posts: 441
  • Thank you received: 24
11 years 11 months ago #79063

I´m sure i´ve have fixed this before but after reisntall hikashop pinterest icon is out of place. how can i solve it?

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

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

Hi,

I don't understand about which problem you are talking about.
Can you do a screenshot of your problem, or explain with more details ?

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

  • Posts: 441
  • Thank you received: 24
11 years 11 months ago #79505
Attachments:

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

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

Are you sure you well copied the line?
Or was the icone already messed up before?
You can give me a linkg to the page so I'll check the html :)

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

  • Posts: 441
  • Thank you received: 24
11 years 11 months ago #79614

the page is www.lacestamagica.com
check also if you can why images are not displayed in checkout for products after actualization, the products from before it works porperly, i have it in another post, but no answer yet

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

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

Hi,

Can you try to add this property in the css file:

#hikashop_social iframe{
    height: 20px !important;
}

For you other problem, check if the image "regalo_bebe_original_macetero.png" is present in the folder "thumbnail_250x245", if it's not present I think that's because you have change the size of the thumbnails in the parameters, so try to delete and import again the picture for these product. You can find some others post related on this problem.

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

  • Posts: 441
  • Thank you received: 24
11 years 11 months ago #79669

ok css fixed problem with pinit but deleting and uploading the images again did not fix anything.
I do repeat that it only happens with products created after actualization.
some problems happens with coupons and it has to be fixed by elliot inside the php.

If you need ftp access or web access just tell me.

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

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

Hi,

You didn't answered to xavier to tell us if the picture is in the folder media/com_hikashop/upload/thumbnail_250x245.
About the coupon issue I don't know what you're talking about, could you open another topic?
Thanks :)

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

  • Posts: 441
  • Thank you received: 24
11 years 11 months ago #80002

no it does not crete the thumbnail even deleting the image and reuploading it

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

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

So there is no thnumbnail anywhere in the upload folder?
You should have an error message somewhere, can you try to upload an image with the joomla debug mode activated?
Also, are you sure you don't have any restriction on the folder? I mean about the permissions.

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

Time to create page: 0.127 seconds
Powered by Kunena Forum