Bug #30889

It isn't posible to set an alternative Domain for Preview

Added by Christian Lange over 9 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Workspaces
Target version:
-
Start date:
2011-10-13
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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

bug_30889.diff (640 Bytes) bug_30889.diff Jonas Enders, 2012-03-15 21:59
bug_30889.diff (567 Bytes) bug_30889.diff Jonas Enders, 2012-03-15 22:07

Related issues

Related to TYPO3 Core - Bug #20801: t3lib_beFunc::viewOnClick - Exctract logic to find the right frontend domainClosedBenni Mack2009-07-31

Actions
Related to TYPO3 Core - Bug #61226: Web-View Module does not respect TCEMAIN.previewDomainClosedGeorg Kühnberger2014-08-27

Actions
Related to TYPO3 Core - Bug #62129: It isn't posible to set the url scheme for a whole pagetree for previewClosed2014-10-09

Actions
Related to TYPO3 Core - Feature #57526: provide magic keyword "_BEDOMAIN_" for TCEMAIN.previewDomain configurationClosed2014-04-02

Actions
Related to TYPO3 Core - Bug #63930: Typolinks don't respect TCEMAIN.previewDomain in multidomain environmentClosed2014-12-16

Actions
Related to TYPO3 Core - Bug #70232: TCEMAIN.previewDomain doesn't workClosedJohannes Pieper2015-09-30

Actions
#1

Updated by Tolleiv Nietsch over 9 years ago

  • Status changed from New to Accepted

True, feel free to provide a patch.

#2

Updated by Stefan Neufeind about 9 years ago

for a central place to add this functionality see:
t3lib/class.t3lib_befunc.php, getViewDomain()

#3

Updated by Jonas Enders almost 9 years ago

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
#5

Updated by SiteGefühl no-lastname-given over 8 years ago

pending in core list

#6

Updated by Johannes Pieper over 7 years ago

Patch for branch master has been pushed to the review server. It is available at https://review.typo3.org/#/c/24626/

#7

Updated by Gerrit Code Review over 7 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

#8

Updated by Gerrit Code Review over 7 years ago

Patch set 4 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/24626

#9

Updated by Gerrit Code Review over 7 years ago

Patch set 5 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/24626

#10

Updated by Gerrit Code Review over 7 years ago

Patch set 6 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/24626

#11

Updated by Gerrit Code Review over 7 years ago

Patch set 7 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/24626

#12

Updated by Gerrit Code Review over 7 years ago

Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/24730

#13

Updated by Johannes Pieper over 7 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
#14

Updated by Michael Stucki about 7 years ago

  • Category changed from Bugs to Workspaces
#15

Updated by Michael Stucki about 7 years ago

  • Project changed from Workspaces & Versioning to TYPO3 Core
  • Category changed from Workspaces to Workspaces
#16

Updated by Christoph Lehmann over 6 years ago

Correct is to define TCEMAIN.previewDomain, not TCEMAIN.viewDomain

#17

Updated by Benni Mack over 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF