Welcome to Geeklog, Anonymous Friday, March 29 2024 @ 11:14 am EDT

Geeklog Forums

new events not being shown


Status: offline

lokki

Forum User
Chatty
Registered: 03/19/05
Posts: 59
Hi all

I have a little problem - I add events to the site calendar for some month ahead, but those events are not shown in What's New block - no calendar section there. Calendar config.php is default, so I don't know why that events are not shown. Can you help me please?
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Events only show up in the separate "Upcoming Events" block, so make sure your have that activated. And by default, it only shows events for the next 14 days.

bye, Dirk
 Quote

Status: offline

lokki

Forum User
Chatty
Registered: 03/19/05
Posts: 59
OK, thanks, found that Smile

Another question - why does calendar use "strftime" in that phpblock_calendar? If you use that, it translates days/month to English and not to user's selected language... Month and days' names are translated in language files, so why not use them?
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Make sure to set your locale (also in config.php) correctly and the month / day names should show up in your language.

But I have to agree: The calendar uses texts from the language files in some places but relies on the locale setting in others. That's inconsistent and should be cleaned up some day. It's especially awkward on multi-language sites.

bye, Dirk
 Quote

All times are EDT. The time is now 11:14 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