Share » Forums » Extensions » eZ Flow » Trouble in displaying the Special...

Trouble in displaying the Special Block in Ezpublish 4.0.1

Trouble in displaying the Special Block in Ezpublish 4.0.1

Tuesday 10 March 2009 5:55:45 am - 1 reply

Author Message

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!

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu