Support » Plugin: Magento WordPress Integration » [Plugin: Magento WordPress Integration] JS load problem (wordpress end)

  • I have portfolio setup within wordpress that uses jquery isotope to dynamically cascade items by category. When adding this code:

    <?php
    // Echo full Magento head file
    the_block(‘head’);

    // Get specific elements from the head
    $head = get_block(‘head’, false);
    echo $head->getCssHtml(); // All CSS and JS files defined in your Magento head
    echo $head->getChildHtml();
    echo $head->getIncludes();
    ?>

    <div id=”container”>
    <?php the_block(‘header’);

    ?>
    It loads the css and jquery from magento just fine but it stops the isotope jquery function. When removing the magento blocks from header the jquery loads. I have also tried loading js files into the magento directory and defining them within page.xml under head. let me know your thoughts. Here is some more code reference:

    page.xml with added js:
    http://screencast.com/t/zrUp2yXCX
    header.php (wordpress with magento blocks):
    http://screencast.com/t/6BOEgtqOr75w
    functions.php (calls js for wordpress):
    http://screencast.com/t/rkdzNKeUp
    portfolio.php:
    http://screencast.com/t/Bh5LnvQZn4M5

    I tried be as detailed as possible, I hope this helps. Any direction at the least would be great! Thanks again, this product has allowed great things to happen.

    http://wordpress.org/extend/plugins/magento-wordpress-integration/

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Magento WordPress Integration] JS load problem (wordpress end)’ is closed to new replies.