Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author jamesckemp

    (@jamesckemp)

    Could you show me the code you used in page.xml, and the code you used to try and call the block?

    Thread Starter hodyhong

    (@hodyhong)

    Here is what I have in page.xml:

    <block type=”core/template” name=”givoni.mybag” as=”givoniMybag” template=”givoni/mybag.phtml”/>

    And here is the code in WP template I was trying to call:

    <?php the_block(“givoni.mybag”); ?>

    Do I need to do anything extra?

    Also I have found that if I have custom code in my own templates, eg for the block “top.link” , when I call that block in WP, it will just return the base template instead of my custom template.

    Let me know. Thanks a lot for the help.

    Cheers

    Hody

    [ Please do not bump, that’s not permitted here. ]

    I am having the same problem as above.

    Also I have found that if I have custom code in my own templates, eg for the block “top.link” , when I call that block in WP, it will just return the base template instead of my custom template.

    Any idea why this is happening?

    Thx,
    Jared

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Magento WordPress Integration] Calling custom magento block’ is closed to new replies.