Subrion CMS Support Forums   Follow Subrion on Twitter Join Us on Facebook

Go Back   Subrion CMS Support Forums > Subrion CMS Core Discussion > Subrion Core Discussion

Subrion Core Discussion Here we discuss everything that is related to Subrion CMS core functionality. Additional features related to plugins and templates engines. New features that are related to Manage Pages functionality or anything that's not related to Subrion packages.

Reply

 

LinkBack Thread Tools Display Modes
Old 05-31-2009   #1 (permalink)
Junior Member
 
Join Date: Apr 2008
Posts: 2
chrisf is on a distinguished road
Default Google maps plugin problem

Hi customer support,

I have recently downloaded the latest core release 1.1 and am unable to get google maps plugin to completely work with the 'directory' package.

I have installed the plugin without any errors. I have also enabled the google maps plugin via admin configuration.
I have followed the instructions in the read-me.txt file and have made changes to the programs and re-uploaded them to my site.
When I create a new listing I can enter the address of the location and I can see the system automatically updates the longitude and latitude values.
This tells me that my google maps api key is working correctly. However, when I go the front end of my website and click on a listing that contains an address I would expect to see a google map displayed, but I don't see a map.

I have tried to debug this on my own and have gotten a little frustrated. When I look at both the listing_view.php and list_view.tpl files I can't see where it can possibly call the google map plugin. Am I meant to update these files and place some hook code like I did to the other programs as outlined in the read-me file. The read me file doesn't mention anything about updating the listing_view files.

Can you please help or tell me what code I need to add to the list_view programs...

can you also please install the plugin on your demo site, so that I can see how it works.

Thanks,
Chris.
chrisf is offline   Reply With Quote
Old 06-01-2009   #2 (permalink)
Subrion Tech Support
 
Join Date: Mar 2009
Posts: 2
Sergey L. is on a distinguished road
Default Re: Google maps plugin problem

Hello Chris welcome to our support forum
Google map appears in categories, not in listing details.
Send me please your ftp or cpanel details in PM and I will try to help you.

Last edited by Sergey L.; 06-01-2009 at 04:18 AM.
Sergey L. is offline   Reply With Quote
Old 06-01-2009   #3 (permalink)
Junior Member
 
Join Date: Apr 2008
Posts: 2
chrisf is on a distinguished road
Default Re: Google maps plugin problem

Hi Sergey,
Thank you for your offering of help. However I have debugged this on my own. Firstly I would have thought that it made more sense to include the google map view on the listing detail page rather than on the category. Your clue made me look in the listings_display.tpl file and I notice that I the line '{sbr_hooker name="beforeListingDisplay"}' did not match any record in the hook table. However I did find a hook record of description: 'BeforeLisitingsDisplay'. I changed the record to 'beforeListingDisplay' and it fixed google maps. I had a closer look at install.xml file of the google map plugin and there is a typo on line:

<hook name="BeforeLisitingsDisplay">

it should read:

<hook name="beforeListingsDisplay">

Anyway thankyou for the plugin.
chrisf is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
Google Maps ckaminski Subrion CMS Plugins Discussion 21 07-22-2009 10:21 PM
Google XML SiteMap WTM Subrion Core Discussion 1 08-01-2007 10:15 PM
Google 404 Errors shunny Subrion Core Discussion 5 07-11-2007 03:57 AM
.htaccess problem LorenGK Subrion Core Discussion 9 06-04-2007 05:26 AM
Download problem vicent General Chat 3 05-13-2007 11:14 PM


All times are GMT -6. The time now is 01:11 AM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0