nl-google-plus-for-ez-publish

UNIX name Owner Status
nl-google-plus-for-ez-publish Brookins Consulting stable
Version Compatible with
N/A N/A
Template operator to generate a Google+ feed

=== What is it ? ===
This extension adds a template operator to easily add a Google+ feed.

=== How to install ? ===

  1. Create "nl_googleplus" directory in your "extension" folder.
  2. Put all files you get (classes, design, modules, settings, etc.)
  3. Activate the extension using admin ezpublish interface, and regenerate autoloads
  4. Go on https://code.google.com/apis/console/, to create your project and activate Google+ API.
  5. Check the nlgoogleplus.ini.append.php to fill settings with api information : ClientId, ClientSecret, DeveloperKey.
  6. You can also feel UserId and MaxResults
  7. Add the template operator in your template :
    • Feed : {nlgoogleplusfeed()} or {nlgoogleplusfeed('0123456789')} for a specific userId
    • Activity Feed : {nlgooglepluscomments('z12ruz3wmuzrhtn4p04cdlmajqamcln4vkk0k', $node.name|wash)}
  8. Clear all caches.

=== How to get activity id ? ===
It is quite difficult, and not displayed in url.
You have to look at the source code :

  1. Inspect the code with Chrome or Firefox the top right button of your post (the one to edit post)
  2. Find the div of your post : <div id="update-z12ruz3wmuzrhtn4p04cdlmajqamcln4vkk0k" tabindex="0" aria-live="polite" ...
  3. Copy/paste the id of the post : z12ruz3wmuzrhtn4p04cdlmajqamcln4vkk0k

=== Who is the author ? ===
Nicolas Lescure

No news yet.

This project has no reviews yet. Be the first one to review it!

No forum messages yet.