Project

General

Profile

Actions

Feature #20512

closed

Preview link ("show") of pages in the backend should be prefixed with the domain record

Added by Patrick Lobacher almost 15 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2009-05-27
Due date:
% Done:

0%

Estimated time:
PHP Version:
4.3
Tags:
Complexity:
medium
Sprint Focus:

Description

In the backend, if you click on the preview link of a page ("show") then you get the frontend preview of the page in this format:

http://www.domain.com/index.php?id=pageid

(if www.domain.com is the domain your backend is called from)

If you have a multidomain setup, it would be great to have to possibility (pageTS?) to prefix not with the domain the backend runs with but with the domain record instead. So you get different preview links, depending on your domain record you entered for a domain

I will sponsor this feature

(issue imported from #M11199)


Files

11199.diff (894 Bytes) 11199.diff Administrator Admin, 2009-05-27 20:06
Actions #1

Updated by Dmitry Dulepov almost 15 years ago

The problem happens only and only if the user access the Backend through the domain, which is not entered as a domain record. The fix is attached.

Actions #2

Updated by Steffen Gebert about 14 years ago

I just stumbled over this - sounds very good!

What happens, when no domain record is defined? Does it also work with the patch?

Could you send it to the core list, Dmitry (or Patrick), please?

Actions #3

Updated by Susanne Moog over 12 years ago

  • Status changed from Needs Feedback to Accepted
  • Target version deleted (0)
  • Complexity set to medium

Dmitry, would you care to push your patch to Gerrit?

Actions #4

Updated by Stefan Neufeind over 11 years ago

Please note that to preview "hidden" pages you'll need to have BE-cookies set. And when previewing through a separate domain those cookies are not yet set. In case we "transfer" the cookies to the other domain as well watch out for session-fixation or the like.

Actions #5

Updated by Mathias Schreiber over 9 years ago

  • Status changed from Accepted to Closed
Actions

Also available in: Atom PDF