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.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

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