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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

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