Jump to:

7940 Posts in 1543 Topics by 946 members

DataObjectManager Module

SilverStripe Forums » DataObjectManager Module » Starting DOM from a new mainmenu-item

Discuss the DataObjectManager module, and the related ImageGallery module.

Moderators: martimiz, UncleCheese, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 611 Views
  • lx
    Community Member
    82 Posts

    Starting DOM from a new mainmenu-item Link to this post


    in the cms i inserted a MainMenu-item "DATA" with this code:

    class MyDataAdmin extends LeftAndMain {

    static $url_segment = 'daten';
    static $url_rule = '$Action/$ID';
    static $menu_title = 'DATA';

    When i click on this button, the cms-sidebar lists many of my classes that extend DataObject. (for example: Category, Product, Customer,...)

    Now i want to load the DataObjectManager for the clicked DataObject (for example: Products) in MyDataAdmin_right.ss.
    It would be nice if the DOM is called with ajax, like a click on a site-tree element.


Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.