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

use a custon block? 
 
simply07
Jr. Member
 
Total Posts:  17
Joined:  2008-10-30
 

Hello,

I’m trying to add a new block to magento.
So far i’ve added the block in the admin
Left Menu Ads
left_ads
All Sites
Enabled
conteant --> <a href="test.php">This is a test</a>

I’d like to place the block on the left hand menu so i’ve gone into the left_col,phtml (app/desing/frontend/default/default/tmeplate/callouts) and added the code i found in the user guide
{{block type="cms/block" block_id="left_ads"}}

but if i type it in just like that i get those exact words instead of the link…
if i type it in as
<?php {{block type="cms/block" block_id="pub_gauche"}} ?>
or
<?php echo {{block type="cms/block" block_id="pub_gauche"}} ?>
i get a syntax error

Can anyone help me figure out what i’m doing wrong…
Thanks

Steph

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