Support #36484
News preview and linkhandler problem
| Status: | Closed | Start date: | 2012-04-23 | |
|---|---|---|---|---|
| Priority: | Could have | Due date: | ||
| Assignee: | - | % Done: | 100% |
|
| Category: | - | |||
| Target version: | - | |||
| TYPO3 Version: | 4.5 | Has patch: | No | |
| PHP Version: | 5.3 | |||
| Votes: | 0 |
Description
When using the latest tagged SVN version of linkhandler (1.0.5) its not possible to use the preview functionality as described in the documentation.
Linkhandler will always use the "normal" detail view page (as defined in its TS) instead of the preview page (with previewHiddenRecords enabled, defined by tx_news.singlePid).
Solution
Im currently using the same page as preview and normal detail view. Im using following TS snippet to make it work without exposing hidden records:
[globalVar = TSFE : beUserLogin > 0] plugin.tx_news.settings.previewHiddenRecords = 1 [global]
Any possible problems with that?
I thought it would be suitable to share it here so others dont have to investigate this again. Ive opened a bug report for linkhandler, even Im not quite sure how to solve this issue probably: #36483
Related issues
| related to AOE linkhandler - Bug #36483: Does not respect TSconfig singlePid | New | 2012-04-23 |
History
Updated by Georg Ringer about 1 year ago
in general I don't really know that I should do there. and reading through the related issue: every extension can have its own tsconfig name, so " tx_myext.singlePid" is just something which I thought of ...
Updated by Felix Nagel about 1 year ago
Ahhhh, I thought singlePid is some kind of common usage in TYPO3 as tt_news makes use of it too. In that case it would be more logical to merge linkhandlers TS with the previewPageId which is already used by linkhandler for eID rendering.
Nothing to do for you here, this issue (support issue) should just help others who struggle with similar problems.
Do you think the above TS snippet could have unwanted side effects? If not it could be included in the documentation or even the default TS, would be useful. What do you think?
Thanks again for your support!
Updated by Georg Ringer about 1 year ago
- % Done changed from 0 to 100
the TS is IMHO fine.
you are right, tx_extkey.singlePid is used by tt_news and news but I don't know about other extenions, however I will still close the issue here, it is now documented and searchable for the future, thx!
Updated by Georg Ringer 4 months ago
- Status changed from New to Needs Feedback
just changing the status
Updated by Georg Ringer 3 months ago
- Status changed from Needs Feedback to Closed
this has nothing to do with ext:news