Forum Replies Created
-
AuthorPosts
-
karenk
ParticipantHello Victor,
You refer to the code to $fields = tribe_get_option( ‘custom-fields’ ); to render the custom fields I need. Without a more specific response, I do not know how to accomplish this.
I kinda hoped that being able to use additonional fields, I would also be able to integrate them nicely on my form. Now I won’t be able to use them properly.
If you have any more tips to help me get going, it would be appreciated.
October 5, 2018 at 1:19 pm in reply to: Is it possible to use shortcode to embed "create new event" on a page #1638545karenk
ParticipantThank you for your answer, but nothing really changes. The page does not get the look of my divi theme.
If you have any tips on how to style the page more than it would be appreciated.karenk
ParticipantThis reply is private.
karenk
ParticipantThis solution worked fine for the word appearing in a strange place!
Starts looking better and better 🙂I will upload the files of my child theme in a private reply.
karenk
ParticipantHi Victor,
Thanks for your reply.
I found the info on the custom.php and edit-event.php. However I could not find documentation on how to list the fields seperately. I read somewhere that this is possible, but I do not know how!
I added different additional fields that are NOT related. I want them to appear on different spots on the “add event form”, and not all together as “additional fields”.
My question is:
How can I find the names of each additional field and add them seperately to my “add event form”?karenk
ParticipantSorry forgot the screenshot. Here it is
karenk
ParticipantHi Victor,
Great that worked for the images to all be the same width. The height was already solved, so that looks good for now. The code might be usefull for other users and is:
.tribe-events-adv-list-widget .tribe-event-image img {
width: 100%;
}/*****************************/
/*Events calendar arrange pictures horizontal */
/*****************************/
/* Event Calendar images different size list widget */.et_pb_widget_area .et_pb_widget.tribe-events-adv-list-widget .type-tribe_events .tribe-event-image {
max-height: 150px;
overflow: hidden;
}/*****************************/
/* Event Calendar horizontal view and images different size list widget */
.et_pb_widget_area .et_pb_widget.tribe-events-adv-list-widget {
width: 100% !important;
}
@media only screen and ( min-width: 768px ) {
.et_pb_widget_area .et_pb_widget.tribe-events-adv-list-widget .type-tribe_events {
width: 30%;
float: left;
margin-right: 3%;
}
}There is one thing that kinda looks weird. That is the word that appears next to the images. I added a screenshot so you can see what I mean. Any idea how to remove that?
The question about the theme was not totally clear I think. What I meant was:
– My child theme is active
– Changes added to function.php in child theme work fine
– Changes for Events Calendar made in child theme (tribe-events directory) do not work,
– If I add changes to tribe-events in my divi theme (when child is still active) they do work.
-Question is: Events Calendar uses files from original Divi theme although my Child theme is active. Any idea what could cause this?karenk
ParticipantHi Courtney,
Yesss its working!
Thank you very much. I’m very happy that it is solved.
karenk
ParticipantSomething strange happened. I wanted to add some code but now half the message vanished.
Anyhow about the images. I was testing a bit to see what templates were loaded so it got kinda mixed up. Now its ok again. You can see them on the home page again on the bottom.
I got code from the divi team to get the listing horizontal. Very happy with that too. I tried to share it with you, but it did not go ok. I thought maybe other divi users wanting to do the same in events calendar can benefit from it. If you want me to share it please let me now to get the code to you.
karenk
ParticipantMaybe other divi theme users can apply this too if they have the same question.
I do not have a solution for getting the images all the same size on the screen though. Any ideas?
Just to make sure about the usuage of a child theme. WordPress shows me that my child theme is activated. But Events CAlendar is using my normal Divi theme to get the templates etc from. Should I change anything in Events Calendar or should this go automatically and is my child theme broken?
karenk
ParticipantHi Victor,
1. I had a look and yes I was using the divi theme instead of divi child. So that is working correctly now. Thank you for pointing me to that solution.
2, I’m testing the widget on the website http://www.nieuwevriendinnen.nl. On the bottom you can see the widget. I hope you can find a way to change the size of the image.
3, I will have a look with the divi team if they can help me furter with the css, because the code that you refer to that is written by Salliem is made for a different theme.
karenk
ParticipantIf I put the file into the directory where the themers guide refers to under my child theme
(in the directory tribe-events\community\modules) it is not working.In the original image.php file the line that you refer to is not there. There is a line that looks simular
$size_format = size_format( tribe( ‘community.main’ )->max_file_size_allowed() );
However if I change the max file size allowed to 4194304 the template is not functioning properly anymore.
I would appreciate it, if before you point me to “old” tutorials, you would check to see if it is still applicable to the current version.
my question:
1: what do I change in the image.php file so the maximum size of images can be limited.
2: where do I put the file under my child theme, seeing that the directory referred to in the themers guide is not working
Thanks in advance,
Karenkarenk
ParticipantThank you for the new file.
The images show now.
It works only if I put it in the original destination file under plugins/events-calendar-pro/src/views/pro/widgets/modules.
If I put it under the /tribe-events/pro/widgets/modules/ under my child theme it is not working!
Can you please check if this is the right directory to put the file under. Because if I leave
it like this, the changes will be overwritten when there will be an Events Calendar update.The size however is not ok. It does not even show it as a square. However when I look at my media settings in wordpress its set to 150 by 150.
So the questions remaining are:
1. where to put the single-event.php file, so it will not be overwritten
2. How to get the thumbnails to show in the same sizes (preffered size is rectangular)
3. Do you have any css code for me, so I can edit the template and reflect horizontal listing of the widget
Thanks in advance,
Karenkarenk
ParticipantI’m not clear on the following.
I should put the image.php in a directory under my child theme right? Because the directory I’m reffering to under point 1 is the original file.
Can you please specify where to put the file exactly.
karenk
ParticipantHello Victor,
I had already found the instructions that you refferred to under number 1: But I ran into some problems, so I figured this was not the right way to do this. Now you refer to the same article, so it must be the way to get this working.
At first when I created the single-event.php in the tribe-events/pro/widgets/modules/ directory under my child theme it worked. The images showed. Then suddenly they did not anymore. I figured this was due to cache. But I cleared it and still nothing happened. So I deleted the single-event.php file and downloaded a new copy of the file from the github that you refferred to.
I do not see any changes appearing. So it looks like the file is ignored. Even when I change something else, for example not to show country in the list widget the changes do not reflect.
Do you have any idea whats going on?
I’m kinda of dissapointed that simple changes to the look of the widget are not standard available in the PRO version of events calender. It takes so much time to get simple changes done.
-
AuthorPosts
