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, biapar, Willr, Ingo, swaiba, simon_w

getCMSFields_forPopup() - Documentation?


2 Posts   2193 Views


16 March 2010 at 8:51am Community Member, 47 Posts

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.


16 March 2010 at 11:11pm Community Member, 279 Posts

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.