Skip Navigation

University of Nebraska–Lincoln

Web Developer Network Wiki

Herein Lies the Accumulated Knowledge of Mankind

UNL Event Publisher Template FAQ

[edit] General FAQ

[edit] After installing the UNL Event Publisher, nothing shows up when I go to the URL (or I get an error)

Most likely, you are using the default template provided with the UNL Event Publisher. This template is dependent on several UNL specific files which are not included in the package. In your frontend and manager index.php files, change the template from 'default' to 'vanilla'.

[edit] I have created a customized template, but the currently selected day is no longer highlighted

The highlighting of the current day is handled with javascript. Assuming your template is still using the frontend.js file provided in the default template, you probably need to update the todayHilite function. In the vicinity of line 264, you should find a line that reads:

var selectedDay = getElementsByClassName(document.getElementById('maincontent'), "h4", "sec_main");

Update 'maincontent' to whatever the id of your container element is. (Example: If your content is contained within a div which has an id of tasty_llama, you would change maincontent to tasty_llama)