Topic-icon OG:DESCRIPTION

Active Subscriptions:

None
14 years 1 month ago #21799 by fb_100000214934509
is it possible to setup some kind of OG:DESCRIPTION override to pull info from the JEVENTS component like it does for articles? Jevents have no metadata information so I can't get automatic descriptions for those items.
The topic has been locked.
Support Specialist
14 years 1 month ago #21882 by alzander
Replied by alzander on topic OG:DESCRIPTION
Sean,
You'd need to modify the JEvents template to pull that information from JEvents while it's being displayed and then put it into a {JFBCGraph description=XYZ} tag within the template itself. I don't know JEvents at all, so you may need to contact the developers of that extension and get a little more information on how to proceed. Basically, ask them if they can help you to modify the template and pull out the description for the event (or the first 200 characters of it, for example). From there, we can help you add the OG tag if you can't get it going.

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

None
14 years 1 month ago #22238 by fb_100000214934509
Replied by fb_100000214934509 on topic OG:DESCRIPTION
Jevents dev's awnser to everything is subscribe and get the plugin :(
The topic has been locked.
Support Specialist
14 years 1 month ago #22245 by alzander
Replied by alzander on topic OG:DESCRIPTION
Their own Open Graph plugin, or jEvents itself?

Sorry that's the answer you got, but of course, we run a commercial extension club as well.. so I understand the need to have user's paying for the extension and/or support. Unforutnately, I don't know jEvents at all, but Joomla standards are that the template files would be in /components/com_jevents/views/<NAME>/tmpl/<LAYOUT>.php

If you turn off SEF URLs *and* jEvents goes by Joomla standards, if you see &view=NAME in the URL, you can go to that directory. Then, look for a file that seems right there (or default.php) and try to edit what you need. If it's showing information about an event, there will be variables and other data in there you can include in the Open Graph tag. If you find the right file and think you see a line with the data (description) you need, let us know and we may be able to help you put together a JFBCGraph tag to use it. It may take some work, but hopefully that gets you started.

Alex
The topic has been locked.