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

All other Modules /

Discuss all other Modules here.

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

Remove field from RedirectorPage

Go to End

3 Posts   1424 Views


Community Member, 2 Posts

21 June 2017 at 11:08pm


When im adding custom field to Page class, new filed also appears in RedirectorPage (eg. image gallery). Any ideas how to remove this filed ? :)

I tried to add new file to mysite/code called RedirectorPage.php, but it causes an error after dev build.


Forum Moderator, 1391 Posts

22 June 2017 at 1:49am

You could add the field conditionally, for instance only if the current classname is 'Page' or only if the classname isn't 'RedirectorPage' or...

Something like:

public function getCMSFields() 
    if ($this->ClassName != 'RedirectorPage) {


Community Member, 2 Posts

22 June 2017 at 2:57am

Thank you very much :)