I use Jevents on a couple of sites and while I like the way it works out of the box, it could really use the hand of a designer on the templates that it ships with. As a result, I find myselft having to modify the templates to look the way my designer wants them to look without having the risk of an update to Jevents wiping out all of my changes.

To do this, you need to create a new Jevents template. This is more of an outline than preciese step-by-step instructions but hopefully it will allow you to accomplish the task.

  1. Using Windows explorer, go to components/com_jevents/views/ and copy the whole geraint directory an rename it geraint2 for example. You could also start with another template but this is the one I've used in the past successfully.
  2. Depending on which modules you are planning to use on the site, you need to duplicate those as well. So, for example, I'm using the mod_jevents_cal module to display the calendar. Go to modules/duplicate mod_jevents_cal/views and again duplicate the geraint directory and rename it geraint2.
  3. Repeat this process with all the modules you are planning to use on your site. Jevents will now allow you access that template and use it.
  4. Now, go to each of the Geraint2 directories that you created. You need to make some code level changes as well in the new views that you've created. I use Dreamweaver to do a search and replace on all the files in the new geraint2 directory to rename all incidents of the word geraint in those files to be geraint2.
  5. Manually edit any file name that has the word geraint in it and change it to custom.

Now, some of the parts of the geraint template are designed to just use the equivalent part from the default template, so you need to copy the code from those elements and replace the file with the same name in the new template you've created.