I know of two ways to add a static block to a template. I'm wondering which correct method, I suspect the second method is, but why? Are both correct?
METHOD 1: $this->getLayout()->createBlock()
Create a static block in Magento admin and call it from within your template file with the code below.
<?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('something_custom')->toHtml() ?>
Method 2: $this->getChildHtml()
Similarly create a static block in Magento admin but first declare it in your layout xml with:
<block type="cms/block" name="something_custom">
<action method="setBlockId"><block_id>something_custom</block_id></action>
</block>
And then call it from within your template file with the code below.
<?php echo $this->getChildHtml('something_custom') ?>