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?


Reply


2 Posts   2263 Views

Avatar
lise

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.
Lise

Avatar
baba-papa

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.