Topic-icon Pinterest Tag

Active Subscriptions:

None
12 years 2 months ago #42706 by ct197475
Pinterest Tag was created by ct197475
Hi Alex,

Hope you are fine.
I am trying to insert a Pinterest button in the site to make a link with my Pinterest page.
www.men-esthetics.com/colonia-creme-de-r...i-parma-75-ml-detail
www.pinterest.com/menesthetics/

But I cannot see any tag on the documentation:
www.sourcecoast.com/jfbconnect/docs/soci...LCJwaW50ZXJlc3QiXQ==

How could I add on in the range of tags I have in Virtuemart Productdetails view?
{SCGooglePlusOne}{SCTwitterShare}{JFBCLike www.facebook.com/pages/Men-Esthetics-ME/161250397339985 layout=button_count show_faces=false show_send_button=true width=100 action=like font=verdana colorscheme=light}

Very best

Christophe
The topic has been locked.
Support Specialist
12 years 2 months ago #42710 by alzander
Replied by alzander on topic Pinterest Tag
Sorry that the example tag is missing. We'll add that in the next release (that document is automatically generated from the releases).

There is a tag for the Pinterest button though. You can add it like:
{SCPinterestShare href=http://yoursite.com/link-to-share image=http://yoursite.com/link-to-image.jpg desc=My Great Product}
I hope that helps answer your questions, but if you have others, just let me know!

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
12 years 2 months ago #42718 by ct197475
Replied by ct197475 on topic Pinterest Tag
Hi Alex,

Thanks again for your quick answer !
I am stuck with synthax; it works for the product description but not for the image; could you help me ?

{SCPinterestShare href="<?php echo $this->product->images[$ImageId]->file_url;?>" image="<?php echo $this->product->images[$ImageId]->file_url;?>" desc=<?php echo $this->product->product_name ?>}

Best

Chris
The topic has been locked.
Support Specialist
12 years 2 months ago #42727 by alzander
Replied by alzander on topic Pinterest Tag
You shouldn't have quotes around the URL and image. Try:
{SCPinterestShare href=<?php echo $this->product->images[$ImageId]->file_url;?>   image=<?php echo $this->product->images[$ImageId]->file_url;?> desc=<?php echo $this->product->product_name ?>}
Not going to guarantee that will work, but it should get you closer!

Keep me posted, and good luck,
Alex
The topic has been locked.
Support Specialist
12 years 2 months ago #42728 by alzander
Replied by alzander on topic Pinterest Tag
Oh, also, make sure the URL and image you're inserting in there has the full domain. If not, hard-code it into the above, like:
{SCPinterestShare href=http://yoursite.com/<?php echo $this->product->images[$ImageId]->file_url;?>   image=http://yoursite.com/<?php echo $this->product->images[$ImageId]->file_url;?> desc=<?php echo $this->product->product_name ?>}

Alex
The topic has been locked.
Active Subscriptions:

None
12 years 2 months ago #42734 by ct197475
Replied by ct197475 on topic Pinterest Tag
We are almost there !
This hereunder code gives a link without the "www.men-esthetics.com" in it ;
{SCPinterestShare href=<?php echo $this->product->images[0]->file_url;?> image=<?php echo $this->product->images[0]->file_url;?> desc=<?php echo $this->product->product_name ?>}

Thus the image is broken as joomla looks for this adress
src="http://images/stories/virtuemart/product/ast-por-1.jpg"

I tried in vain
<?php echo JText::_("www.men-esthetics.com/") .$this->product->images[0]->file_url;?>
If you have any wizard clue ;-)

Best

Christophe
The topic has been locked.
Support Specialist
12 years 2 months ago #42736 by alzander
Replied by alzander on topic Pinterest Tag
The following code:
<?php echo $this->product->images[0]->file_url;?>
Shouldn't have http:// and then a file name. Either the http:// should be missing or it should include the domain name. There's no reason it should have http:// without a domain name. If so, that's very strange.. and my guess would be that you're using the wrong variable since that one seems absolutely wrong.

One think you can try is from our JFBConnect Virtuemart integration guide . In there, we recommend:
IMAGEURL.'product/'.$productArray['product_thumb_image']
However, I haven't tested that in a while, so I can't guarantee anything.

Other than that, see my post above yours which has an example of what you're looking for to hardcode the domain name.

I hope that helps get you going,
Alex
The topic has been locked.
Active Subscriptions:

None
12 years 2 months ago #42742 by ct197475
Replied by ct197475 on topic Pinterest Tag
Hey Alex,

I got it with your precious help ;-)

Here is the final code that works for me !
{SCPinterestShare href=http://yoursite<?php echo $this->product->link;?>   image=http://yoursite/<?php echo $this->product->images[0]->file_url;?> desc=<?php echo $this->product->product_name ?>}

Could you check if it is working for you? I would be happy to contribute and give back a little of your help,

Take care,

Chris
The topic has been locked.
Support Specialist
12 years 2 months ago #42746 by alzander
Replied by alzander on topic Pinterest Tag
Yup, the tag code looks spot on to me and it seems to be functioning as expected. Excellent work! Of course, if you run into any other issues or have any questions, just let me know.

Finally, if you haven't already, please consider leaving a rating and review for JFBConnect, or our support, on the Joomla Extension Directory. It certainly isn't required, but is very appreciated:
extensions.joomla.org/extensions/social-...ook-integration/7215

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
12 years 2 months ago #42751 by ct197475
Replied by ct197475 on topic Pinterest Tag
That's cool ;
Review done; you should like it; you really deserve it!

Take care,

Chris
The topic has been locked.