Welcome to Geeklog Thursday, January 20 2022 @ 02:11 pm EST

Geeklog Forums

Event Block


Status: offline

Tom_D

Forum User
Newbie
Registered: 13/07/05
Posts: 5
Location:Napa
I have updated a site to 1.4.1 and don't see any way to get the upcoming events to show as a block.
 Quote

Status: offline

Tom_D

Forum User
Newbie
Registered: 13/07/05
Posts: 5
Location:Napa
OK, I guess I need to explain more about what my problem is.

I have set the plugin config.php file as show below and nothing shows up in the block configuration menu or on the home screen of the site.

I am probably missing something basic but someone needs to hit me on the head to get my attention and then point me in the right direction as I need to get the up coming events to show on the site.

PHP Formatted Code
// Calendar Settings
$_CA_CONF['personalcalendars']     = 1;
$_CA_CONF['showupcomingevents']    = 1;
$_CA_CONF['upcomingeventsrange']   = 190; // days
 Quote

Status: offline

beewee

Forum User
Full Member
Registered: 05/08/03
Posts: 969
Location:The Netherlands, where else?
The Calendar used to be a part of Geeklog, it is now a separate plugin, which is a part of the GL tarball. Is this Calendar plugin enabled? When yes, do you see an events block at all, or just an empty block?

Try to make a php block with "phpblock_calendar".

BTW the config settings seem to be OK.
Dutch Geeklog sites about camping/hiking: www.kampeerzaken.nl | www.campersite.nl | www.caravans.nl | www.caravans.net
 Quote

Status: offline

Tom_D

Forum User
Newbie
Registered: 13/07/05
Posts: 5
Location:Napa
Under Plugins is shows:calendar 1.0.0 1.4.1 Enabled is checked.

There is no eventblock at all.

Creating a php function block calling phpblock_calendar solved the problem.

Thanks you very much for your help.

Tom
 Quote

Status: offline

beewee

Forum User
Full Member
Registered: 05/08/03
Posts: 969
Location:The Netherlands, where else?
Glad to be able to help somebody. I'm no developer, so I'm glad it works fine.... :wink:
Dutch Geeklog sites about camping/hiking: www.kampeerzaken.nl | www.campersite.nl | www.caravans.nl | www.caravans.net
 Quote

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