7921 Posts in 1359 Topics by 933 members
DataObjectManager Module
SilverStripe Forums » DataObjectManager Module » Preview: DataObjectManager module
Discuss the DataObjectManager module, and the related ImageGallery module.
Moderators: martimiz, UncleCheese, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
| Go to End | Next > | |
| Author | Topic: | 54682 Views |
-
Re: Preview: DataObjectManager module

8 March 2009 at 8:12am Last edited: 8 March 2009 8:13am
Wow! Thanks for the accolades, guys. I can't wait to give this feedback to the higher-ups.
In other news... OMFG!!! NEW STUFF!!!!
Relation DataObjectManagers
- HasOneDataObjectManager
- HasManyDataObjectManager
- ManyManyDataObjectManagerAll checked in, but lightly tested.
- HasOneFileDataObjectManager (coming soon)
- HasManyFileDataObjectManager (coming soon)
- ManyMayFileDataObjectManager (coming soon)SimpleHTMLEditorField
Allows HTML editing in your popup window! Documentation here:
http://doc.silverstripe.com/doku.php?id=simplehtmleditorfieldDok-you-men-tay-shun
Finally posted at:
http://doc.silverstripe.com/doku.php?id=modules:dataobjectmanagerZIP file
Coming soon!
-
Re: Preview: DataObjectManager module

8 March 2009 at 8:50pm Last edited: 8 March 2009 8:56pm
UncleCheese, as other's have already mentioned: Fantastic work!! I am successfully using this module.
I have a, perhaps silly, question. Any chance making this work w/ ModelAdmin, in particular the re-ordering aspect?
Thanks
-
Re: Preview: DataObjectManager module

8 March 2009 at 10:03pm
The great work just keeps coming! Thanks for the new calendar function, will text it when the below error is sorted
I might have a bug here, either in your code or mine but it seems to sometimes happen and sometimes not... oh I'm running latest svn. I get the error:
[Notice] Object of class Text to string conversion
GET /admin/Line 514 in /var/www/vhosts/skrig.co.nz/httpdocs/dataobject_manager/code/FileDataObjectManager.php
If i comment out sections of my PlanningPage.php file i can get the site to load but it doesn't seem to be consistently the same line of code which makes me wonder if there is something else going on. I have pastied the details of the error and my relevant code here: http://pastie.org/410765
Thanks
Howard -
Re: Preview: DataObjectManager module

9 March 2009 at 3:24am
Interesting. It's a low-level error, so if you turn down your error reporting is should at least allow the script to run. Try this in the meantime
I assume you're using a custom gridLabelField? Add ->XML_val to the return values of the obj() method.
506 public function FileLabel()
507 {
508 if($this->parent->gridLabelField)
509 $label = $this->obj($this->parent->gridLabelField)->XML_val;
510 else if($file = $this->obj($this->parent->fileFieldName))
511 $label = $file->Title->XML_val;
512 else
513 $label = "";
514 return strlen($label) > 30 ? substr($label, 0, 30)."..." : $label;
515 }
516
517 }
518If that works, let me know, then undo all your changes to the class and I'll check in a new version. thanks.
-
Re: Preview: DataObjectManager module

9 March 2009 at 3:52am
Hi Unclecheese
This would be very useful for me. However, I cant get the UI to work correctly.
I installed from svn and am running your Resource and ResourcePage classes as a test.
I can create ResourcePages in the cms, but when i open the popup to add resources, there's nothing underneath the "Upload Files from my computer" bar. See screenshot.
I'm running Firefox 3.0.7 under Mac OS X 10.5, latest Flash player installed.
-
Re: Preview: DataObjectManager module

9 March 2009 at 3:59am
Hello, there is a number of problems with swfupload and the latest Mac Flash Player, so I guess that's the reason why you cannot upload. Try downgrading Flash.
-
Re: Preview: DataObjectManager module

9 March 2009 at 4:13am
thanks for your reply
which version would you consider safe to use?
do you expect these issues to be resolved soon?
thanks!
soma
-
Re: Preview: DataObjectManager module

9 March 2009 at 4:17am
Not being a Mac user myself and only hearing their complaining, I really have no clue
Just try the last version 9 player, I think this fixed it for most people.
And then, there's news of some improvements over at the swfupload site, so maybe this will be resolved soon.
| 54682 Views | ||
| Go to Top | Next > |

