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

choosing layout for cms page
 
Arslan
Jr. Member
 
Total Posts:  5
Joined:  2007-11-21
 

Hello everyone!

We have chosen magento for our first ecommerce project and are very happy about that decision.
After reading the design guideline, i could make the necessary changes relatively quickly!
Have to say, that the team has made a great job.
But still there are two questions I have:

1. How do i assign my own template to a CMS page? In the administration i only see a dropdown with the standard templates...?!
2. Since I didn’t know about #1 I wanted to use the “Layout Update XML” section of the page as follows:

<reference name="root">
<action method="setTemplate"><template>page/my_template.phtml</template></action>
</reference>

but… with no effect…
was i naive in my expectation, that this field works this way?

Thanks in advance!
Arslan

 
Magento Community Magento Community
Magento Community
Magento Community
 
Bill007
Sr. Member
 
Avatar
Total Posts:  179
Joined:  2008-01-15
New Zealand
 

Hmm

You need to make your self clear have you designed a template already

Do you have full comprehension on whats involved in the templating system

 
Magento Community Magento Community
Magento Community
Magento Community
 
iblastoff
Sr. Member
 
Total Posts:  252
Joined:  2007-08-31
 

open up app/code/core/Mage/Cms/etc/config.xml and add your own template call there.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Bill007
Sr. Member
 
Avatar
Total Posts:  179
Joined:  2008-01-15
New Zealand
 

Try Logging into Magento admin

CMS>>>Manage Pages>>>home page (click on home page row ) make your changes paste your code in here

Just guessing here but this sort of change will effect the home page

 
Magento Community Magento Community
Magento Community
Magento Community
 
Arslan
Jr. Member
 
Total Posts:  5
Joined:  2007-11-21
 

@iblastoff: thanks. that’s what i was looking for.

greetings,
Arslan

 
Magento Community Magento Community
Magento Community
Magento Community
 
roskolnikov
Member
 
Avatar
Total Posts:  31
Joined:  2008-01-02
Caribbean
 

@Arslan yo did it work? -iblastoff technique---

please explain how it did for the community’s benefit

cheers

 
Magento Community Magento Community
Magento Community
Magento Community
 
roskolnikov
Member
 
Avatar
Total Posts:  31
Joined:  2008-01-02
Caribbean
 

sweet

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