Events Made Easy › Forums › Bug fixed or feature request implemented › Locations List
- This topic has 9 replies, 2 voices, and was last updated 13 years, 11 months ago by
Anonymous.
-
AuthorPosts
-
Wed 4 Jan 2012 at 23:52 #43676
Anonymous
InactiveRefering to the last post in this thread: http://www.e-dynamics.be/bbpress/topic.php?id=1670
I’ve tried to find the section mentioned…does this look like the correct place?
$location_page_link = eme_location_url($location);
$location_name = “{$location_name}“;
}
$out .= “<li class=”location-{$location}”>{$location_name}”;
I changed that to this…
$location_page_link = eme_location_url($location);
$location_name = “{$location_name}“;
$location_imgdisplay = “<img src='”.$location.”alt='”.eme_trans_sanitize_html($location).”‘/>”;
}
$out .= “<li class=”location-{$location}”>{$location_name}, {$location_imgdisplay}”;
My location list now shows a broken image (red ‘x’). I believe its not getting the correct URL of the image.
Any help is greatly appreciated,
Thanks,
Thu 5 Jan 2012 at 22:55 #49254Franky
KeymasterI never said to change the source code. Why not just configure the location formatting setting in the EME settings and use the [events_locations] shortcode?
Thu 5 Jan 2012 at 23:05 #49255Anonymous
InactiveHi Franky,
Sorry…
I’m using the [events_locations] shortcode but don’t know where to input the placeholders in settings. In which of the following should I insert the placeholders/styling?
– Single location page title format
– Default single location page format
– Default location balloon format
– Default location event list format
Thanks,
Fri 6 Jan 2012 at 10:22 #49256Franky
KeymasterHere: “Default location event list format”
Fri 6 Jan 2012 at 14:06 #49257Anonymous
InactiveI’m afraid that does not change my locations list. It does however allow me to style ‘upcoming events’ for a particular location (which displays on the ‘single location page’.
I just need the ‘Venues’ page to display a list of locations (from eme) like this…
IMAGE
LOCATION TITLE/LINK
DESCRIPTION
Fri 6 Jan 2012 at 20:11 #49258Franky
KeymasterYou’re right! There’s no setting to change the location list as it does for the event listing. I’ll move this to feature requests and I’ll add 3 new settings:
– location list header
– single location line for the list
– location list footer
(as for events)
I’m still in holiday-mood now, but will try to do this asap.
Fri 6 Jan 2012 at 20:45 #49259Franky
KeymasterImplemented in trunk:
Fri 6 Jan 2012 at 22:31 #49260Anonymous
InactiveYou are a genious! Thanks!
But everything is returning except location images 🙁
Fri 6 Jan 2012 at 23:03 #49261Franky
KeymasterTrue! Fixed here:
Fri 6 Jan 2012 at 23:35 #49262Anonymous
InactiveAgain, genius! Working perfectly now.
Another donation sent :). I seriously think this should be a ‘paid for’ plugin. It has so many useful features that you wouldn’t expect from a free plugin.
Keep up the amazing work!
-
AuthorPosts
- The forum ‘Bug fixed or feature request implemented’ is closed to new topics and replies.