Bug #30889
closedIt isn't posible to set an alternative Domain for Preview
100%
Description
Since #20801 the first domainrecord is always used for the Frontend-Preview. It isn't possible to overwrite this or to define another Domain Record as the Preview-Domain. In some reasons you wont't have the backend accessible over the Main-Domain e.g. security issues.
By switching the order of the domainrecords you get some other issues with functions or extensions, when they use the first domainrecord for the frontend rendering too.
It would be nice to overwrite the Preview-Domain in the PAGE-TSConfig (also possible for multi-domain sites) or deactivate special domainrecord for Frontend-Preview.
Files
Updated by Tolleiv Nietsch about 13 years ago
- Status changed from New to Accepted
True, feel free to provide a patch.
Updated by Stefan Neufeind about 13 years ago
for a central place to add this functionality see:
t3lib/class.t3lib_befunc.php, getViewDomain()
Updated by Jonas Enders over 12 years ago
- File bug_30889.diff bug_30889.diff added
I created a patch (4.5.13, 4.6.6) that will allow you to specify a domain-name for preview by adding this to PageTS:
TCEMAIN.viewDomain = example.com
Updated by Jonas Enders over 12 years ago
- File bug_30889.diff bug_30889.diff added
Updated by Johannes Pieper about 11 years ago
Patch for branch master has been pushed to the review server. It is available at https://review.typo3.org/#/c/24626/
Updated by Gerrit Code Review about 11 years ago
- Status changed from Accepted to Under Review
Patch set 2 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/24626
Updated by Gerrit Code Review about 11 years ago
Patch set 4 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/24626
Updated by Gerrit Code Review about 11 years ago
Patch set 5 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/24626
Updated by Gerrit Code Review about 11 years ago
Patch set 6 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/24626
Updated by Gerrit Code Review about 11 years ago
Patch set 7 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/24626
Updated by Gerrit Code Review about 11 years ago
Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/24730
Updated by Johannes Pieper about 11 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 989dc485492927daeeebab67200f43df49bd1d17.
Updated by Michael Stucki almost 11 years ago
- Category changed from Bugs to Workspaces
Updated by Michael Stucki almost 11 years ago
- Project changed from 624 to TYPO3 Core
- Category changed from Workspaces to Workspaces
Updated by Christoph Lehmann about 10 years ago
Correct is to define TCEMAIN.previewDomain, not TCEMAIN.viewDomain