7956 Posts in 1394 Topics by 945 members
|Go to End||Next >|
26 January 2010 at 5:27am
Hey Uncle Cheese, Can I write here about the amends I made to DOM?
facebox to use most of the screen (making it slightly more pleasing to the eye)
submit button handles better multipul uploads (instead of a hugh string for each item)
Iv attached my amends to the r343 -hope somebody finds this useful.
Also can I ask what is needed to be done for many images per object? ie something like;
static $has_many = array (
'gallery' => 'Image'
26 January 2010 at 5:48am
You can use a nested ImageDataObjectManager to handle multiple images per object. What do you mean by "submit button handles better multipul uploads (instead of a hugh string for each item)"?
27 January 2010 at 12:54am
My submit button had the title;
"Save and add Main Image, Line Art Image1, Line Art Image2, Line Art Image3, Line Art Image4, Line Art Image5, Line Art Image6, Cadfile, Sibdata, Image Gallery 1, Image Gallery 2, Image Gallery 3, Image Gallery 4, Image Gallery 5, and Image Gallery 6"
-which used to create a huge button and scroll bars.
So using the update it will now be;
"Save and add Main Image, Line Art Image1, and Line Art Image2 And 12 other(s)."
Hopefully this makes sense
27 January 2010 at 2:40am
Lol... Definitely did not anticipate that. I'll make that update.
27 January 2010 at 3:40am
While you're updating stuff, here's another patch for you:
27 January 2010 at 4:33am
Yup. I saw that yesterday. It's checked in, I think.
27 January 2010 at 4:42am
Actually, Banal, I'm having a hard time with this one. In my rev of DOM, I believe I have correct markup.
After the closing div for "per-page-control", there should be three closing divs, followed by $ExtraData.
<% if ShowAll %>
<% else %>
<% end_if %>
is that what you have? Also, are you seeing the issue in RelationFileDataObjectManager?
27 January 2010 at 6:13am
I got rev. 347 here.
The problem is in RelationDataObjectManager.ss at the end of the file (near: <div class="bottom-controls">) there seems to be a div missing. Which in turn messes up all following SilverStripe Tabs.
Since this is in RelationDataObjectManager, it only applies to the managers that are using this template.
|Go to Top||Next >|