Support

Home Forums Community Forum EE Lite: Listing of Events based on Monthwise and To Shown Google Map

EE Lite: Listing of Events based on Monthwise and To Shown Google Map

Posted: January 23, 2014 at 12:33 am

Viewing 10 reply threads


Wayne

January 23, 2014 at 12:33 am

Hi EE,
i am new to EE and using EE lite. will it possible i dont know but i am trying to list events based on Monthly basis on custom template/page and i am not able to do it. I also want to shown google map instead of google map link. If possible these two things that i am trying then please help me out.

  • This topic was modified 10 years, 11 months ago by Dean. Reason: not a translation query


Wayne

January 23, 2014 at 10:55 pm

M i having any problem? Do i need to purchase paid one?


Sidney Harrell

January 28, 2014 at 8:46 am

The first part you might do easier with categories. Tag each event with a category matching the month that the event is in. Then use the event list shortcode with the category modifier. It’s not an automatic month by month listing, but it works with the existing code. For the second part, we do produce a full google map within the ticket, so the functionality to produce a google map for a single event exists already. But we don’t currently have a way to produce a google map with multiple events.


Wayne

February 10, 2014 at 4:35 am

Excuse for long Day Gap…..

1) M able to gether all events for all months(just like blog post category) and next thing that i have to do is to group all the events for respective month.

2) For google map i try using the following code that i found from EE forum:

echo do_shortcode(“[ESPRESSO_VENUE outside_wrapper_class=’event-venue-map’ show_map_image=’true’ map_image_wrapper=’google-map’ map_w=’650′ map_h=’300′ show_title=’false’ show_description=’false’ show_address=’false’ show_additional_details=’false’ show_image=’false’ show_google_map_link=’true’ map_link_text=’View larger map’]”);

This code give me blue background box instead of map.
How can i achieve google venue map? m using EE lite or EE lite does not have this features?


Dean

February 10, 2014 at 5:06 am

Hi Wayne,

1) Use [EVENT_LIST category_identifier=”ADD_THE_CATEGORY_IDENTIFIER_HERE”] obviously changing the ADD_THE_CATEGORY_IDENTIFIER_HERE as appropriate. You can use multiple EVENT_LIST shortcodes on a single post or page

2) The ESPRESSO_VENUE shortcode requires the Venue Manager which is not available with the Lite version. You could probably use a thirdparty Google maps plugin to add a shortcode to the description, though I haven’t tested that.


Wayne

February 11, 2014 at 10:17 am

Hi Dean thanks for your kind responses and suggestion.

I din try on my First problem yet that you suggest but i will try.
For the second problem i try today, here is the story:

I already have Venue details (address) on register_display_page.php, i want to used to avoid double entry.
Lot more plugins I found but I don’t want to give input (address) again to display map. So today I dig on Google for converting address to Google Map and luckily I found piece of code. There may be more but I think this may help me out to resolve my problem. The codes are as follow:

1) <address></address>

2) <script>
$(document).ready(function(){
$(“address”).each(function(){
var embed =”<iframe width=’425′ height=’350′ frameborder=’0′ scrolling=’no’ marginheight=’0′ marginwidth=’0′ src=’https://maps.google.com/maps?&q=”+ encodeURIComponent( $(this).text() ) +”&output=embed’></iframe>”;
$(this).html(embed);

});
});
</script>

Any correct address that I put in between <address></address>
Is showing google map ……. Bingo!!! Great, i like the Google MAP but this is only work on my custom template not on register_display_page.php(One general map is showing without any location(marker)…i think this javascript is nt able to retrieve the address…but why?).I want on this template too. Even if I echo the address(by storing all the address details on one PHP variable) on this tag also: <address></address> not showing up the map with correct address. I check for java script conflict but conflict is not there…Please help me out


Dean

February 12, 2014 at 4:34 am

Hi,

As previously mentioned the shortcode requires the Venue Manager in order to work, which is only available in the premium version.

We can’t really assist in customising the plugin like that, we do recommend these developers should you wish to modify the plugin code – https://eventespresso.com/developers/event-espresso-pros/


Wayne

February 12, 2014 at 9:08 am

Hi Dean today i my day….i did it by creating separate script file. Now i have to focus on my first problem.


Dean

February 13, 2014 at 5:58 am

Hi,

Can you paste your the shortcode you are using here please, plus a screenshot of the Event Category you are trying to display?


Wayne

February 13, 2014 at 9:57 am

Ok Dean….

First i did was, i wrap the address by using this tag: <address><?php echo stripslashes_deep($location);?> </address>, on register_page_display.php

second i create one js file with the code below and call on my header.

$(document).ready(function(){
$(“address”).each(function(){
var embed =”<iframe width=’425′ height=’350′ frameborder=’0′ scrolling=’no’ marginheight=’0′ marginwidth=’0′ src=’https://maps.google.com/maps?&q=”+ encodeURIComponent( $(this).text() ) +”&output=embed’></iframe>”;
$(this).html(embed);
});
});

That it…Sorry for not able to share the screen shot of map image….and i dnt have my own hosting area so m not able to use img here and not able to give img url.


Dean

February 14, 2014 at 2:01 am

Hi,

Sorry I was referring to the first issue you had, regarding the [EVENT_LIST category_identifier=”ADD_THE_CATEGORY_IDENTIFIER_HERE”] shortcode, as you had said the javascript issue was resolved (or that is how I interpreted it).

Viewing 10 reply threads

The support post ‘EE Lite: Listing of Events based on Monthwise and To Shown Google Map’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso