Two things to note.
1. Make sure your custom block does exist.
As per your layout update, this is your custom block definition.
<block type="fljob/jobs_list" name="home_jobs_list" template="federallawyer/fljob/jobs/home/list.phtml"/>
So in order to load this block, the block type fljob/jobs_list
should be defined in your module. So your block should be somthing like this.
File : app/code/<your_moudule's_codePool>/Namespace/Module/Block/Jobs/List.php
<?php
class Namespace_Module_Block_Jobs_List extends Mage_Core_Block_Template
{
}
2. You should set an alias name for your custom block.
This is how an alias name is provide to your block.
<block type="fljob/jobs_list" name="home_jobs_list" as="jobs_list" template="federallawyer/fljob/jobs/home/list.phtml"/>
Alias name of block is what you should refer in page.phtml
. So in the above case, since we are set an alias name jobs_list
, this is how you can call your custom block inside page.phtml
.
<?php echo $this->getChildHtml('jobs_list'); ?>
Last but not least, you should clear all cache and then load the page again. Miracle will happen. You have my word on it. :-)
fljob/jobs_list.php
) in your custom extension?