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

Dynamic Homepage!!! I made it!! 
 
floreadm
Jr. Member
 
Avatar
Total Posts:  8
Joined:  2008-07-06
Bucharest, Romania
 

so....in page.xml
search for

name="content"
and below this you add the next code. You have to make to adds

<block type="core/text_list" name="content_homepage" as="content_homepage"/>

Then you have to make a block. YOu know how to.. right?  or take any block from catalog.xml and try. and change the reference name to “content_homepage”. 

Now make another template...or modify one existing… not the one you use for any other pages. if you are using all...create another one. and search in template/page/[your_template].phtml this line

<?php echo $this->getChildHtml('content'?>

and change it with this one

<?php echo $this->getChildHtml('content_homepage'?>

Now in Admin… where you manage the homepage… change the Layout for homepage from Costum Design tab to [your_template_name].

And that’s it. It should work. Thanks and best regards.

smile Florea Daniel @ Kinecto, Romania, Bucharest

 
Magento Community Magento Community
Magento Community
Magento Community
 
adam777
Member
 
Total Posts:  38
Joined:  2008-05-08
 

Hi Florea

How do you use the above to change the homepage layout? 

... I’m not a developer but I know a little php & html. A few more steps in the process, or an example how to apply the above would help ... if you have time.

Thanks

Adam

 
Magento Community Magento Community
Magento Community
Magento Community
 
floreadm
Jr. Member
 
Avatar
Total Posts:  8
Joined:  2008-07-06
Bucharest, Romania
 

someone did it better :D.....regards Dan
Check here for dynamic homepage
http://www.magentocommerce.com/boards/viewthread/4454/

 
Magento Community Magento Community
Magento Community
Magento Community
 
Pradnya
Jr. Member
 
Total Posts:  12
Joined:  2009-05-20
 

Hi floreadm

Can you help me with this....  hmmm
I have written it here
http://www.magentocommerce.com/boards/viewthread/49560/

Waiting for your reply

 
Magento Community Magento Community
Magento Community
Magento Community
 
Juno612
Member
 
Total Posts:  54
Joined:  2009-02-07
City of Industry
 

Hi Floreadrn,

Can I have your URL to your site? Thx.

Juno612

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