Bug #12970

Generate Workspace Preview Link should honor options.view.languageOrder

Added by Andreas Kiessling almost 9 years ago. Updated about 2 years ago.

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

100%

TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

A preview link always points to the default language. If a user is limited to specific languages, a languageOrder can be set in UserTS when he opens a preview page.
It is evaluated in t3lib_BEfunc::viewOnClick (unfortunately not in a separate function) and should also be used for a preview link that this user generates.

see http://typo3.org/documentation/document-library/core-documentation/doc_core_tsconfig/4.4.0/view/1/4/#id2313975 (right before part SETUP starts)


Related issues

Related to TYPO3 Core - Bug #15628: wsol_preview not showing languageversions Closed 2006-02-15
Related to TYPO3 Core - Bug #26612: Preview does not include L parameter if not default language Closed 2011-05-04
Related to TYPO3 Core - Bug #20852: Can create preview links only for the default language of a page Closed 2009-08-07

Associated revisions

Revision c99042a9 (diff)
Added by Stefan Rotsch over 4 years ago

[BUGFIX] Workspace preview links for multiple languages

The workspace preview link will only be generated for one language at
a time, so it might require some effort to generate preview links for
multiple languages.

For convenience of editors, preview links will now be generated for
all available translations of a certain page in a batch.

Resolves: #20852
Resolves: #12970
Releases: master, 6.2
Change-Id: I6de6f2c7b741e238fc373f0756bc29f0100a19f0
Reviewed-on: http://review.typo3.org/26993
Reviewed-by: Daniel Goerz <>
Tested-by: Daniel Goerz <>
Reviewed-by: Daniel Maier <>
Tested-by: Daniel Maier <>
Reviewed-by: Anja Leichsenring <>
Tested-by: Anja Leichsenring <>

Revision 0f30972b (diff)
Added by Stefan Rotsch over 4 years ago

[BUGFIX] Workspace preview links for multiple languages

The workspace preview link will only be generated for one language at
a time, so it might require some effort to generate preview links for
multiple languages.

For convenience of editors, preview links will now be generated for
all available translations of a certain page in a batch.

Resolves: #20852
Resolves: #12970
Releases: master, 6.2
Change-Id: I6de6f2c7b741e238fc373f0756bc29f0100a19f0
Reviewed-on: http://review.typo3.org/42417
Reviewed-by: Anja Leichsenring <>
Tested-by: Anja Leichsenring <>

History

#1 Updated by Tolleiv Nietsch almost 9 years ago

  • Status changed from New to Accepted

#2 Updated by Andreas Kiessling almost 9 years ago

One more thought about that: how about displaying a select menu with the allowed languages for the user next to the link and just use the selected value in the ExtDirect request? The sorting / filtering of the entries could be controlled by the languageOrder.

#3 Updated by Tolleiv Nietsch over 8 years ago

  • Target version changed from 4.5.1 to 4.6

#4 Updated by Michael Stucki almost 6 years ago

  • Category changed from Usability to Workspaces

#5 Updated by Michael Stucki almost 6 years ago

  • Project changed from Workspaces & Versioning to TYPO3 Core
  • Category changed from Workspaces to Workspaces
  • Target version deleted (4.6)

#6 Updated by Mathias Schreiber almost 5 years ago

  • Target version set to 7.5

#7 Updated by Daniel Goerz over 4 years ago

  • TYPO3 Version set to 7
  • Is Regression set to No

This will be solved once a editor gets preview links for all languages he has access to.
See: https://forge.typo3.org/issues/20852

#8 Updated by Gerrit Code Review over 4 years ago

  • Status changed from Accepted to Under Review

Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/26993

#9 Updated by Gerrit Code Review over 4 years ago

Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/26993

#10 Updated by Gerrit Code Review over 4 years ago

Patch set 7 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/26993

#11 Updated by Gerrit Code Review over 4 years ago

Patch set 8 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/26993

#12 Updated by Gerrit Code Review over 4 years ago

Patch set 9 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/26993

#13 Updated by Stefan Rotsch over 4 years ago

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

#14 Updated by Gerrit Code Review over 4 years ago

  • Status changed from Resolved to Under Review

Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/42417

#15 Updated by Gerrit Code Review over 4 years ago

Patch set 2 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/42417

#16 Updated by Stefan Rotsch over 4 years ago

  • Status changed from Under Review to Resolved

#17 Updated by Riccardo De Contardi about 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF