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.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

getCMSFields_forPopup() - Documentation?

Go to End

2 Posts   2779 Views


Community Member, 47 Posts

16 March 2010 at 8:51am

Hello ,

Could somebody point me to a description of the getCMSFields_forPopup() function.
I can see it is used by developers on this forum but I don't know the difference with the getCMSFields().

I am using pop-up windows with DataObjectManager and never had to use this function so I am wondering if I am doing something
wrong or missing on a feature ...

Thank you.


Community Member, 279 Posts

16 March 2010 at 11:11pm

A table that shows dataobjects like the ComplexTableField has a popup window showing detail of a specific dataobject. The Method getcmsfieldsforpopup() defines which fields are shown in this popup window. The method belongs to the DataObject. Most people go well with the default popup fields.