ddoronenko / google-reviews

TYPO3 extension for simple Google reviews output according to the selected place.
GNU General Public License v3.0
4 stars 3 forks source link

Latest version not working #8

Open ground-control-hamburg opened 1 year ago

ground-control-hamburg commented 1 year ago

It seems to be a nice extension, but I can't get it working. I installed it via composer on a PHP 8.1 / TYPO3 11.5.23 system (ddev), included the api key, the plugin and the places id. But.. the frontend only shows the else-case "Es wurden keine Bewertungen gefunden!", because the {place} object is empty. There's no request in the frontend to google.

Meanwhile I tested it on three different systems. Same behaviour. Any idea? Cheers, Sven

YoungWorx commented 7 months ago

Hello, I have the same problem, is there a solution? LG Alex

ddoronenko commented 7 months ago

@YoungWorx @ground-control-hamburg Hello,

I assume, after plugin installation, you have forgotten to include the plugin TypoScript template in the "Template" module -> Info/Modify See https://github.com/ddoronenko/google-reviews/blob/master/Documentation/Installation/Index.rst#preparation-include-static-typoscript

See EXT:news example https://docs.typo3.org/p/georgringer/news/11.3/en-us/QuickStart/Configuration.html#quickconfiguration

In case it do not help, provide more info / TYPO3 logs for investigation. Currently, I can't reproduce or confirm the issue.

Cheers, Dima

YoungWorx commented 7 months ago

Hello, thank you very much for the message, I integrated the TS in the Tamplate as described. But unfortunately I only get the message “No reviews were found!” I entered the PlaceID correctly in the plugin. Do I still have to apply for a MAPS API from Google? Kind regards, Alex

NitinParri commented 5 months ago

If you have an API key with referer restrictions the Places API on won't work with this API key. The solution is to remove the restrictions. Check browser console for Google error.

Fasna-kv commented 4 months ago

Hello ,

im using the "google_reviews" ( 3.0.0 ) extension for my typo3 site I am encountering the same issue in my typo3 version 12.4. I have provided the place ID in the field. Please find the attached image, but I am only receiving "No reviews were found!" on the front page (but there are reviews )

"Included static (from extensions)" field. PLUGIN.TX_TX_GOOGLEREVIEWS_PI1.apiKey = key Added Google API key in the "Constant Editor" -> Category PLUGIN.TX_TX_GOOGLEREVIEWS_PI1.apiKey = ****   TYPO3 Version 12.4.11 PHP Version - 8.3.2

    _<f:if condition="{place.reviews}">_

this condition is not working

Thank you.