Welcome to Geeklog Saturday, September 21 2019 @ 08:23 pm EDT

Geeklog Forums

new events not being shown


Status: offline

lokki

Forum User
Chatty
Registered: 19/03/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?

Status: offline

Dirk

Site Admin
Admin
Registered: 12/01/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

Status: offline

lokki

Forum User
Chatty
Registered: 19/03/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?

Status: offline

Dirk

Site Admin
Admin
Registered: 12/01/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

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