Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

how to show categories on frontend
 
bl4d3
Jr. Member
 
Total Posts:  3
Joined:  2008-06-09
 

Hello,
i’m a newbie here, I created a category with some products, a static block (id: produ) linked at the category.
I was wondering how to show my category in the front end, I think I have to insert the code about the block somewhere...but i don’t know where?
Any hint?
Thanks many

 
Magento Community Magento Community
Magento Community
Magento Community
 
mipecera
Jr. Member
 
Total Posts:  5
Joined:  2008-10-15
 

I was going to open a new post with this question.

Ok, I have found some PHP code to solve it on other post, but I think Magento must have a simple block code to put it on the home page without to write new PHP files on Magento…

If anyone knows about it please answer before writing new PHP files…

The post about PHP code is this one

 
Magento Community Magento Community
Magento Community
Magento Community
 
eklusman
Jr. Member
 
Avatar
Total Posts:  25
Joined:  2008-10-09
 

If you want that block to appear at the home you need to go to CMS / Manage Pages, there chose the home page and in the design you can add this code:

<block type="cms/block" name="xxxxx">
<action method="setBlockId"><block_id>xxxxx</block_id></action>
</block>

where xxxxx is the id of the static block you created.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top