Ezpublish Ezflow special block (Hello World) Print
User Rating: / 13
PoorBest 
Written by Zhiwen Teh   
Thursday, 26 February 2009 11:59

This tutorial provides a step by step guide on how to create a special block for the ezflow extension on ezpublish.

Step 1

Go to location and open file extension>ezflow > settings > block.ini.append.php

insert entries

AllowedTypes[]=HelloWorld

[HelloWorld]
Name=Hello World
ManualAddingOfItems=disabled
ViewList[]=hello_world
ViewName[hello_world]=Hello World

Step 2

Go to location and open file settings > siteaccess>(your site name) > override.ini.append.php

Insert Entries

[HelloWorld]
Source=block/view/view.tpl
MatchFile=block/hello_world.tpl
Subdir=templates
Match[type]=HelloWorld
Match[view]=hello_world

Step 3

Go to location and create file extension > ezflow > design > ezflow > override > templates > block > hello_world.tpl

Insert Entries

Hello World

Step 4

  • Log into your ezpublish administrator control panel and navigate to setup
  • clear your cache

Step 5

Done.

You will be able to include this newly created special block Hello World the next time you edit your front page content object.