Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

DataObjectManager Module /

Discuss the DataObjectManager module, and the related ImageGallery module.

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

Starting DOM from a new mainmenu-item


Reply


639 Views

Avatar
lx

Community Member, 83 Posts

23 January 2010 at 12:02pm

Hi,

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

<?php
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.

thanks