Try the Demo

Magento Forum

   
Blocks maken en plaatsen
 
lectortje
Jr. Member
 
Total Posts:  12
Joined:  2010-09-24
 

Hallo,,

Ik probeer de hele dag al bloks toe te voegen maar het wil maar niet.
zou iemand die het weet in jip en janneke taal kunnen uitleggen hoe dat moet.

zie screenshot wat ik bedoel met bloks.

Groeten,
Stefan

Image Attachments
Naamloos.jpg
 
Magento Community Magento Community
Magento Community
Magento Community
 
kayintveen
Member
 
Avatar
Total Posts:  34
Joined:  2009-11-05
Rotterdam, the Netherlands
 

Je kunt heel gemakkelijk static blocks toevoegen in de xml of template bestanden.
Wat ik bijvoorbeeld altijd doe is de footer links in de footer zetten

in footer.phtml zet ik dan

<?php echo $this->getLayout()->createBlock(\'cms/block\')->setBlockId(\'footerlinks\')->toHtml() ?>

als ik dan een block maak met identifier \"footerlinks\" dan wordt hij daar neergezet.

Je kunt dit ook doen in de xml door in de juiste xml dit toe te voegen

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

of in een cms pagina dit toe te voegen

{{block type=\"cms/block\" block_id=\"footerlinks\" template=\"cms/content.phtml\"}}

 Signature 

Magento Responsive Theme

Webshop ontwikkeling | Magento webshop | Magento webwinkel |
Microdesign B.V. - Full Service Internet Bureau

 
Magento Community Magento Community
Magento Community
Magento Community
 
jordens
Jr. Member
 
Total Posts:  9
Joined:  2011-04-05
 

Nu wil ik een image (iDeal logo) in de right column. Dus eigenlijk ipv Paypal logo, het iDeal logo.
Hoe kan ik dat dan het beste maken?

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