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.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

DataobjectManager Backend site-content problem


Reply


850 Views

Avatar
SSadmin

Community Member, 90 Posts

26 March 2010 at 4:52pm

Hey, Folks,

i recently encountered a problem with DataObjectManager. Just get quite frustrating some time.

The problem is, i am using DataObjectManager in my homepage to lists several homeproducts.

I did the code followed carefully with tutorial.

Create HomePage.php
Create HomeProduct.php
and adding some logic there.

In the end, the dataobjectmanager was actually works fine.
just the site-content left hand side-site tree structure looks weird.
once i created a new record in throung dataobject manager, it will auto creat a blank page under the homepage . i don't want to the subpages shown there. they looks strange, as u can see from the screenshot i posted. (the site-tree on lefthand side) :(
By the way. i am running the lastes ss 2.3.7, but another website i got using 2.3.6 for the same feature seems work fine :P

is there anybody know what could possiblely go wrong there?!

The code has been attached if anyone got time to have a look.

Thanks in advanced, really appreciated.