Forum Replies Created
-
AuthorPosts
-
October 26, 2016 at 2:16 am in reply to: Problems with Event Tickets Plus with Marketpress German Market Plugin #1183068
Matthias
ParticipantHey Nico
Thanks for your quick answer. The guys at Marketpress also say, that I should ask you guys. I understand the problem that you both don’t know the code of each other. But as a customer it is quite frustrating. And, as you say, I also don’t understand why they don’t have a English site as well, so the communication would be easier.
Anyways, I found another plugin that is doing the trick and will replace the German Market plugin. With that in mind, marketplace wanted to take a look at the code now. I will let you know what they will find, maybe some of your customers will run into that problem again in the future…
Thanks,
MatthiasMatthias
ParticipantHey Brian
Thanks for your answer. I included the plugin that should expand the entries of the json file with the additional event information. And I also changed the tooltip.php to display the additional information. But there is nothing showing up in the tooltip. How is this templating system working. And where would be a good point to debug the additional information?
Thanks,
MatthiasMatthias
ParticipantHey Geoff
Writing the above reply made me digging into the code a bit deeper again. I solved my issue now by myself using the tribe_events_week_event_attributes filter that is used within the single-event.php.
There I fetched the event attributes and recalculated the event duration. I hope it doesn’t bring me into any other trouble on any other parts of the site…
Thanks,
MatthiasMatthias
ParticipantHey Geoff
Thanks for your reply! I sent you a private reply with my system details as well. Attached is a screenshot of my calendar as well. As you can see, the problem is not the CSS settings. I have already overwritten the default styles and increased the height of the div-blocks.
My problem is within the Javascripts. The height of the event is calculated with the help of the duration within the tribe-events-week.js:
line 225:
event_length = $this.attr( "data-duration" )As the duration of the event is 2 hours the length is 2x60min, so 120px. But as I set the div height of an hour to 100px in CSS, I would need to recalculate that Javascript value so it returns 200px. Is there kind of a best way to do that?
Thanks,
MatthiasMatthias
ParticipantThis reply is private.
-
AuthorPosts
