Project

General

Profile

Actions

Bug #30889

closed

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

Added by Christian Lange over 12 years ago. Updated over 5 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 6 (0 open6 closed)

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
Actions #1

Updated by Tolleiv Nietsch over 12 years ago

  • Status changed from New to Accepted

True, feel free to provide a patch.

Actions #2

Updated by Stefan Neufeind over 12 years ago

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

Actions #3

Updated by Jonas Enders about 12 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
Actions #5

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

pending in core list

Actions #6

Updated by Johannes Pieper over 10 years ago

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

Actions #7

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

Actions #8

Updated by Gerrit Code Review over 10 years ago

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

Actions #9

Updated by Gerrit Code Review over 10 years ago

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

Actions #10

Updated by Gerrit Code Review over 10 years ago

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

Actions #11

Updated by Gerrit Code Review over 10 years ago

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

Actions #12

Updated by Gerrit Code Review over 10 years ago

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

Actions #13

Updated by Johannes Pieper over 10 years ago

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

Updated by Michael Stucki over 10 years ago

  • Category changed from Bugs to Workspaces
Actions #15

Updated by Michael Stucki over 10 years ago

  • Project changed from 624 to TYPO3 Core
  • Category changed from Workspaces to Workspaces
Actions #16

Updated by Christoph Lehmann over 9 years ago

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

Actions #17

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF