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.

DataObjectManager Module /

Discuss the DataObjectManager module, and the related ImageGallery module.

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

Using a thumbnail in a ManyManyDOM


Reply


2 Posts   1142 Views

Avatar
Howard

Community Member, 215 Posts

22 September 2009 at 4:35pm

Hey nothing to critical here but thought I would ask. I am using the snippet outlined here [url]http://ssbits.com/adding-a-thumbnail-to-a-dataobjectmanager-or-complex-table-field/[/url] 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 :)

Avatar
UncleCheese

Forum Moderator, 4092 Posts

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.