Events Made Easy › Forums › Bug fixed or feature request implemented › Location List
- This topic has 17 replies, 2 voices, and was last updated 12 years, 10 months ago by Franky.
-
AuthorPosts
-
Tue 27 Dec 2011 at 22:20 #43666AnonymousInactive
I have a page called ‘Venues’ on my WordPress site and I’ve inserted the following shortcode on the page to display a list of locations/venues…
[events_locations link=true]
The problem is it is only bringing back the default locations (that are already included after installing EME). I have around 20 locations saved, none of those are listed on the page.
Also, when I edited one of the 3 default locations, it disappeared from the list, now leaving just 2 locations displayed. Is this a bug?
Thanks,
Tue 27 Dec 2011 at 22:37 #49213FrankyKeymasterjust tried it here: works ok for existing, edited and new locations. What version of EME are you using?
Do all these locations have a name and an address?
Tue 27 Dec 2011 at 22:47 #49214AnonymousInactiveHi Franky,
Yes they all have a name and address. I’ve just edited another location now and it has disappeared from the events_locations list, leaving me with just 1 default location listed.
Tue 27 Dec 2011 at 23:14 #49215FrankyKeymasterAgain: what version of EME are you using? And are you using only the link-option, nothing else?
Tue 27 Dec 2011 at 23:47 #49216AnonymousInactiveSorry forgot to state the version. Its v 1.0.1. Yes only the link-option.
Fri 30 Dec 2011 at 17:29 #49217AnonymousInactiveI’ve tried using different shortcodes by using ‘scope’ ‘eventful’ etc but still won’t work. 🙁
Fri 30 Dec 2011 at 17:44 #49218FrankyKeymasterCan you mail me an admin account? I’ll be able to look at it either later this evening …
My email: liedekef@telenet.be
Fri 30 Dec 2011 at 19:05 #49219AnonymousInactiveDetails sent, thanks!
Sat 31 Dec 2011 at 01:03 #49220FrankyKeymasterHmmm … I could not reproduce it with mu test version here, but it seems the problem is related with (on your side) that the title-part of the generated link for the location does have an opening ‘”‘, but no closing one (seems to be translated into it’s html-equivalent).
I didn’t have that problem here, but when trying to reproduce it, I bumped into the issue with the location name not being properly translated on the page. This has been fixed in the latest trunk version, so you might want to try that version: http://downloads.wordpress.org/plugin/events-made-easy.zip ). Do try it in test first, it might contain some other bugs 🙂
Sat 31 Dec 2011 at 13:03 #49221AnonymousInactiveHi Franky,
Thanks a lot! Do I need to install all of the trunk version? Or just the location files?
Thanks
Sun 1 Jan 2012 at 13:58 #49222FrankyKeymasterAll the files 🙂
Sun 1 Jan 2012 at 15:30 #49223AnonymousInactiveThanks Franky, 🙂
Will I lose any of events I’ve entered (in the database)?
Sun 1 Jan 2012 at 20:11 #49224FrankyKeymastershould not be the case, but as said: try it on a test install first
Sun 1 Jan 2012 at 21:59 #49225AnonymousInactiveThanks Franky. Works perfect on my test site. Will transfer over to the live site now.
Mon 2 Jan 2012 at 09:30 #49226FrankyKeymastermoving to fixed bugs.
Tue 3 Jan 2012 at 16:55 #49227AnonymousInactiveEverything is working great now, I have a list displaying the Locations. Just wondering…is there a way of having a list show the locations image?
I have managed to do that with the Events list using:
<?php eme_get_events_list(“limit=3&scope=future&order=ASC”); ?>
Which implements my ‘Default event list format’:
<div style=”width:100%; background-color:#f1f1f1; height:130px; margin-bottom:10px;”>
<div style=”min-width:25%; float:left;”>#_EVENTIMAGE</div>
<div style=”width:75%; float:left; margin-top:10px;”><li class=”emeevlist”>
<span class=”emelistname”>#_LINKEDNAME</span>
<span class=”emelistdate”>#j #M #Y – #H:#i </span> – <span class=”emelistlocation”> #_LOCATIONNAME (#_TOWN) </span></p>
<p></div>
</div>
See screenshot: http://cl.ly/3H0A0B2u1t131K0z0v3J
Is there a way of doing this with locations list?
Thanks,
Wed 4 Jan 2012 at 22:17 #49228AnonymousInactiveAnyone found a way of doing this or similar?
Thanks,
Wed 4 Jan 2012 at 23:02 #49229FrankyKeymasterYou want to use #_LOCATIONIMAGE as well, similar as for events. See:
http://www.e-dynamics.be/wordpress/?cat=42
The api for the location functions is not described, but see the functions get_locations_shortcode() and eme_get_locations in eme_locations.php
Btw: this does not belong in a bug report, but should be asked in a separate thread.
-
AuthorPosts
- The forum ‘Bug fixed or feature request implemented’ is closed to new topics and replies.