We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 31946
    • 116 Posts
    Hi!
    I'm trying to write a custom resource class. The goal is simply to hide the children of a resource from the site-tree and display them in a grid instead, along with some nice options smiley.
    I followed the Tutorial (rtfm) and now want to overload the method "loadCustomCssJs" to customize my UI.
    I already created a custom Grid with modext.

    Now my problem:
    How do i render my own Panel + Grid instead of the modx-resource-panel?
    I guess the panel should be rendered somehow into this HTML Code?
    Whats best practise to do that?
    <div id="modx-content">
    <div id="modx-panel-holder"></div>
    <div id="modx-panel-resource-div"></div>
    <div id="modx-resource-tvs-div"></div>
    </div>
    

    I looked and learned from "Articles", but could not find out so far...
    Thanks for helping! [ed. note: Wanze last edited this post 14 years, 4 months ago.]