how to call functions/methods within CMS block or page?

Posted by latvian on Stack Overflow See other posts from Stack Overflow or by latvian
Published on 2010-05-26T04:18:08Z Indexed on 2010/05/26 4:21 UTC
Read the original article Hit count: 141

Filed under:

Hi,

We are trying to make all our blocks and pages static so that designer or anyone else can easily change the content or design of the website, however. There is a feature that uses our own custom module. So, the template that we want to make static is calling methods out of our custom block, for example,

 <!--some html code-->
    .....
    <?php $this->helpMeBePartOfCMS(); ?>
    .....
 <!--some html code-->

How do i incorporate these method calls inside cms block or page?

Thank you

© Stack Overflow or respective owner

Related posts about magento