Forums / Extensions / eZ Flow / Trouble in displaying the Special Block in Exponential 4.0.1

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

Trouble in displaying the Special Block in Exponential 4.0.1

Author Message

Thirunavukkrasu Arumugam

Tuesday 10 March 2009 5:55:45 am

Trouble in displaying the Special Block in Exponential 4.0.1

I try to create a Special Block in Exponential 4.0.1.

I used inserted in block.ini

AllowedTypes[]=EventCalendar

[EventCalendar]
Name=EventCalendar (Manual)
NumberOfValidItems=1
NumberOfArchivedItems=1
ManualAddingOfItems=enabled
ViewList[]=EventCalendar
ViewName[EventCalendar]=EventCalendar

and also specied the tpl in override.ini.append.php

[block_event_calendar]
Source=block/view/view.tpl
MatchFile=block/event_calendar.tpl
Subdir=templates
Match[type]=EventCalendar
Match[view]=event_calendar

But it created the block. But it is not showing the block content.

it shows

Block: EventCalendar (Manual)
Annual Day Event Calendar..

instead of showing the calendar it shows only the block name and event name. What I have to do? I would like to show the event calendar on the front page itself.

Thanking you
Thiruarasu

Quynh Nguyen

Thursday 12 March 2009 11:22:15 pm

Try this:

[block_event_calendar]
Source=block/view/view.tpl
MatchFile=block/event_calendar.tpl
Subdir=templates
Match[type]=EventCalendar
Match[view]=EventCalendar

Note that:
Match[view] equal to the name of ViewList[]
ViewList[]=EventCalendar

I usually use this way:

AllowedTypes[]=EventCalendar

[EventCalendar]
Name=EventCalendar (Manual)
NumberOfValidItems=1
NumberOfArchivedItems=1
ManualAddingOfItems=enabled
ViewList[]=eventcalendar
ViewName[eventcalendar]=Display Event Calendar... writting in natural language

[block_event_calendar]
Source=block/view/view.tpl
MatchFile=block/event_calendar.tpl
Subdir=templates
Match[type]=EventCalendar
Match[view]=eventcalendar

I hope that you can find the exactly name to use in right location... good luck!