News:

Support for jDownloads 3 has been ended
Since 17 August 2023 Joomla.org has discontinued support for Joomla 3.x. Therefore, we will no longer offer official support for our Joomla 3 jDownloads version 3.9.x from January 2024.
Please update your website to the latest Joomla version (Joomla 4 or Joomla 5) as soon as possible. Afterwards, please update jDownloads to the latest published version. The longer you delay, the more difficult the upgrade process for your website is likely to be.

Main Menu
Support-Forum

Please support SCOpenGraph to Like Downloads for Social networks

Started by wolfspyryt, 10.06.2015 04:59:45

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

wolfspyryt

[Edit]In order to use  Google and Facebook to 'like' a Download  it would be helpful to support SCOpenGraph in the same sort of way as Adsense is supported.  Basically to have ability for Social network buttons to appear with Downloads.[/Edit]

I have a line of code I need to insert into the file details page.
It is:
{SCOpenGraph image=http://somewebssite.xxx/image.jpg}{SCOpenGraph description=Enter a good description here.}

In both cases, after the = I have tried replacing the text with the obvious:
{SCOpenGraph image={thumbnail}}{SCOpenGraph description={long_description}}
then adding it into the layout.

When I do that, the page displays normal, except now on the page I see   }}
The rest of the line is invisible as it should be.

It does not work. It is needed to apease google and facebook for the "Like" and +1" buttons.
  •  

ColinM

Hi
Is your objective to show the "Like" and "+1" buttons as active buttons in order to 'rate' the Download?
jD will not know what to do with {ScOpenGraph as it is not one of its place holder key words  so it will skip to the first } and take the next } as regular text.   Hence the result you see.

I yhink what you are asking is could jD please support ScOpenGraph as a place holder. Also you are asking jD to support a place holder in a place holder although the 'arguments' could be implied to aviod the need for recursion.

If my assumption is right then I will move this thread to Suggestions.
Colin
Colin M
  •  

wolfspyryt

As always ColinM, you are intuitive, intelligent and correct. Yes to all you said.
  •  

Arno

Hi,
i understand not really what the SCOpenGraph should be.
It is a part from JFBConnect? Is used here a Joomla plugin?
If so then you must before you test it activate the 'Activate support for all Joomla content plugins?' option in the jD configuration.

[gelöscht durch Administrator]
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •