Topic-icon Profiles / Open Graph For Yootheme ZOO?

Active Subscriptions:

None
13 years 3 months ago #31177 by timhull
I just purchased JFBConnect .. I'm looking through the installs and I don't see anything for Yootheme ZOO.

This is pretty useless to me if there is no support for ZOO.. I really need the Open Graph!
The topic has been locked.
Support Specialist
13 years 3 months ago #31183 by alzander
Right now we don't have an Open Graph plugin for Zoo. It's something planned, but we never advertised we had one either.

As for Open Graph with Zoo, you can still do a lot of integration between the two even without a plugin. JFBConnect should automatically set the OG title and description for you, even in Zoo content. You would need to set the image using {SCOpenGraph image=http://domain.com/link-to-image.jpg} in your articles. Then, Custom Open Graph objects and actions could still be configured on your Zoo content for things like "Reading a Zoo Article". The only things we don't have support for is automatically adding extra OG data, like images, or Zoo-specific actions, like Rating an article.

Hope that explains, but if you need help with any of the above, just let us know.

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

None
13 years 3 months ago #31521 by robhparker
Hello Alex,

That is great news that it can still function inside zoo. I do have a question though. do you have any suggestions on how to start going about adding OG actions when a user makes a zoo submission? That would be very helpful in my situation and I assume many others, plus I can post the example here for anyone else who needs it. I have a good idea of how the controllers work already in Zoo but it is the OG that is somewhat foreign...
The topic has been locked.
Support Specialist
13 years 3 months ago #31583 by alzander
Our Open Graph plugins are where you'd want to put all the logic. You shouldn't need to modify Zoo at all, if we've done our job right with the structure of our code.

We're in the process of working on full documentation for the Open Graph plugins. However, if you know Zoo decently well, then copying and editing something like our EasyBlog, K2, or Content Open Graph plugins should hopefully get you going. The code for each of those is under 200 lines each, and you really shouldn't have to do much more than change a few lines to update for the com_zoo query param and differences in the query strings.

We don't have any examples now for 'post when new content is created', but it would follow the same flow as 'voting' in both K2 and EasyBlog... look for the specific action being taken by the user (voting, new article, etc), doing some checks to make sure everything seems right, and then calling the triggerAction function.

Hopefully, that gives you some ideas on where to start if you're interested. Documentation should be available over the next week or so, and we're hoping to get a Zoo plugin out over the next month or so (with lots of caveats in case we get distracted or it's more difficult than anticipated).

Best of luck,
Alex
The topic has been locked.