Palijn
Forum Replies Created
-
yes sure, I pasted the code in my themes’s functions.php. The functions are really called. But they don’t do anything because the if() block never gets executed, as the string never matches, because every time it is called, the $args[‘scope’] string value is “all” .
The if() in question is :
if( !empty($args['scope']) && $args['scope']=='today-tomorrow' )
Sincerely I have no idea what should be changed for your code to work, so any guidance will be highly appreciated.
Hello @angelo_nwl ,
I tried but did not manage to get a new scope working.
To be sure, I copy-pasted the code from the tutorial, and it does not filter anything either.
When selecting the “Today and tomorrow” filter, all events are displayed.From the debugging I was able to do (but is it worth anything?) , it seems that the my_em_scope_conditions() function is called, but that the $args[‘scope’] value is ALWAYS “all”.
I would be glad if you could help ! Thanks in advance !
Yay!
Patrick @duisterdenhaag you’re fantastic !Thank you @angelo_nwl .
Is it a feature you will consider developing in a future release?Sorry I was unclear. I am talking of the event list in the admin page from the wp-admin section. I suppose the formatting you suggest only applies to the front-end ?
Sorry I was unclear. I am talking of the event list in the admin page from the wp-admin section. I suppose the formatting you suggest only applies to the front-end ?
Well, exploring a bit more I found out that the Events can be included in search through the Settings page. Selecting “include in WordPress search” made MailPoet suddenly aware of Events ! ??
Sorry for the noise,
Regards
ThierryHello Mirko @depaoli,
I suspect your theme is not set up to display featured images on custom post types.
Right now I updated one of my events with a featured image and it displays – I’ve not changed any Events Manager settings regarding images.
Maybe you can try another theme ? Mine is Libretto by Automattic .
Example event : https://ethiqueetchiens.fr/agenda/stage-jouer-avec-votre-chien-et-sa-truffe-vuta-games/Cheers,
ThierryYes, it works in the frontend.
But when a user logs in by any other place she goes directly to the dashboard and she gets the impression that all her bookings disappeared. Annoying.Forum: Plugins
In reply to: [Events Manager - Calendar, Bookings, Tickets, and more!] Responsive forms ?I’d still be eager to benefit from the small change I suggested in the label/checkbox order for the “remember me” line. ??
Other than that, thanks again !Forum: Plugins
In reply to: [Events Manager - Calendar, Bookings, Tickets, and more!] Responsive forms ?For the record, in a pure “style with a hammer” fashion, I ended up with the following CSS additions :
div.em-booking-login label,div.em-booking-login input ,.em-booking-form label, .em-booking-form-details input.input, .em-booking-form-details textarea, .em-booking-form-details .em-booking-submit, .em-ticket-select { width:100%; } .em-booking-form label { margin: 0.75em 2% 0.25em 0; } .anr_captcha_field { padding: 0.75em; clear: both; }
in addition to your unchanged :
#em-booking div.em-booking-login { clear: both; float: none; margin: 0; border-left: 0; } form.em-booking-form .em-booking-form-details { float: none; display: block; width: 100%; }
Forum: Plugins
In reply to: [Events Manager - Calendar, Bookings, Tickets, and more!] Responsive forms ?Me again ??
May I suggest a small usability change to the login form, “remember me” input ?Currently :
<input name="rememberme" type="checkbox" id="em_rememberme" value="forever"> <label>Remember me</label>
Issue (aside from a headache-inducing alignment complexity) : user has to click the checkbox ONLY to check/uncheck .
Proposed :
<label> <input name="rememberme" type="checkbox" id="em_rememberme" value="forever"> Remember me </label>
i.e put the checkbox inside the label
Usability improvement : user can click anywhere in the text and in the checkbox to check/uncheck .Thanks for your feedback ??
P.S: Funny enough, when inserting the GDPR-compliant consent form, it’s the proposed way that is used, and the looks are wonderful ! ??
Forum: Plugins
In reply to: [Events Manager - Calendar, Bookings, Tickets, and more!] Responsive forms ?Thank you timrv, much better now !
There are still a few things unbalanced (such as the recaptcha eating up space on the login button), I’ll try to adapt things myself…
but of course if you would like to suggest code you’ll happily be welcome ! ??
Cheers,@tim01 : Thank you so much !
Hi @laurelfulford , thanks a lot. I’ve updated the theme and updated the translation as well. It’s wonderful ??
I saw that even more strings were added to the .pot catalog.
Would you be so kind to help me find out how I can send the updated fr.po/fr.mo to be included in the theme ? I’m not sure the last time worked well.