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.

Archive

Our old forums are still available as a read-only archive.

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

HasManyCTF in widget


Reply

4 Posts   1353 Views

Avatar
marcink

25 November 2008 at 6:38am Community Member, 89 Posts

hi all,

thanks for the support so far!

one more question, of many to follow:

is it possible to add a HMCTF in a widget?

usually in the getCMSFields_forPopup you have code like this:

$fields->addFieldToTab( 'Root.Content.FlashObject', $tablefield );


but how to apply this for a widget?

Avatar
Willr

26 November 2008 at 7:08pm Forum Moderator, 5511 Posts

I would doubt that the widgets can support complextable fields. If you do it like you currently do does anything happen? any errors at all ?

Avatar
marcink

27 November 2008 at 8:27am Community Member, 89 Posts

i didn't check yet, because i don't know, where i should add the HMCTF to...

any idea?

Avatar
Willr

27 November 2008 at 9:37am Forum Moderator, 5511 Posts

for a widget?

You just define a getCMSFields() function in your widget class.