I’m trying to set up a static block for my categories. I created a phtml file, then linked this file to the static block I created:
{{block type="catalog/navigation" template="catalog/navigation/sub_navigation.phtml"}}
Then I went the Cataglog->Manage Categories and selected"Static Block Only” under Display Setting->Display mode. I selected the static block I just created.
However, when I navigate to that category on my site, it just displays the regular category view (the layout I created under template->category->view.phtml in my template folder).
Any idea what I’m doing wrong here? I tried re-indexing everything, to no avail.
Best Answer
First test with anything else, remove the
{{block}}
from the CMS block and write something in it, does it work?If no
then you have a problem with the view of ANY block. Check your
app/design/frontend/<base>/<default>/template/catalog/category/view.phtml
for this entry:If yes
Something with your block is wrong or with the template. Check the template and the
system.log
for errors