![]() |
|
printOpenStreetMap (check if empty) - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: Plugins (https://forum.zenphoto.org/forum-6.html) +--- Thread: printOpenStreetMap (check if empty) (/thread-13552.html) |
printOpenStreetMap (check if empty) - Roland - 31-03-2021 Hello ! Sorry to bother you peoples, with my PHP level 1 skills. Here is the deal :
And it's working In Album view, I tried : None of them are working. Any clue ? Thanks ! printOpenStreetMap (check if empty) - acrylian - 31-03-2021
This function "prints" and does not return anything. You cannot check if or empty therefore. Most "get" functions return values. In any case read the docs first before using something.
These all are class methods of the openStreetMap class and not standalone functions to use. To do what you want to do you have to use the class object directly. Off head this should work:
if you already use printOpenStreetMap (check if empty) - Roland - 01-04-2021 Hello acrylian, thanks for your support ! I'm gonna to try this. |