Problem with Description and Google Maps

  • camila18
  • Topic Author
  • Offline
  • New Member
  • New Member
More
14 years 7 months ago #5024 by camila18
Hi,

Thanks for a great component. Very easy to install and configure. I do have a few issues:

1. Google maps is not working, takes me to a broken link. Did I miss a step to configure this?

2. The category description is not showing up in both the calendar and table layout.

Here is the page:

cafemeetingplace.com/cafe-events.html

Please help!

Thanks,

Camila

Please Log in or Create an account to join the conversation.

  • camila18
  • Topic Author
  • Offline
  • New Member
  • New Member
More
14 years 7 months ago #5028 by camila18
Replied by camila18 on topic Re: Problem with Description and Google Maps
I want to add that I updated the google maps api key to the one for my site but the maps are still not showing up. I get an error 500 view not found.

For the event category description, I have indicated in the configuration options that I want to show that info but it is still not showing up. Even when I change to calendar or table layout.

Please Log in or Create an account to join the conversation.

More
14 years 7 months ago #5049 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Problem with Description and Google Maps
Hi

1. For the google map issue : This is an issue which happens on some special sites, few clients got this problem. The solution is make a small change to the code. Please send me FTP account of your site so that I can modify it for you .

2. For the description of category, please Set show Category descrion in Table layout and show category description in Calendar layout to Yes . After that, the description will be showed .

Thanks,

Tuan

Please Log in or Create an account to join the conversation.

More
14 years 7 months ago - 14 years 7 months ago #5233 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Problem with Description and Google Maps
Hi

If anyone get the error 500 with google map, here is the solution for fixing it :

1. Open the file components/com_eventbooking/views/event/tmpl/default.php

2. Look at line 121 :
Code:
<a href="<?php echo JRoute::_('index2.php?option=com_eventbooking&task=view_map&location_id='.$item->location_id); ?>&tmpl=component" rel="gb_page_center[500,450]" title="<?php echo $this->location->name ; ?>" class="location_link"><?php echo $this->location->name ; ?></a>

and change this code to :
Code:
<a href="<?php echo JRoute::_('index2.php?option=com_eventbooking&task=view_map&location_id='.$item->location_id); ?>&tmpl=component&format=html" rel="gb_page_center[500,450]" title="<?php echo $this->location->name ; ?>" class="location_link"><?php echo $this->location->name ; ?></a>

Please note that in the link, the variable &format=html added .

After that, the error will be gone .

Thanks,

Tuan
Last edit: 14 years 7 months ago by Tuan Pham Ngoc.

Please Log in or Create an account to join the conversation.

More
14 years 7 months ago #5419 by shaus
I had the 500 error with the google map, so I changed the code as shown here. Now when I click on the event I get a blank white page. Any thoughts.

Website:

studentorgs.unc.edu/ewb

Please Log in or Create an account to join the conversation.

More
14 years 7 months ago #5434 by abusin
Hi Tuan,
I love this component of yours! Great work. However, I have the same problem with the 500-page popping up.
I had changed the default.php file according to your description. Now I get an error saying that default.php on line 121 was wrong.
Parse error: syntax error, unexpected T_ECHO in /components/com_eventbooking/views/event/tmpl/default.php on line 121
Can you help me please?

Thank you and kind regards,
Sinan

Please Log in or Create an account to join the conversation.

More
14 years 7 months ago #5561 by andyh
Has anyone found a solution to this? All my events are coming up blank white pages, even after putting the code back to original.

Please Log in or Create an account to join the conversation.

More
14 years 6 months ago #5578 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Problem with Description and Google Maps
Hi Andy

As replied in the support ticket, I included the fix for this issue in the core component already. So you just need to login to your account to download the latest version of the extension and update it to your site.

After that, everything will work as expected .

Thanks,

Tuan

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc