-1

I created the news page (list view) but the details are not shown. I tried to create a detail page to which I added the news detail plugin but it shows error

The page shows Oops, an error occurred! TypoScript object path "lib.tx_news.contentElementRendering" does not exist More information regarding this error might be available

Heinz Schilling
  • 2,177
  • 4
  • 18
  • 35

3 Answers3

0

you don't need a details page, you only need one News element (for List and Datail) and you have also to set "PageId for single news display" the same page as the element.

  • I see this error: Oops, an error occurred! TypoScript object path "lib.tx_news.contentElementRendering" does not exist More information regarding this error might be available – FERcho CH.l Jun 18 '19 at 21:01
  • please if you could give me more detail of your answer – FERcho CH.l Jun 18 '19 at 21:21
  • You have News 7.2 – Helmut Winkelbach Jun 19 '19 at 05:38
  • News Settings: What to display: List View, Category selection, Startingpoint: your News folder. Additional: PageId for single news display: Your list view page, PageId for list display: Your list view page, PageId to return to: Your list view page, Disable override demand: yes – Helmut Winkelbach Jun 19 '19 at 06:29
  • the News folder must be created and must be empty ?. and how to create News folder by UI? @HelmutWinkelbach please your help is being very important so far. here screenshot [link](https://ibb.co/fCYZ5Kw) – FERcho CH.l Jun 19 '19 at 13:19
  • Yes, I'm using News 7.2 – FERcho CH.l Jun 19 '19 at 13:27
  • You should read the manual. Everything is described in detail. https://docs.typo3.org/typo3cms/extensions/news/7.2.0/ – Heinz Schilling Jun 19 '19 at 16:24
  • Does your news folder contain the news plugin? All your news should be in your NewsFolder. Startingpoint only the NewsFolder. – Helmut Winkelbach Jun 20 '19 at 20:48
  • did you actually include the static template? – Aristeidis Karavas Jun 21 '19 at 05:37
  • @AristeidisKaravas What do you mean by static template? – FERcho CH.l Jun 22 '19 at 15:15
  • Go to your Template module on the left side, then select your root page and press „edit the whole template“. Switch to the include tabs and see if the news system is included on the left side of the list. Make sure the style fluid content or something like that is included as well – Aristeidis Karavas Jun 22 '19 at 15:19
  • added the configuration in NewsFolder, but I get this `Oops, an error occurred! No Content Object definition found at TypoScript object path "lib.yourownTypoScript" More information regarding this error might be available` when I click on "read more" @HelmutWinkelbach – FERcho CH.l Jun 22 '19 at 16:24
  • Quit difficult to help as we do not know what you did, studying the Docu helps a lot. Did you have a look at this? [link](https://docs.typo3.org/typo3cms/extensions/news/7.2.0/AdministratorManual/BestPractice/IntegrationWithTypoScript/Index.html) Have a look at: List and detail on the same page using TypoScript – Helmut Winkelbach Jun 24 '19 at 07:03
0

You didn't add all needed typoscript configurations for extension. Edit your template and include static from extension. You should read the manual too. Everything is described in detail. https://docs.typo3.org/typo3cms/extensions/news/7.2.0

Heinz Schilling
  • 2,177
  • 4
  • 18
  • 35
  • that is, is it not enough to copy the UI configurations? @HeinzSchilling – FERcho CH.l Jun 19 '19 at 20:30
  • Have you read the chapter "For administrators > Installation"? Do all the steps described there and then read "For editors". The author of the extension invested time in the fine documentation. – Heinz Schilling Jun 20 '19 at 08:17
0

The first thing I did was create a page by adding the news plug-in this configuration: What to show: List view, Category selection, Starting point: Your News folder. Additional: PageId for unique news display: Your list view page, PageId for list display: and pageId for the detail view previously create another detail page - Starting point only the NewsFolder. (Creating a folder) and add this in typoscript this code