marcosdipaolo
Forum Replies Created
-
**SOLVED** (….kinda)
I was usingEM_Events::output($args)
in my own template (page.events.php) but I realized$args = apply_filters('em_content_events_args', $args)
returnsNULL
unless inthemefolder/plugins/events-manager/templates/events-list.php
So if I click a day cell in the small calendar with more than one even it tries to build a list of that date’s events but it can’t since $args is NULL so it doesn’t have the property["calendar_day"]=> string(10) "2018-05-05"
What i did is just using the loop in the assigned events page and in events_list.php (where$args = apply_filters('em_content_events_args', $args)
works) i added$args += ['groupby' => 'recurrence_id'];
then i have both things that i wanted, being able to see events of clicked small calendar’s date cell and see the events grouped by recurrence_id .
I don’t think a plugin consumed more of my time than this one. I think there’s not enough documentation to really help people with this very complex plugin, unless you are a php genius.
Any appreciation about my solution and observations would be really appreciated.- This reply was modified 7 years ago by marcosdipaolo.
- This reply was modified 7 years ago by marcosdipaolo.
+1
In Safari, not in Chrome.Off course it’s a warning. I’m sorry, i should have been more clear.
There is no problems on the site, jus the PHP Warning at php_error.log
PHP Warning: current() expects parameter 1 to be array, null given in /Users/marcos/Documents/sitios/avionqueva/wp-content/plugins/events-manager/classes/em-events.php on line 295
you have the error in the first post.
I see the error in the php_error.log, not in the screenoops, thank god i didn′t reinstall.
My mistake, dbem rows showed up. It was probably a silly mistake in the phpmyadmin interface. My bad ??shall i re-install?
SOLVED, edited categories.php replacing #_CATEGORYLINK with #_CATEGORYNAME at plugins/events-manager/placeholders
- This reply was modified 7 years ago by marcosdipaolo.
Sorry I meant:
avionqueva.marcosdipaolo.com/eventosMy mistake, I had #_EVENTCATEGORIES before, which was giving me all the event’s categories. I switched to #_CATEGORYNAME because i didn’t want them inside an a tag linking to that category page.
So #_EVENTCATEGORIES give you all the event’s categories with a link to the category page, and #_CATEGORYNAME gives only the category name, without link, but only one category.
Question changes , is there a way to have all the categories of an event like you do with #_EVENTCATEGORIES but no inside an a tag, so without the link?.
I’m trying to avoid javascript manipulation.At the events page, you should see it because I’m using a tab switcher menu for the different categories. You can see it temporarily at avionqueva.marcosdipaolo.com.
Latest wp version . EM 5.8.1.3And how can we create the template to avoid single event category pages fallingback to index.php (where and name)?
Why doesn’t it fallback to the archive.php?- This reply was modified 7 years, 1 month ago by marcosdipaolo.
Forum: Plugins
In reply to: [Events Manager - Calendar, Bookings, Tickets, and more!] sorting by categoryGreat. Could you point me some directions about which template should I edit and how to call the individual category links for the select’s <option> fields?
oh, sorry, i figured it out already, didn’t know about mo files and po files editors. Thanks
Are you also generating the corresponding .mo file?
nop! do i have to? how?
Which version of Events Manager are you using?
latest
Forum: Plugins
In reply to: [Gallery Plugin for WordPress - Envira Photo Gallery] Problem with lightboxSolved!!
I pasted the facebook comments plugin script above the get_header(); function (even when i was commented), moved it somewhere else and everything was solved.- This reply was modified 7 years, 4 months ago by marcosdipaolo.
- This reply was modified 7 years, 4 months ago by marcosdipaolo.