Support Forums - Classified Ads Script Osclass
Osclass plugin support => Hooks Manager Plugin => Topic started by: rooman on March 27, 2024, 07:09:25 AM
-
Hello
The OpenStreet plugin is activated
But it doesn't appear in the hooks
I don't know what the problem is
-
@rooman
you sure looking on correct hook?
There might be theoretical chance when function is added to hook via init hook, that it might not show up (never tried).
-
@rooman
you sure looking on correct hook?
There might be theoretical chance when function is added to hook via init hook, that it might not show up (never tried).
OpenStreet plugin hook not found in item details
Only radius_map_items exists
Exists outside the item details as
osm_map_hook
I can't drag or move it
-
Correct it use 'location' hook.
You cannot drag hook functions across different hooks.
-
Correct it use 'location' hook.
You cannot drag hook functions across different hooks.
How can this be corrected?
-
It is correct as it is.
-
It is correct as it is.
I think you don't understand what I mean
How can this problem be treated?
How to insert
osm_map_hook
On the orphan list or item
-
You must edit plugin files and change hook.
-
You must edit plugin files and change hook.
Which file should be edited?
And how
-
index.php or functions.php
-
index.php or functions.php
functions
Change from
osc_add_hook('location', 'osm_map_hook');
to
osc_add_hook('item_detail', 'osm_map_hook');
-
Correct