Home › Forums › Calendar Products › Events Calendar PRO › Change order sidebar – move own extra fields to top
- This topic has 13 replies, 3 voices, and was last updated 7 years, 9 months ago by
infograbaweb.nl.
-
AuthorPosts
-
June 29, 2018 at 1:47 am #1564322
infograbaweb.nl
ParticipantHello,
I purchased event calender pro and added extra fields to my events.
I would like to place these extra fields to the top of the sidebar.
How can I change the order of own fields, organisator, location etc?
Second question:
The enters do not work in extra texterea fields. How can I move text to next line?Thank in advance,
PienJune 29, 2018 at 5:27 pm #1564934Jennifer
KeymasterHi Pien,
Thanks for reaching out!
We are limited in the amount of support that we can provide for customizations, but I will try to point you in the right direction here.
To customize the event details, you will need to do a template override, which you will find some instructions on here. You will find the single event template under wp-content/plugins/the-events-calendar/src/views/single-event.php.
For the additional fields, you will find the template at wp-content/plugins/events-calendar-pro/src/views/pro/modules/meta/additional-fields.php.
You might also find this article on changing strings helpful, and the Say What? plugin can help with this as well.
Please let me know if you get stuck on anything or have any questions!
Thanks,
Jennifer
July 1, 2018 at 4:34 am #1565387infograbaweb.nl
ParticipantHello Jennifer,
It seems the plugin ADDIIONAL FIELDS just strips out any line breaks e.g even if I add manually line breaks with html br tag or try to wrap any text in the span tag;
on front end, the code/line breaks are stripped.
I tried standard event template and theme template.
This is not a customization question, while these options come with your pro version.
Can you please explain in a simple way how I can fix this problem.
Thanks a lot,
PienJuly 1, 2018 at 5:45 am #1565396Mathew
ParticipantPien,
Certain characters are intentionally stripped out. You can add line breaks back to the Additional Fields with the help of this article found within this Help Desk forum. It may be a few years old, but the function still works.
Hope this helps.
July 1, 2018 at 6:12 am #1565406infograbaweb.nl
ParticipantPerfect, Mathew! This works!
Is there also an easy way to reorder the custom fields?
July 1, 2018 at 6:45 am #1565412infograbaweb.nl
ParticipantAnd is it possible to threw organisator part and details part out.
I only would like to show muy additional fields and location.Thanks in advance.
July 1, 2018 at 7:57 am #1565432Mathew
ParticipantPien,
Is there also an easy way to reorder the custom fields?
Are you wanting to reorder the custom fields within themselves. For example, you have 3 custom fields and they are entered in the admin side as 1,2,3 and you want them displayed as 3,1,2 OR do you want to change the position/order on the sidebar?
If it is the first, there’s no way to do this out of the box. You can vote on this feature on here. As you can see, the idea has been brought up quite some time ago, but it has not gained any traction to move it forward.
If it is the latter, then a template override could be done following the Themer’s Guide.
As for removing certain details from the single events view, Jennifer has provided a starting point above for where the details are located within the view templates. These details are individual “Parts” and these parts can be rearranged or removed as you desire. When you view the templates, you will start to see how things are laid out.
Another template to focus on, including the ones above, is wp-content/plugins/the-events-calendar/src/views/modules/meta.php.
Hope this help.
July 1, 2018 at 8:30 am #1565439infograbaweb.nl
ParticipantHello Mathew,
Sorry, I do not understand this at all. To complicated for me…
I just want to remove the organizer and detail block completely from my sidebar.
Do you have php script I can add to my avada child theme functions.php
Thanks again…
July 1, 2018 at 8:56 am #1565450Mathew
ParticipantPien,
Unfortunately there isn’t a function to do this.
The only way to rearrange or remove these metadata fields is through a template override. All of which is covered in the Themer’s Guide.
Now let’s discuss Avada. They have HIGHLY customized the view templates within The Events Calendar. When it comes to the metadata presented in the sidebar (venue, organizer, details, map, etc.), they have gone as far as to create additional templates that are NOT included in The Events Calendar. Since they were not created by The Events Calendar, you would need to contact their support on how to modify their custom templates. You will find their templates within the Avada theme directory. You can override their templates in the same manner as the core templates in The Events Calendar.
As you mentioned, if this type of customization is too complicated, then there’s a list of customizers who are familiar with this product and can help move your project forward.
Hope this helps.
July 2, 2018 at 7:59 am #1565911infograbaweb.nl
ParticipantThanks
July 2, 2018 at 6:13 pm #1566418Jennifer
KeymasterThanks for all of the great advice here Mathew!
Pien, if you are not able to get those sections removed with the template override, you can also hide them with CSS by setting them to “display: none”. If you would like to go this route and get stuck, please send me a link to the page, and I’ll try to point you in the right direction 🙂
Thanks,
Jennifer
July 4, 2018 at 12:16 am #1567363infograbaweb.nl
ParticipantHello Jennifer,
That would have been a lot easier. I tried this but could not find the right css classes…
I hired someone to fix my problems.. so everyting is fine now.Best regards,
PienJuly 4, 2018 at 4:50 am #1567475Jennifer
KeymasterHi Pien,
I’m glad to hear that they were able to get this working the way you need. If there is anything else that we can help with, please let us know!
Thanks,
Jennifer
July 4, 2018 at 4:50 am #1567476Jennifer
KeymasterHi Pien,
I’m glad to hear that they were able to get this working the way you need. If there is anything else that we can help with, please let us know!
Thanks,
Jennifer
July 26, 2018 at 9:35 am #1584128Support Droid
KeymasterHey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.
Thanks so much!
The Events Calendar Support Team -
AuthorPosts
- The topic ‘Change order sidebar – move own extra fields to top’ is closed to new replies.
