Welcome to Geeklog, Anonymous Friday, September 30 2022 @ 11:06 am EDT

Geeklog Forums

Changing the Events Block Formatting?


Status: offline

donm1021

Forum User
Chatty
Registered: 12/31/05
Posts: 56
We have the events block displayed in one of our columns on our site - however, we would like to change the formatting of the events being displayed.

For example, we would like the title of the event to be displayed first followed by the date shown as Month (name spelled out rather than a number)/day/year.

What file would I have to edit in order to change the event block formatting?

Thanks!

Donm
 Quote

Status: offline

donm1021

Forum User
Chatty
Registered: 12/31/05
Posts: 56
Anyone have any idea which file would need to be edited to change the formatting of the event block?

I looked inside the "layouttheme "block" and "event" directories didn't really see anything there that looked like the file to change?

Can anyone point me in the right direction?

Thanks!

 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
The date format is the one set by the $_CONF['dateonly'] variable. The rest is pretty much hard-coded in function COM_printUpcomingEvents in lib-common.php

bye, Dirk
 Quote

All times are EDT. The time is now 11:06 am.

  • 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