Welcome to Geeklog, Anonymous Monday, May 20 2024 @ 11:41 pm EDT

Geeklog Forums

Upcoming events and font colors


There doesn't seem to be an html template for the Upcoming Events Block. So I can't change the font colors for event day name and date on the block without hacking code. I'd like to comment out the function for Upcoming Events in lib-common and copy it to lib-custom. Then I'd like to add a class statement to the text in the block so I can change colors without touching code each time. Unfortunately, in the lib-common code for the Upcoming Event block the day name and date are being read into $retval like this:

Text Formatted Code
$retval .= '<br><b>' . $dayName1 . '<b> <small>' . $abbrDate1 . '</small>';


How can I add something like class="dayname" and class="date" to these statements so that they respond to the proper entry in the style.css file?

All times are EDT. The time is now 11:41 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content