Topic-icon Integrate JFB Connect Facebook like button

Active Subscriptions:

None
11 years 9 months ago #24372 by meiman
Hello
After reading a lot of threads (a lot of this threads concern older versions) I'm still struggling to have the JFBConnect Social buttons on the listing Summary and Detail. I tried to place the following line into the templates:
{JFBCLike href=http://www.sourcecoast.com layout=standard show_faces=true show_send_button=true width=300 action=like font=verdana colorscheme=light}

I'm unsure where to place this line to display or is there a better solution?
Regards
Manfred.
The topic has been locked.
Support Specialist
11 years 9 months ago #24379 by alzander
Manfred,
Can you explain what "Summary" and "Detail" view you mean? There's a few options on where/how you can set that tag.. either in the template view for a component so it works across all pages that use that template, or for things like an article, you can simply add that text to the article contents itself.

If you can explain a bit more about what component (extension) or area of the site you want the Like button, we can help more. That may also include recommending using the JFBCLike module which can easily be placed like any other Joomla module.

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

None
11 years 9 months ago #24393 by meiman
Hello Alex
Thank you for your reply.

Sorry I forgot to mention, I like to have the like button in Mosets Tree Detail and Summery view of listings. I'm unsure if it can be added as custem field or if I need to make changes on the Mosets Listings templates?
It would be great to have this button integrated, like Jommlas Components Website, they have it also integrated in there Mosets Tree.

Regards

Manfred
The topic has been locked.
Support Specialist
11 years 9 months ago #24486 by alzander
Manfred,
I don't have Mosets Tree available for testing right now, but I've used it a bit in the past. To add the buttons to the Detail and Summary views you'll likely want to modify the MTree template files. A custom field may be possible if you add a simple label or other non-editable field and simply add the {JFBCLike} tag to the output. Never tried that honestly. It's a good idea and would love to hear if it works.

If you can't get that then modifying the template shouldn't be overly difficult. It may take a bit of effort though. The files you'll want to edit are:
/components/com_mtree/templates/<YOUR_MTREE_TEMPLATE>/sub_listingDetails.tpl.php
and
/components/com_mtree/templates/<YOUR_MTREE_TEMPLATE>/sub_listingSummary.tpl.php

Once in there, you'll need to find where you want the social buttons to display. Once there, simply add them like {JFBCLike}{SCGooglePlusOne}{JLinkedShare}{SCTwitterShare}. They should just appear on the front-end. If they don't look right, just let us know the page to look at and we can help you style them (put them in a row, make them bigger/smaller, etc).

Hope that helps get you started!
Alex
The topic has been locked.
Active Subscriptions:

None
11 years 9 months ago #24515 by meiman
Hello Alex

I tried already to add social tags to the templates but nothing showed up or I received some errors. I just don't know where to place it exactly.
It would have been a nice to have feature. Maybe the problem could be also that the social tags are also not displayed in html....

Let's see first to get the social tags to work...

Regards
Manfred
The topic has been locked.