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

Custom CMS Pages Layout
 
seoguy
Member
 
Total Posts:  46
Joined:  2008-01-25
 

Hi,

Just wondering if it is possible to have each cms page use its own design, like categories and product pages can.

My problem:  I am using:
{{block type="catalog/product_list" category_id="PLACE THE CORESPONDING CATEGORY NUMBER HERE"}} on my cms page to call product categories.  However, I want to customize the grid template for one of the cms pages. But of course the cms page calls the default template.

Any help would be appreciated.

Chris

 
Magento Community Magento Community
Magento Community
Magento Community
 
Moshe
Magento Team
 
Avatar
Total Posts:  1770
Joined:  2007-08-07
Los Angeles
 

{{block type="catalog/product_list" template="YOUR_TEMPLATE_HERE" category_id="PLACE THE CORESPONDING CATEGORY NUMBER HERE"}}

 
Magento Community Magento Community
Magento Community
Magento Community
 
seoguy
Member
 
Total Posts:  46
Joined:  2008-01-25
 

Hi Moshe,

How would that look:

{{block type="catalog/product_list" template="YOUR_TEMPLATE_HERE" category_id="PLACE THE CORESPONDING CATEGORY NUMBER HERE"}}

{{block type="catalog/product_list" template="babyfavors" category_id="13"}}

(babyfavors is the template pkg (like default)

design/frontend/default/babyfavors

or do I need to call the phtml file specifically?

/app/design/frontend/default/babyfavors/template/catalog/product/list.phtml

{{block type="catalog/product_list" template="babyfavors/template/catalog/product/list.phtml" category_id="13"}}

I know its neither one of the above since I tried it and it produced errors.

Thanks for your help!!!

Chris

 
Magento Community Magento Community
Magento Community
Magento Community
 
Moshe
Magento Team
 
Avatar
Total Posts:  1770
Joined:  2007-08-07
Los Angeles
 

I’m sorry, i should have been more explicit:

{{block type="catalog/product_list" template="catalog/product/list.phtml" category_id="13"}}

We will add capability to specify the theme for CMS pages in next releases.

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