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   1355 Views

Avatar
marcink

Community Member, 89 Posts

25 November 2008 at 6:38am

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

Forum Moderator, 5513 Posts

26 November 2008 at 7:08pm

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

Community Member, 89 Posts

27 November 2008 at 8:27am

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

any idea?

Avatar
Willr

Forum Moderator, 5513 Posts

27 November 2008 at 9:37am

for a widget?

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