Home › Forums › Calendar Products › Events Calendar PRO › The Events Calendar User CSS plugin
- This topic has 10 replies, 3 voices, and was last updated 13 years, 8 months ago by
Andy Fragen.
-
AuthorPosts
-
July 26, 2012 at 10:43 pm #22816
Andy Fragen
ModeratorOK, so I’m trying to make it simpler to use a smaller CSS override file with The Events Calendar. You know the one you put in your /my-theme/events/events.css.
What this plugin does is allow you to only have the changes in your files. It will automatically load the default events.css and then load your overrides. This means you don’t have to duplicate anything your file. It should work with both The Events Calendar and the Community Events add-on.
You can get it at http://wordpress.org/extend/plugins/the-events-calendar-user-css/
July 27, 2012 at 10:31 am #22851Rob
MemberThis is awesome, Andy! Thanks for sharing…this should be of some real value to folks. I’ve asked Paul to take a quick look and make sure he doesn’t see anything that could pose conflicts with the next build we’ve got in the works. Once I get word from him that we’re A-OK here I’ll make this thread sticky so others can see it easily.
Also planning on doing a nice writeup of you / your work here on the tri.be site once some of the other issues die down. As both Joyce and Jonah (2/3 of the support team) are out for the time being, I’m handling support pretty much singlehandedly and will probably need to wait until I have some backup on that end before I can jump back into feature post writing.
July 27, 2012 at 4:56 pm #22867Andy Fragen
ModeratorActually Rob, if Paul gets some ideas from it feel free to roll it into 2.1 or later. I wrote it cause I thought it would make instructions regarding CSS overrides simpler, but it’s really something that should be baked in. Proper attribution greatly fully accepted. 😉
August 13, 2012 at 8:44 am #23602Gerald
ParticipantAwesome. This promises to be a terrific plugin for us! Thank you so much, Andy. Before we start testing and implementing, I would love to wait for Rob’s reply based on your recent discussion. Looking forward to it.
August 13, 2012 at 5:15 pm #23613Andy Fragen
ModeratorPhillipp, really the plugin will either work or not. If it doesn’t I’d really like your help in figuring out why and to make it work. Remember, the idea behind it is that you don’t need to replicate the content of /the-events-calendar/resources/events.css in your overrides events.css file. I have it working for me on a couple of sites but I’m not using Community Events and I’d love to know if it’s working there as well.
If it doesn’t work for you all you really have to do is deactivate the plugin and add the following to the top of your events.css file.
@import url(‘http://yoursite.com/wp-content/plugins/the-events-calendar/resources/events.css’);
And it should all work again. Let me know if you have any issues.
August 15, 2012 at 8:02 am #23693Rob
MemberHey Philipp: you should definitely go ahead and give Andy’s tool a shot. Our devs have been providing some feedback along the way but if it looks like it’d accomplish what you’re going for, there certainly aren’t any risks with the code or issues you need to be concerned about in that capacity. And as you can see, Andy is responsive in providing answers if you have questions or problems along the way.
August 20, 2012 at 10:19 pm #23857Gerald
ParticipantHi Andy/Rob,
Appreciate your replies. I am looking forward using the plugin. In fact, I am trying to install it, but for some reason, I encounter a problem in the installation process. I posted my question on the WordPress Plugin support site.
Andy, I’m not yet using the community events plugin, but chances are good that I will be using it in the near future. When I do so, I will be most happy to provide feedback to you in terms of how your plugin works with that.
August 20, 2012 at 11:32 pm #23859Andy Fragen
ModeratorPhillip,
I’ve made the same response in the plugin support site. It’s probably better to keep this part of the thread over there. 😉
I think you misunderstand what the plugin does, or I haven’t made it explicitly clear.
In order to override and customize The Events Calendar, there is a builtin facility described in Themer’s Guide for The Events Calendar. The user needs to create their own events folder inside of their active theme folder. Within this folder a file called events.css can be created to contain override CSS code.
This plugin allows for only the custom code to be inside of this file, whereas the official instructions say to copy all the code from the core file into this new file. My plugin just makes this process more efficient by leaving all the core CSS in place and only have your overrides in this file.
August 22, 2012 at 2:06 pm #23973Gerald
ParticipantSure, Andy, let’s follow-up over there. In fact, we can can close the issue, since now I understand, what the plugin does – and it works! Fantastic.
August 22, 2012 at 7:34 pm #23980Andy Fragen
ModeratorExcellent!
August 24, 2012 at 8:03 am #24052Andy Fragen
Moderator@Rob, I just installed the Community Events plugin and discovered that it handles custom CSS exactly as it should. There are enqueue commands for both the default CSS and if an override CSS file exists then an enqueue command for that CSS file is also issued.
I didn’t look to see how this was accomplished but I would recommend this method be incorporated into TEC. I would love to EOL this plugin. 😉
-
AuthorPosts
- The topic ‘The Events Calendar User CSS plugin’ is closed to new replies.
