Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Javascript in Custom Pages - attempting FullCalendar implementation

Please pardon my ignorance, but I am having a difficult time creating a Custom Page to suit my needs. Basically I want to employ Adam Shaw's FullCalendar. I am having difficulty rendering the calendar within a Custom Pages php file.

FullCalendar instances can be rendered on HTML pages. These HTML pages require FullCalendar.js, jquery, and CSS in the HEAD per usual, and the calendar itself is called in a DIV. Simply copying and pasting FullCalendar demo html into a Custom Pages php file does not work ( though I did not think it would). I would greatly appreciate any insight into:

1. How to load the appropriate javascripts from a Custom Pages php file
2. Where to keep the actual JS and CSS files (../pages/ ?)

Can anyone shed some light on this for me?

I have also started tinkering with trying to create this as a plugin but this has proven to be equally frustrating for this non-programmer.


  • oliverraduneroliverraduner Contributing to Vanilla since 2010 Switzerland ✭✭
    edited March 2011
    Probably you can get better ideas about what is not working exactly by checking the error logs with FireBug (Firefox) or in the Developer console (Safari)... That helped me a lot in the past when I had troubles with CSS & JS includes in my vanilla forum.
  • Thank you. I will take a look.
Sign In or Register to comment.