More than one resource for tx_news TYPO3 - typo3

i have more then one news resource folder in my typo3. My question: Can i use all of them in tx_news?
I want to build a news summary page of all these folders.
Thank you for your help!
Owi

Ohhhh ... Sorry!
Yes - You can use more then one sysfolder with news storage in one news plugin.
I was blind! You can select more then one source folder in the plugin config.

Related

TYPO3 8.7 tx-news showinpreview field not visible

I'm about to upgrade a page from TYPO3 6.2.30 to 8.7.0 but I can't find a way to use the "showinpreview" field in tx-news.
In the old tx-news 3.2.8 Version the Override sys_file_reference.php is called from /typo3conf/ext/news/Configuration/TCA/tx_news_domain_model_media.php
But in tx-news 5.3.3. I can only find the Override file.
In BE I only see News > Relations > Media File > Title and Description.
If I Change "showinpreview" in Table sys_file_reference to "1" the preview Picture Display in the FE.
I know that since 4.1.0 - 2016/01/27 the relation "tx_news_domain_model_media" will be removed. But is there any way to activate preview Images from the backend?
Thanks for any hints and for your great work!
There seems to be a different way to use "imagePallettes" in TYPO3 8. The problem has already been solved in Github Master. https://github.com/georgringer/news
For display preview image in news list see attached image. you can do like this News > Relations > Media File > check "Show in list views".

Dedicates categories for ext news

When I create categories in different directories, all these categories (totally) were listed in the backend of the plugin "news".
In the news items and also in the list-plugin e.g.
How can I tell news to list only the categories of a special dedicated directory (or page)?
The configuration can be changed in the Extension Manager > news: There is the field categoryRestriction. Check the full configuration manual described in the manual: https://docs.typo3.org/typo3cms/extensions/news/AdministratorManual/Configuration/ExtensionManager/Index.html#categoryrestriction
For next time, please always include the TYPO3 Version and extension version(s). thanks!
Nice, it works, but only during creating a news item.
If you put a plugin (list e.g.) into a page, the complete list of existing categories is listed, not only those from the dedicated News directory?

How to download files from tx_news listView?

i'm currently working on a TYPO3 6.2 site using tx_news.
My goal is that a user can use the listView directly to download a related file, like it was possible in TT_news with type download.
The problem is in TX_news is only type news, internal page, external page available.
I dont really want to extend news that much to generate a new news type.
I got two possible solutions:
Use external page as link to file
Problem:
I dont really want the user to type the external file link
into these fields, since its a bigger project with many files.
Use sys_category and link the "more" field to related file
Problem:
I need a hardcoded check in the template files for the "File
Download Category" UID. What if this changes, or in a year some new
people need to maintain this.
This is possible with some template like this, but as is said before, this is an ugly hardcoded check in a template file:
<f:for each="{newsItem.categories}" as="category" iteration="catIterator">
</f:for>
Any help is very appreciated, if someone knows a better, cleaner solution.
To clarify: With 'listView' you mean a list of news items?
If so,
You could add a TemplateLayout to display only the URLs of the related files.
tx_news provides the news type "Internal Link", too.
With this type, it is possible to create a direct link to a file (on your webspace), page, folder or email.
HTH.

Configure TT_News

I'm searing for several hours but can not found an good example on how to configure the tt_news extension with typoscript. I would like to know how I can disable showing the date, cat info and archive to make it a simple overview. Also clicking on the news item does not show the single page? Can any one post an simple example of typoscript for configuring an simple news overview with the tt_news extension?
I think the tt_news documentation will answer all your questions.
Your first issue is very simple to solve: just use your own templates and remove the corresponding marker.
Copy the template from tt_news/pi/tt_news_v2_template.html to somewhere else, e.g. into fileadmin/myproject/tt_news_v2_template.html
Configure tt_news with the new location of the template in your TypoScript Constants: plugin.tt_news.file.templateFile = fileadmin/myproject/tt_news_v2_template.html (you have to include the static TypoScript of tt_news too)
Your second issue seems to be a problem with the single pid configuration. You can solve this with defining your single page in the TypoScript Constants:
plugin.tt_news.singlePid = 123
It seems that you are new to TYPO3 and tt_news, so maybe you should simply follow the quick start guide in the tt_news documentation.

tt_news - How to add comments in tt_news single view?

I setup my own tt_news template and currently try to use the "comments" plugin. After installing and import the standard plugin constants it should show the comments automaticly (so I've read it). But no. Nothing.
How do I get the comments into my tt_news single template?
you also have to insert the comments plugin on the news single page, below the news plugin with single view.
Here you can read about this in the extension manual:
comments manual in TER
Regards
Patrick