Generate Workspace Preview Link should honor options.view.languageOrder
|Priority:||Should have||Due date:|
|TYPO3 Version:||PHP Version:|
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)
Updated by Andreas Kiessling over 2 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.