bszakacs
Forum Replies Created
-
Thanks a lot!
As a suggestion, you could add the option to call fulfill days shortcode, to be able to create a proper horizontal tabs display. This way the days, as tab headers could be in a separate loop than the tab contents – the events list.
Hi
I managed to do what i needed by editing “classes/em-events-php” and adding array of “str_replace” in function “output_grouped”.
Question: is there any way to override “output_grouped” function from functions.php, as now i edited the plugin, and lost upgradability.
Thanks
- This reply was modified 1 year, 3 months ago by bszakacs.
Simply to say: when events are grouped daily, i need to pass the current day date number to both the Group list header, as well to the Event list format header. Than i can use that as an ID to communicate between tabs and tab content.
Or, if using the php templates, i need to pass the same incrementing variable to event_list_item_format_header.php and event_list_item_format.php from events-list-grouped.php. But latter uses echo for this function:
EM_Events::output_grouped($args)
which has no option to pass variables or to catch the loop.I am trying to achieve horizontal tabs, not vertical, and for this i need to list the active (fullfill) days above the actual listing. As in the event list page, you cannot list fullfill days with a shortcode, i wanted to add the day tab inside the loop, than move it with jquery outside it, to the tabs container. But the tab and the tab content ID must match, and this is where i wanted to add the day date – like tab-“22”, where 22 is the day after the events are grouped – , but also keep group list header separate, as that is where i can actually display “august 22.”
As i don’t want empty tabs, i need to list only fullfill days according to the current listing (by category, ba location, all events etc), but there’s no such option. So i tried to do it with tricks.
Hard to explain, indeed, but result is nice.
But i am making some personalized tabbed solution, and i need this option there. Anyway i can edit the plugin – even on a code basis – to make this renderable and doable?
You misunderstood. I mean the event list format header, not the groped header. See this screenshot:
https://prnt.sc/_bopQ-szk_VDThe middle textarea accepts php date formattings like #d or #M, but the upper one, i marked with red, doesn’t.
Is there any fix for this?
Forum: Plugins
In reply to: [Events Manager - Calendar, Bookings, Tickets, and more!] Tag cloudFound a fix: you need to remove the argument from between the paranthesis. So the code is:
/** This snippet will add new shortcode [tags_list] */ function em_get_tags_shortcode(){ echo EM_Tags::output(); } add_shortcode('tags_list', 'em_get_tags_shortcode');
- This reply was modified 2 years, 5 months ago by bszakacs.
Forum: Plugins
In reply to: [Events Manager - Calendar, Bookings, Tickets, and more!] Tag cloudSame here. Any idea or fix?
Forum: Plugins
In reply to: [Events Manager - Calendar, Bookings, Tickets, and more!] Tag cloudHi. thanks, but it’s not working. It breaks the whole site.
Forum: Plugins
In reply to: [Post Type Switcher] Changing post types and WPMLHi.
I am also having issues with this, but from another direction: i switched page to post, but the plugin converted the default language only, and the translations are nowhere to be found – maybe because their mother page disappeared? if i put the post back to page, the translations appear again.
So clearly, this plugin does not support WPML, but what can e do about this than?
ThanksForum: Plugins
In reply to: [Events Manager - Calendar, Bookings, Tickets, and more!] List events by townAnother question: do you think would be possible to add town into the search form as a dropdown?
Forum: Plugins
In reply to: [Events Manager - Calendar, Bookings, Tickets, and more!] List events by townThanks. I’ll give it a try.
Forum: Plugins
In reply to: [Modern Events Calendar Lite] Date picker in search barHi
Any news on this? I would consider using the plugin on another project, but without date picker in the events filter for a frontend user is totally useless.
Thanks
Forum: Plugins
In reply to: [Modern Events Calendar Lite] Date picker in search barToo bad, as this is a basic feature in my oppinion. I already moved to another solution. Thanks
Forum: Plugins
In reply to: [Modern Events Calendar Lite] Date picker in search barHi
That tutorial explains how to add a custom shortcode for listings, but i don’t need a listing at first, i just need a search form, with several fields in it, including date picker. Than if you do a search, you end up on listing.
That’s why i mentioned the [MEC_search_bar] shortcode, as that is totally separate from custom shortcodes, which are for listings.So again: at first step, i want to display the search form ONLY, no listings and events whatsoever. Just the form, with date picker.
Can i do that?