Events Made Easy › Forums › Bug fixed or feature request implemented › List formatting / grouping
- This topic has 7 replies, 3 voices, and was last updated 15 years ago by
Anonymous.
-
AuthorPosts
-
Fri 3 Sep 2010 at 19:29 #42062
Anonymous
InactiveI am prepared to do this using $wp->query, but before doing so need to know if it’s already possible out-of-the-box.
Scenario: Multiple events fall on same day.
Desired formatting:
[Event Date]
[Event #1]
[Event #2]
[Event #3]
[Event Date]
[Event #1]
[Event #2]Is this available via the plugin directly, or should I just run manual queries?
Fri 3 Sep 2010 at 23:02 #44595Franky
KeymasterIf it is for specific dates, you can always use the [events_list] shortcode. Use multiple statements of this format on the same page:
[events_list YYYY-MM-DD]
eg.
On 2010/09/05
[events_list 2010-09-05]
On 2010/09/07
[events_list 2010-09-07]But if you want it automatically for all events: not possible for now
Sat 4 Sep 2010 at 03:33 #44596Anonymous
InactiveDon’t mean to be a smart-ass, but of course I want it automatically….If I didn’t I wouldn’t be using the plugin. 🙂
Thanks for the reply, I’ll go ahead and code it up.
Sat 4 Sep 2010 at 07:23 #44597Franky
KeymasterYeah, I figured you wanted it automatically 🙂
Sat 11 Sep 2010 at 22:56 #44598Franky
KeymasterHi,
I implemented this now in the trunk version, as a new parameter to the [events_list] shortcode:
[events_list showperiod=daily]
or
[events_list showperiod=monthly]
Sun 26 Sep 2010 at 17:38 #44599Anonymous
InactiveHi
I’m using version 3.1.3 and (like Moxie) I would like this layout
[Event Date]
[Event #1]
[Event #2]
[Event Date]
[Event #1]
[Event #2]
But when I use “[events_list showperiod=daily #_TOWN #_LINKEDNAME ]“
this is the result:
2010/09/23
23 Sep 2010 – Göteborg
Eventnamn: Bok & Bibliotek 2010 Kategori: #_CATEGORY
2010/09/28
28 Sep 2010 – Stockholm
Eventnamn: Intern kommunikation 2010 Kategori: #_CATEGORY
28 Sep 2010 – Mölndal
Eventnamn: Sociala Medier och Affärsnytta Kategori: #_CATEGORY
1. How do I get rid of “#_CATEGORY” ?
2. Why id the date shown at the events ? (ie “28 Sep 2010”)?
(When I have not used the shortcodes for date and year)
3. Can I format the date shown first ? ( ie “2010/09/23”)
Sun 26 Sep 2010 at 17:50 #44600Franky
KeymasterThe formatting codes (these starting with #_) are not to be used as arguments in the shortcodes; and are ignored. In your case this will result in: [events_list showperiod=daily]
And for the other info: see the format settings (“Default event list format” in your case)
Please do read the documentation on how to use the shortcodes and the formatting codes.
And for #_CATEGORY: doesn’t exist, it is “#_CATEGORIES”
Sun 26 Sep 2010 at 18:17 #44601Anonymous
Inactive1. Category: My mistake – i’ve written the wrong thing in “Default event list format”
2. ‘Double dates”: I removed “#j#M#Y” from “Default event list format” – and it worked :o)
3. I’m reading on – and trying to get ‘the rigth look’
Thank you for the help.
-
AuthorPosts
- The forum ‘Bug fixed or feature request implemented’ is closed to new topics and replies.