- This topic has 4 replies, 2 voices, and was last updated 10 years, 2 months ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- The forum ‘How do I …’ is closed to new topics and replies.
Events Made Easy › Forums › How do I … › Show Listing for Event's Date and 1 wk in Past
Tagged: scope
Trying something crazy here…
Using the shortcode [eme_events limit=1 notcategory=2+8+9 order=DESC scope=--#Y-#m-#d] on my events page.
I didn’t know if the “scope=–#Y-#m-#d” would work, but it did!
Now all I need is somehow to combine the scope of –YYYY-MM-DD with -7d.
With this scope, I could have Event X in the future display info on an event happening the previous week to Event X. This would be cool!
Possible? Any thoughts? Move to feature request?
In eme_events the scope you created with scope=–#Y-#m-#d seems meaningless, as in the events list there’s no start/end for a single event, but you could use this shortcode inside e.g. your single event formatting, there this will work just fine.
Concerning your “-7d” part: I’d suggest that you create a custom attribute (e.g. ‘older_date’) for the event and use that to indicate from which date you want to show events info from in YYYY-MM-DD format, and then use that attribute:
[eme_events limit=1 notcategory=2+8+9 order=DESC scope=#_ATT{older_date}]
or:
[eme_events limit=1 notcategory=2+8+9 order=DESC scope=#_ATT{older_date}--#Y-#m-#d]
I can see how this would work, but it would be very tedious to do. It would be fine if I were creating each of my events individually, but I am not.
Basically, I am creating “openings” that people can book my services. Each opening is an RSVP-enabled event that spans one week. These openings (events) are all generated through one reoccurring event for years into the future.
I would have to create each opening (150+) individually for this to work…
Would it take much on your part to add a feature for this? Maybe a 7d–YYYY-MM-DD scope?
I would appreciate it very much, and I would be willing to sponsor! Let me know and I’ll add it to Feature Requests for whenever you would have time.
Thanks for the support!
Well … I haven’t gotten any donations lately, so … 🙂
I’ll take that as a “yes” and add this to feature requests. 🙂