Events Made Easy › Forums › How do I … › How adapt printing format booking
- This topic has 9 replies, 2 voices, and was last updated 6 years ago by
Anonymous.
-
AuthorPosts
-
Sat 12 Oct 2019 at 10:14 #60361
Anonymous
InactiveHi Franky
I modified the eme_printable_booking_report function in the eme_people.php file to delete some columns that were printed and I did not want to.
To do this I transformed html lines into comments. The problem is that with each update of EME I lose the change. How should I do ? Or would it be possible to choose the columns?
Thanks.
Best regardsSun 13 Oct 2019 at 10:39 #60362Anonymous
InactiveHi Franky,
When i look at the eme_printable_booking_report function in the eme_people.php file i see that after the date of the event there should be the start time of the event. But the start time isn’t printed …I don’t identified the problemSun 13 Oct 2019 at 18:24 #60363Franky
KeymasterThanks for noticing the time issue, it will be fixed in the next version.
Concerning the columns (edit): each column has an ID, so you can use css to hide it.Sun 13 Oct 2019 at 18:44 #60364Anonymous
InactiveThanks for the columns filter. It will be usefull for me
Sun 13 Oct 2019 at 18:53 #60365Franky
KeymasterI changed my answer: for the printing output, you can use CSS. All columns have an ID; so you can use CSS to change the layout to your liking. See https://www.e-dynamics.be/wordpress/category/documentation/9-changing-the-layout-css/
Mon 21 Oct 2019 at 16:35 #60419Anonymous
InactiveHi Franky
The table have an ID (#eme_printable_table) and i can change the layout of all the table in eme.css (for example color:red;). But in the columns each cell have a class (for example eme_print_name but it was not defined in a css file. I have tried to define this class in a new eme_print.css or in the eme.css but it failed to change the layout of the cells.
Is something missing or am I wrong ? I need some help.
Best regardsMon 21 Oct 2019 at 17:42 #60421Franky
KeymasterAn id can be addressed in CSS via the “#”, for example “#eme_printable_table”. The columns are a class, so need to be address with the “.”, for example “.eme_print_name”.
For more CSS things, please use your browser css console debugger and read up on css here: https://www.w3schools.com/css/Mon 21 Oct 2019 at 18:18 #60422Anonymous
InactiveHi Franky
Forgot what I have written above. I haven’t seen the different stylesheet depending of media.
So the eme.css and eme_print.css in the theme directory work well. I will just have to copy them after a theme update.Thanks
Mon 21 Oct 2019 at 21:29 #60423Franky
KeymasterIf you wish to avoid coping them over after each theme update, use a child theme (it is recommended by wordpress too).
Tue 22 Oct 2019 at 19:50 #60426Anonymous
InactiveYes of course i’ll do that
-
AuthorPosts
- The forum ‘How do I …’ is closed to new topics and replies.