I would like the option on a redirector page to have a checkbox where the user can select whether or not the redirector should open in a new window, e.g. to go to an external blog without leaving the site behind.
I did look at code for "if is a redirector page / open in new tab", but that won't work as its only specific pages that I want to open in new window / tab.
I was considering adding a checkbox option in the RedirectorPage.php file, e.g.
$fields->addFieldToTab('Root.Content.Main', new CheckboxField('OpenInNewWindows), '');
...but I was worried that this was messing with the sapphire core, and therefore not a good idea.
Just looking for an expert opinion. thanks,