1

Hi I am looking for a way to preview a new newspost with the extension news from Georg Ringer. Is there a way or an extension to do this? In the documentation I cannot find a way to achieve this. Does anybody has a workaround for this?

Urs
  • 4,984
  • 7
  • 54
  • 116
dgorges
  • 139
  • 4
  • 19
  • What about creating the plugin element on a hidden page and view it as an admin in the frontend? – Michael Jun 24 '14 at 18:27
  • This sounds Mike an idea but if you have somebody who does not understand that you habe two pages for a news this is quiete complicated for him. I was thinking about a feature if he is logged in in the backend he can see only a specific category or all hidden news are visible at that time. I am not quiete shure if this is a workaround in that case. – dgorges Jun 25 '14 at 05:59
  • Please enable a spell checker – Urs Jun 25 '14 at 22:25

1 Answers1

4

As Michael says, you need to create a (hidden = BE users only) preview page with a news plugin on it and set

plugin.tx_news.settings.enablePreviewOfHiddenRecords =1

See http://docs.typo3.org/typo3cms/extensions/news/AdministratorManual/Configuration/TypoScript/Index.html?highlight=hidden#previewhiddenrecords

If you call this page something "preview page for hidden news", it should be very understandable for editors.

yunzen
  • 32,854
  • 11
  • 73
  • 106
Urs
  • 4,984
  • 7
  • 54
  • 116
  • This is what I have been looking for. I will check with a condition if the user is logged in in the backend and then he can preview everything. Thank you very much. – dgorges Jun 26 '14 at 04:40
  • you don't need to add a condition if the page is hidden - BE users can see all hidden pages displayed with a red "PREVIEW" button – Urs Jun 26 '14 at 08:57
  • If this condition is triggered for BE user that´s great. I thought this only works for pages not for records like newsrecords. – dgorges Jun 26 '14 at 12:11
  • The page with the plugin that (thanks to that setting) shows the hidden news items is hidden. So if someone (like a BE user) can see that hidden page, he can see the hidden records too. – Urs Jun 26 '14 at 14:09
  • Not fully. In the list view the records are not shown. You have to go to the detailpage in the backend and explicitly open the newsrecord. This helps me a little bit, but what can I do to see this record in the list view, when this newsrecord is hidden? And when I am editing this news I cannot save and preview this record because the wrong link is triggered. I have to go to the detailpage and open the specific newsrecords. – dgorges Jun 27 '14 at 05:09
  • you may need the tsconfig setting "tx_news.singlePid = {pid of page with newsdetail}" too. – mtness Nov 10 '15 at 19:53
  • You can use the admin panel in the Frontend to render hidden records. This should do it! – Georg Ringer Aug 09 '16 at 08:23