Forums / General / ezgmaplocation extension with ezpublish 4.0.1

ezgmaplocation extension with ezpublish 4.0.1

Author Message

John Smith

Wednesday 27 April 2011 9:45:18 am

Hi there,

Hope you can help me. I have just installed the "ezgmaplocation" extension in ezpubish 4.0.1. When trying to edit any class from the admin interface it is giving the following error:

Fatal error: Class 'ezpI18n' not found in /xxx/xxxx/extension/ezgmaplocation/datatypes/ezgmaplocation/ezgmaplocationtype.php on line 47

Is this extension compatible with ez4.0.1?

Anybody help..

Heath

Wednesday 27 April 2011 10:03:24 am

Hello John,

The extension you have is compatible with eZ Publish 4.4.0+

You will need to either upgrade to a supported version of eZ Publish

or find an older copy of the extension which is compatible with eZ Publish 4.3 (or eirler)

Cheers,

Heath

Brookins Consulting | http://brookinsconsulting.com/
Certified | http://auth.ez.no/certification/verify/380350
Solutions | http://projects.ez.no/users/community/brookins_consulting
eZpedia community documentation project | http://ezpedia.org

André R.

Wednesday 27 April 2011 11:16:00 am

Either version 1.0.x, 1.1.x or if from git anything before: https://github.com/ezsystems/ezgmaplocation/commit/b72bf6431abbbddd681f42be1676fa1f038a15c0

Background: templateInit(), ezi18n() and ezx18n() was deprecated in 4.3, as of 4.5 all extensions from eZ have been changed to use the new class based api introduced in 4.3.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

John Smith

Thursday 28 April 2011 1:23:09 am

I managed to find version 1.0.1 but could not find 1.1.x. Will try 1.0.1

@Andre, would you kindly help in finding 1.1.x

Will post the outcome soon. Thanks everybody so far.

André R.

Thursday 28 April 2011 1:50:40 am

If there is one, then it is the one bundled with 4.3 (4.4: 1.2 & 4.5: 1.3).

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

John Smith

Thursday 28 April 2011 2:29:41 am

Cheers,

Ok, hope 1.1 will work on 4.0.1?

I have tried 1.0.1, no errors so far going smoothly....

I have edited the article class and added the datatype "GMap Location" with gmap identifier.

Added the following line in the override template for full article:

{attribute_view_gui attribute=$node.data_map.gmap}

Created a new article from the admin interface, where I can see the google map, inserted the post code, it gave me the co-ordinates.

Public website - Nothing is coming up on the page, but I can see all the scripts (javascript) in the scource code being called from ezgmaplocation.tpl.

Any clues?

John Smith

Thursday 28 April 2011 4:34:43 am

@ Andre, sorted...

Extension 1.0.1 seems working fine with 4.0.1

Few things not sure of:

Will it only show a Goolge map pin pointing the location?

Is it possible to show other type controls on the Google Maps like (map, satellite, hybrid)?

Are there any other possibilities to make the map more interactive?