We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 38181 ☆ A M B ☆
    • 26 Posts
    Hi everyone

    I am working through the Developing an Extra in MODX Revolution, Part II tutorial.

    But when I get to the stage where the CMP should be first rendered (to check prior to adding the grid), nothing is rendered at all. I am fighting to debug what is wrong here.

    It seems to be around the div tag? But I can't work it out!

    If I refresh the page in the manager for my doodles action, I get the main Revolution page framework all displayed (menu and resources etc), but blank where the section/panel should be. This is just prior to adding the grid to test that the panel displays, halfway through the tutorial.

    If I view the HTML source of the page, I see at the bottom:

    <div id="modx-mainpanel">
    <div id="modAB"></div>
    <div id="modx-leftbar"></div>
    <div id="modx-content">
    <div id="modx-panel-holder"></div>
    <div id="doodles-panel-home-div"></div>
    </div>
    </div>

    Also I can see that all the required JS files have been included at the top of the page ... so all looks right and no reported errors.

    But the div with id="doodles-panel-home-div" produces no content.

    I have also tested that if I change my index.php file (containing these div tags, and put text content within the div and /div, it displays that text ....

    How do I start debugging this one?
      • 3749
      • 24,544 Posts
      What version of MODX? I think the tutorial might have to be updated for the latest version, so it might not be your fault.
        Did I help you? Buy me a beer
        Get my Book: MODX:The Official Guide
        MODX info for everyone: http://bobsguides.com/modx.html
        My MODX Extras
        Bob's Guides is now hosted at A2 MODX Hosting