Getting started

15 views
Skip to first unread message

Bill

unread,
Apr 22, 2011, 10:15:26 AM4/22/11
to UNL Event Publisher
Hi,

I've long been a fan of the UNL calendar and this software. We're
looking at replacing our existing, home-grown calendar system and I'm
trying to get the UNL system installed in a test system. I've run into
a few -basic- issues that I am hoping you can help me with.

I think I have it running fine -- installed via subversion and the
application loads, etc. No errors.

But, I am having trouble with the look and feel. For now, I want
something that's presentable, just so we can test. I've emailed Brett
and he suggested that the "default" theme is the one to start with.

I've changed all instances of "vanilla" in the the config.inc.php to
"default" and my calendar does not look very different. It certainly
does not look as nice at UNL's! :)

Also, when I view the source of the pages, I see:

<link rel="stylesheet" type="text/css" media="screen" href="templates/
vanilla/screen.css" />
<link rel="stylesheet" type="text/css" media="screen" href="templates/
vanilla/css/fullcalendar.css" />

This tells me that I've not successfully switched templates to
default.

Finally, the "home page" of the calendar just shows a huge calendar
view. Again, not at all like UNL. it looks like this:

http://imgur.com/Tn3ju

Could someone tell me what I am doing wrong? Thanks!

-Bill

Brett Bieber

unread,
Apr 22, 2011, 11:46:27 AM4/22/11
to unl-event...@googlegroups.com
Hi Bill,


On Fri, Apr 22, 2011 at 9:15 AM, Bill <denne...@wheatoncollege.edu> wrote:

But, I am having trouble with the look and feel. For now, I want
something that's presentable, just so we can test. I've emailed Brett
and he suggested that the "default" theme is the one to start with.

I've changed all instances of "vanilla" in the the config.inc.php to
"default" and my calendar does not look very different. It certainly
does not look as nice at UNL's! :)

Also, when I view the source of the pages, I see:

<link rel="stylesheet" type="text/css" media="screen" href="templates/
vanilla/screen.css" />
<link rel="stylesheet" type="text/css" media="screen" href="templates/
vanilla/css/fullcalendar.css" />

This tells me that I've not successfully switched templates to
default.

Finally, the "home page" of the calendar just shows a huge calendar
view. Again, not at all like UNL. it looks like this:

http://imgur.com/Tn3ju

Could someone tell me what I am doing wrong? Thanks!

It could be that the output you're seeing is cached. I would empty the cache and see if that fixes it. From the Template customization docs:
  • Note, all output is cached for performance so template changes will not be immediately available unless the cache is cleared.
    • You can clear the cache by adding $front->cleanCache(); to your index.php file just before UNL_UCBCN::displayRegion($front); (source) or delete the /tmp/cache_* files.
More info here:
http://code.google.com/p/unl-event-publisher/wiki/TemplateCustomization


--
Brett Bieber
University of Nebraska-Lincoln

Bill Dennen

unread,
Apr 22, 2011, 11:54:23 AM4/22/11
to unl-event...@googlegroups.com
> It could be that the output you're seeing is cached. I would empty the cache
> and see if that fixes it.

yes! That was it. I also needed to upload the "wdn" directory to my
server to get the rest of the look/feel files.

Thanks.

-Bill

Reply all
Reply to author
Forward
0 new messages