tx-news

TYPO3 EXT tx_news und typoscript USER multi integrations

我只是一个虾纸丫 提交于 2019-12-12 03:39:14
问题 i input multi integrations tx_news elements on my site, via TS: https://docs.typo3.org/typo3cms/extensions/news/AdministratorManual/BestPractice/IntegrationWithTypoScript/Index.html it works fine! but the ext loaded the full tx_news libs again and again on the Frontpage! That even where the news page will not be used / loaded in FE even where the dough is not needed, the ext is loaded... :/ Thus, the website has become very slow. how do I include multiple elements? in the AdminPanel see i the

useStdWrap conflicts with overrideFlexformSettingsIfEmpty in tx_news

拥有回忆 提交于 2019-12-12 02:25:16
问题 In tx_news all plugin settings can also be set via TypoScript by adding their names to overrideFlexformSettingsIfEmpty . As the name suggests, these TS based settings are only used, if the corresponding Flexform fields of any plugin incarnation are left empty. This is what I want and what I need. It allows for a basic TS configuration that can be overwritten within each plugin element. Now here's the problem: As my TS default values need more complex calculations, I also activate useStdWrap

List View after DateMenu shows all newsitems, instead of only items of selected year/month

霸气de小男生 提交于 2019-12-11 18:52:00
问题 request uri: id=55&tx_news_pi1%5BoverwriteDemand%5D%5Byear%5D=2016&tx_news_pi1%5BoverwriteDemand%5D%5Bmonth%5D=10&tx_news_pi1%5Bcontroller%5D=News&cHash=36b4a3a8303b04f2c15c193b6a338b10&no_cache=1 Selection on year (= 2016) and month (= 10), but the news extension does nothing with these selectionitems. Result: all the newsitems are shown. What must I do to activate the selection? 回答1: You should uncheck option "Disable override demand" in news-plugin tab "additional". Thats works for me. 来源:

TYPO3 force internal links to cross domain pages to use https in news

纵然是瞬间 提交于 2019-12-11 17:25:12
问题 my TYPO3 website has multiple domains that have links from internal news to another a page in another domain. Domain A (with SSL in frontend) Page 1 News (folder) News A News B Domain B (with SSL in frontend) Page 2 Page 3 Links in News A to Page 1 work perfectly fine, but when linking from News B to Page 2 or Page 3 , the url is generated properly, but the scheme is always http : Example News A : <a href="/Page-1.html">Page 1</a> Example News B : <a href="http://domain-b/Page-2.html">Page 2<

TYPO3 extension; read custom FAL variable in the domain to use in fluid template

こ雲淡風輕ζ 提交于 2019-12-11 15:36:57
问题 In my custom extension I introduced a binary variable to the image metadata that needs to be read, similar to the "Show in list view" of tx_news . With tx_news as example I was able to add the variable, the new palette shows the checkbox in the backend and the selection is registered in a new database field in the sys_file_reference table ... now I need to use this variable in my fluid templates, and here I lose the trail; the objects are items and the new variable is named opentab , I

TYPO3 tx_news: How to remove “news” prefix from RealURL path

删除回忆录丶 提交于 2019-12-11 12:23:04
问题 I have a problem. Does anybody know how to get rid of the news prefix from url ? it is like this http://www.example.com/**news**/detail/title-of-news/ and I would like to be like this http://www.example.com/detail/title-of-news/ Or replace news word with diffrent "article" for example. 回答1: place single view plugin on separate article page Use fixedPostVars (from RealURL docs) to shorten the url, read this answer to see the sample for tt_news (sorry I haven't now any sample for News + RU, but

RouteEnhancer with aspects throws InvalidParameterException

荒凉一梦 提交于 2019-12-11 10:59:10
问题 I used the example verbatim from the Changelog: The only thing I changed was the limitToPages. routeEnhancers: NewsPlugin: type: Extbase limitToPages: [82] extension: News plugin: Pi1 routes: - { routePath: '/{news_title}', _controller: 'News::detail', _arguments: {'news_title': 'news'} } defaultController: 'News::detail' aspects: news_title: type: PersistedAliasMapper tableName: 'tx_news_domain_model_news' routeFieldName: 'path_segment' routeValuePrefix: '/' This throws an exception in 9.5.4

How to get page categories in Typoscript (and use with tx_news)

蹲街弑〆低调 提交于 2019-12-06 11:37:48
问题 I would like to read out a page's system categories for further use with tx_news (to display news that have the same categories as the page - as tx_news is using system categories). I was looking for a native solution, hopefully via getText, something like: plugin.tx_news.settings.categories.data = page:categories but that doesn't seem to exist yet Also, I tried to simplify the query by using sys_category_records_mm, which contains all the information needed for that case, but TYPO3 complains

Translation of content elements in tx_news shows default language

社会主义新天地 提交于 2019-12-03 20:36:58
Environment: TYPO3: 8LTS News: 6.3.0 (also checked with 7.x) News List View (Page) is translated News Detail View (Page) is translated News Record translated Problem: When i visit the page on language UID 1 the news record itself is translated (For example headline ). In the Detail view we render the content element. This is always shown in the default language The Problem could be fixed by switching sys_language_overlay from 0 to 1 config { sys_language_mode = content_fallback sys_language_overlay = 1 } To prevent that the content elements are hidden by default you could also set TCEMAIN

Good practice on how to set up routeEnhancers for list and detail view of ext:news?

守給你的承諾、 提交于 2019-12-02 11:40:46
问题 Precondition The ext:news list view plugin is on page www.domain.com/news [ID 9] and the detail view on www.domain.com/article [ID 39]. Following the official example (docs.typo3.org) I tried the "Extbase Plugin Enhancer" example of the feature description, but that caused some problems: The pagebrowser link to page 2 has a cHash: news/list/2?cHash=123456789 The pagebrowser link from page 2 to page 1 has lots of get-parameters: news?tx_news_pi1%5Baction%5D=list&tx_news_pi1%5Bcontroller%5D