Forums / Extensions / eZ Flow / Trouble in displaying the Special Block in Exponential 4.0.1
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[]=EventCalendarViewName[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]=EventCalendarMatch[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 youThiruarasu
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]=EventCalendarMatch[view]=EventCalendar
Note that: Match[view] equal to the name of ViewList[]ViewList[]=EventCalendar
I usually use this way:
[EventCalendar] Name=EventCalendar (Manual) NumberOfValidItems=1 NumberOfArchivedItems=1 ManualAddingOfItems=enabled ViewList[]=eventcalendarViewName[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]=EventCalendarMatch[view]=eventcalendar
I hope that you can find the exactly name to use in right location... good luck!