7935 Posts in 1536 Topics by 943 members
|Go to End||Next >|
28 October 2009 at 7:03am
Also, is there a way to have the files only associated with a particular DO. Right now they seem to show up for every DO.
Thanks for your help!
28 October 2009 at 7:14am
Line 571 of DataObjectManager.php is not a Requirements line. Are you sure you're on the latest version?
What do you mean "associated with a particular DO?" What are you trying to do?
28 October 2009 at 7:27am
I thought I had uploaded the newest DOM, but I must have had an old version. All seems to be working on rev 314. Thanks for your help
29 October 2009 at 3:47am Last edited: 29 October 2009 3:48am
When I use nested DOM with a dataobject that has other one to many relationships those relationships show in the nested popup. The best way to explain it is with this image: http://188.8.131.52/nested-dom.png
Is there anyway to strip that out, also, I would love to remove the sort order pulldown that appears.
Any ideas? Thanks in advance for your help.
29 October 2009 at 4:05am
It looks like you haven't defined a getCMSFields() function, because all your fields are being scaffolded. Hence the useless "Main" tab.
29 October 2009 at 4:25am
Ah, that worked, thanks for your help
4 November 2009 at 9:38pm
Iâ€™ve had a similar problem when trying to use nested popups with a case close to the one in the video. The problem turned out to be the TabSet I was using in my initial popup which will cause getNestedDOMs() to return False. As far as I can tell, the method needs to be adjusted so that it also iterates over members of TabSets when encountered or it will skip anything in them.
Hope that helps.
5 November 2009 at 2:16am
Good catch. Detecting a nested DOM hasn't proved very easy to do. I wonder if it would suffice to just check if your DataObject class has a has_many defined?
But then that would exclude HasOne and ManyMany DOMs..
I may just have to have it recursively iterate through tab sets.
|Go to Top||Next >|