1
twitaman
XtCal changing daily view event head color
  • 2004/9/15 1:39

  • twitaman

  • Friend of XOOPS

  • Posts: 270

  • Since: 2004/7/28


Every time I try and change the color of the header in the daily view (located in templates/extcal_daily_view.htm)I mess up the header. The default is a red #FF3333. All I do is change the hex value of the color and it screws up the header and shows the code in the header.

Like so: style="background-color: #CC3333;">

The only thing I did was change the numbers. Does anyone know what gives with this? Can you only use that red color?

2
twitaman
Re: XtCal changing daily view event head color
  • 2004/9/15 1:50

  • twitaman

  • Friend of XOOPS

  • Posts: 270

  • Since: 2004/7/28


Here's a strange thing that I noticed. I compared the file that I modified with the original file in the xtCal folder by opening up both html files in my browser. When I did I noticed a discrepancy, wherein the file I modified listed this bit of code:
<{if $dayevents[i].id == $id}> style="background-color: #CC3333;"<{/if}>><{$dayevents[i].title}>

In the original file that line looks like this:
style="background-color: #ff3333;"<{/if}>><{$dayevents[i].title}>

There's no <{if $dayevents[i].id == $id}> line. But all I did was change the #ff3333, why does this cause the mix up?

Login

Who's Online

148 user(s) are online (96 user(s) are browsing Support Forums)


Members: 0


Guests: 148


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits