is this possible to share individual pictures with facebook? Please check the demo if you fail to understand.
check the demo here for jwallpapers which has "Share on facebook": http://jwallpapers.wextend.com/editors- ... h-columbia
share gallery picture with facebook?
- Jan
- Phoca Hero
- Posts: 48704
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: share gallery picture with facebook?
Hi, just use any Joomla! plugin or module which add the facebook icon on your site, you can display it everywhere, see e.g.:
https://www.phoca.cz/documents/2-phoca-g ... ca-gallery
at the bottom, you can see: share (facebook), buzz, tweet icons, such were added by module and can be displayed on detail site of an image too (e.g. if no popup is used)
Jan
https://www.phoca.cz/documents/2-phoca-g ... ca-gallery
at the bottom, you can see: share (facebook), buzz, tweet icons, such were added by module and can be displayed on detail site of an image too (e.g. if no popup is used)
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 1
- Joined: 12 Jul 2013, 15:46
Re: share gallery picture with facebook?
Hi,
i really searched for a whole time now, but i did not found, which module position i have to chose for the facebook module so that i can share a single picture from the detail view on facebook. Or where i can create a module position for that.
Please let me know how i could do.
Thanks and best regards
Niels
i really searched for a whole time now, but i did not found, which module position i have to chose for the facebook module so that i can share a single picture from the detail view on facebook. Or where i can create a module position for that.
Please let me know how i could do.
Thanks and best regards
Niels
- Jan
- Phoca Hero
- Posts: 48704
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: share gallery picture with facebook?
Hi, if you will use module, and such module does not have filter for view (e.g. in phoca gallery view=detail) then it needs to be customized, so you add some php code to the plugin:
e.g.:
(I didn't test this code, so it can include errors - needs to be tested.)
Jan
e.g.:
Code: Select all
$component = JRequest::getWord('option');
$view = JRequest::getWord('view');
if ($component == 'com_phocagallery' && $view = 'detail') {
} else {
return true;// the plugin will be not translated
}
Jan
If you find Phoca extensions useful, please support the project