7912 Posts in 1355 Topics by 930 members
DataObjectManager Module
SilverStripe Forums » DataObjectManager Module » Using a thumbnail in a ManyManyDOM
Discuss the DataObjectManager module, and the related ImageGallery module.
Moderators: martimiz, UncleCheese, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 998 Views |
-
Using a thumbnail in a ManyManyDOM

22 September 2009 at 4:35pm
Hey nothing to critical here but thought I would ask. I am using the snippet outlined here http://ssbits.com/adding-a-thumbnail-to-a-dataobjectmanager-or-complex-table-field/ to add a thumbnail to the DOM and it works however if I try to add it to a ManyManyDOM then it breaks with a error of:
Unknown column 'Thumbnail' in 'field list'
IN POST /ss/admin/getitem?ID=1&ajax=1
Line 401 in /hsphere/local/home/sgoodlas/dcbc.co.nz/ss/sapphire/core/model/MySQLDatabase.php
Out of interest I tried it in a ManyManyCTF and it worked as expected.Thanks
-
Re: Using a thumbnail in a ManyManyDOM

23 September 2009 at 1:00am
That post is incorrect. The function should read getThumbnail(), not Thumbnail(). I made Aram aware of that when he posted it.
| 998 Views | ||
|
Page:
1
|
Go to Top |
