Forum Replies Created
-
AuthorPosts
-
January 12, 2013 at 1:18 pm in reply to: Unable to edit recurring events after WP 3.5 update; hotfix installed #30679
Jonah
ParticipantHi Jen,
Two more questions:
1. What are you changing when you edit?
2. Are you choosing to apply the changes to only this event or all events?– Jonah
Jonah
ParticipantSure James, so if you’re modifying this CSS:
.events-archive .hentry {
margin:0;
padding: 0 0 15px 0 !important;
border-bottom: 1px dashed #CCCCCC;
}
Add whatever you want to change, let’s say the border to black, to your theme’s style.css file like so:
#main .events-archive .hentry {
border-bottom: 1px dashed #000;
}
Putting the #main div selector before the other selectors will give it a higher score and apply that CSS instead of the other CSS declared in our plugin. You don’t have to use #main either, you can use any other parent div or element to give it a higher score. ID’s weigh the heaviest though with classes coming next. You can read more about specificity here: http://css-tricks.com/specifics-on-css-specificity/Cheers,
JonahJonah
ParticipantHey James,
Glad you figured that out. I want to point out though that you should not edit that copy of the events.css file because your changes will be lost the next time you update. Instead, put your custom CSS in your theme’s style.css file and use a higher specificity to override our plugins CSS. Using a higher specificity just means adding a class or ID selector before the existing selectors to make the declaration more specific.
I hope that helps but let me know if you have any questions.
Thanks,
JonahJanuary 11, 2013 at 10:39 am in reply to: Unable to edit recurring events after WP 3.5 update; hotfix installed #30638Jonah
ParticipantHi Jen,
That’s strange, I’m not seeing the same behavior. Is this in the calendar view or list or everywhere? Do you have some examples I can take a look at? I’ve tried just a basic example of adding a recurring event and changing some info and then checking the links in the calendar but are there any specific steps you can provide to reproduce this? Is it happening in all cases? Have you modified the template files in anyway that could be affecting the links being used for events? I also wonder if this is somehow a conflict with another plugin or your theme? Have you tried deactivating all other plugins and/or reverting to the Twenty Twelve theme?
– Jonah
Jonah
ParticipantHi Arvid,
We don’t have any shortcodes available but you can use a custom query to achieve this. Take a look at our documentation for some examples: https://theeventscalendar.com/support/documentation/the-events-calendar-template-tags-general-functions/#functiontribe_get_events – the second example shows how to specify a date range and you can play around with the dates to achieve what you need.
I hope that helps!
– Jonah
Jonah
ParticipantHey Duncan,
That’s an awesome hack, thank you for sharing. It should be noted that this approach is modifying core plugin files and these modifications will be lost upon update so be sure you are aware of this!
We do have this on our radar to add in a future version too.
Thanks,
JonahJanuary 10, 2013 at 3:04 pm in reply to: Navigation missing from events calendar and community events form #30614Jonah
ParticipantHi Nikki,
Can you send us a copy of your theme so we can check things out? You can email to pro [at] tri [dot] be and attn. to me and I’ll take a look as soon as I can.
Thanks,
JonahJonah
ParticipantHey Lindy,
Well here’s what you can do that may be easier. Go back to using the default page template and then edit your page.php template in your theme (which is the default page template) with your custom code.
– Jonah
January 10, 2013 at 2:53 pm in reply to: Unable to edit recurring events after WP 3.5 update; hotfix installed #30612Jonah
ParticipantHi Jen,
Ok I have a patch for you to try replacing /wp-content/plugins/events-calendar-pro/resources/events-admin.js with this copy: http://cl.ly/code/1v382M03033d
Make sure you clear your browser cache and logout/log back into WordPress before trying it out again.
Let me know how that goes.
Thanks,
JonahJonah
ParticipantHey Steve,
You’re welcome. We’d actually be delighted if you left us a review here: http://wordpress.org/support/view/plugin-reviews/the-events-calendar
Thanks and let us know if you need anything else.
– Jonah
Jonah
ParticipantHey Steve,
Ah, ok. Open up content.php and replace line 15 with the following code: https://gist.github.com/4505819 – that should do it!
– Jonah
Jonah
ParticipantHi Steve,
I got the theme, thank you. How do you have your events page configured with the theme? I.e. what Events Template do you have set in Events > Settings > Template? Or, is there any other special configuration you have set? I’m just trying to reproduce the issue with the theme on my end…
Thanks,
JonahJanuary 10, 2013 at 12:40 pm in reply to: Navigation missing from events calendar and community events form #30603Jonah
ParticipantHi Nikki,
Sorry about this. Have you tried changing the Events Template in Events > Settings > Template to something else?
– Jonah
Jonah
ParticipantHi Lindy,
Make sure are using the Default Events Template in Events > Settings > Template and that you’ve put the code in an override copy of /wp-content/plugins/the-events-calendar/views/ecp-page-template.php placed in an ‘events’ folder in your theme. You might also need to wrap that PHP code in PHP tags like the other code.
Does that help?
– Jonah
Jonah
ParticipantHi Steve,
It looks like header.php doesn’t contain the title. The theme must be setting the title somewhere else if you don’t have a page.php template. If you can provide me a copy of the theme I’ll take a quick look and see if I can figure it out. You can email that to pro [at] tri [dot] be and attn. to me.
Thanks,
Jonah -
AuthorPosts
