Google Map for Category

  • thepineapple
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 10 months ago #10111 by thepineapple
Google Map for Category was created by thepineapple
Hello

Is it possible to show a Google Map with all events in a category like this other Joomla extension:

app.ohanah.com/demo/index.php?option=com...ew=events&Itemid=110 ?

regards

The Pineapple

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

More
12 years 10 months ago #10112 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Google Map for Category
Hi

That's something which I consider adding in future release (an events map module) . But I am now spend time working to finish a major release of Event Booking (version 1.4.0) which will be released on next week (hopefully Monday) and I might add this map module to version 1.4.1 .

Regards,

Tuan

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

  • thepineapple
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 10 months ago #10115 by thepineapple
Replied by thepineapple on topic Re: Google Map for Category
That's great news Tuan.

Thanks very much for such a fast response.

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

  • thepineapple
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 10 months ago #10116 by thepineapple
Replied by thepineapple on topic Re: Google Map for Category
One other thing while you are online Tuan - I have chosen Calendar as the layout for my category and I'm assuming it will display a calendar but nothing changes. Joomla is not set to cache but I cannot get the layout to change.

All three layouts (default, table and calendar) look like this:



The Pineapple
Attachments:

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

More
12 years 10 months ago #10117 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Google Map for Category
If you setup it properly, It should work (I can confirm that) , so I guess something wrong with your setup. Feel free to submit a support ticket give me administrator account of your site so that I can check it for you .

Regards,

Tuan

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

  • thepineapple
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 10 months ago #10118 by thepineapple
Replied by thepineapple on topic Re: Google Map for Category
Yes, I agree. I have probably got something wrong. Is there any instructions on creating a custom layout so that it doesn't get over-written in updates?

The Pineapple

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

More
12 years 10 months ago #10119 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Google Map for Category
Please see docs.joomla.org/How_to_override_the_outp...rom_the_Joomla!_core for instruction .

Regards,

Tuan

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

  • thepineapple
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 10 months ago #10120 by thepineapple
Replied by thepineapple on topic Re: Google Map for Category
No, I meant that I'd like to create my own category layout rather than using default.php, calendanr.php or table.php in the /components/com_eventbooking/views/category/tmpl directory.

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

More
12 years 10 months ago - 12 years 10 months ago #10121 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Google Map for Category
Ah, understand . Two steps :

- Put your new layout in components/com_eventbooking/views/category/tmpl folder

- Modify the code in administrator/components/com_eventbooking/views/category/view.html.php, looks at the code below :
Code:
$options = array() ; $options[] = JHTML::_('select.option', '', JText::_('Default Layout')) ; $options[] = JHTML::_('select.option', 'table', JText::_('Table Layout')) ; $options[] = JHTML::_('select.option', 'calendar', JText::_('Calendar Layout')) ; $lists['layout'] = JHTML::_('select.genericlist', $options, 'layout', ' class="inputbox" ', 'value', 'text', $item->layout) ;

- Add the layout you want to the options array, something like the code below :
Code:
$options = array() ; $options[] = JHTML::_('select.option', '', JText::_('Default Layout')) ; $options[] = JHTML::_('select.option', 'table', JText::_('Table Layout')) ; $options[] = JHTML::_('select.option', 'calendar', JText::_('Calendar Layout')) ; $options[] = JHTML::_('select.option', 'newlayout', JText::_('New Layout Title')) ; $lists['layout'] = JHTML::_('select.genericlist', $options, 'layout', ' class="inputbox" ', 'value', 'text', $item->layout) ;

All done !
Last edit: 12 years 10 months ago by Tuan Pham Ngoc.

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

  • thepineapple
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 10 months ago #10122 by thepineapple
Replied by thepineapple on topic Re: Google Map for Category
As Elvis would say: Thank you, thank you very much.

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

Moderators: Tuan Pham Ngoc