I need to add a query string to the preview URL on TYPO3.
There are 4 possible ways to view the page from TYPO3 BE
- Edit the page and choose "Save and view page" from the "Save" button dropdown
- Right click on page in page tree
- Click "document with eye" icon "View webpage" button (under Columns/Languages dropdown)
- Click "eye" icon "View webpage" under default when Languages is selected
Using this configuration: https://docs.typo3.org/typo3cms/extensions/core/7.6/Changelog/7.2/Feature-66370-AddFlexiblePreviewUrlConfiguration.html I am able to edit the "Save and view page" option to add a query string like so:
TCEMAIN.preview {
pages {
additionalGetParameters {
newQueryString = tx_languageversion2
}
}
}
Is there equivalent code to edit the other view page buttons listed above?
EDIT: Alternatively, is there a way to hide the View button next to the Edit button? That way the only way to preview is using the "Save and view page" option
Thanks