typoscript

TYPO3 RTE Stylesheet broken link?

狂风中的少年 提交于 2019-12-12 04:28:13
问题 I am using this typoscript in my Page TS Config to add a stylesheet to the RTE: RTE.default.ignoreMainStyleOverride = 1 RTE.default.contentCSS = fileadmin/templates/css/rte_formats.css I have used this several times perfectly, however I am working on a new server running TYPO3 7.6.11 and the stylesheet does not link. If I inspect the RTE the css file is linked there, but the link is broken. I don't know if it is related but in the filelist area if I open the info window for the css file and

Typo3: How can I read the value of a field in page->edit->tab: Metadata

爷,独闯天下 提交于 2019-12-12 04:18:17
问题 I create a header based on one image, one Main Header and one Sub Header. The following fields/labels in page/edit/Metadata are renamed like that: TCEFORM.pages.author.label.default = HeaderImageMainTitle TCEFORM.pages.author_email.label.default = HeaderImageSubTitle Now I get the content of the media/create new relation/image file and that works fine. But the values of the above two fields with former label 'author' and 'author_email' stay empty (the format tags are there, but no content):

TYPO3 7.6. change typoscript hierarchy via extension-template

走远了吗. 提交于 2019-12-12 04:15:00
问题 Is there a possibility to change the typoscript template hierarchy via an extension-template? Currently i have defined everything including all typoscript in my extension. This works fine with real_url configuration etc. But everything regarding indexed_search is overwritten by the original extension itself. Is there a possibility to define the loading/parsing order of extensions? Thanks! 回答1: You need to define a dependency to all extensions that should load before your extension. If you do

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

TYPO3 - How to add a placeholder to an input field?

余生长醉 提交于 2019-12-12 03:26:52
问题 In TYPO3 (7.2.0) using the standard template engine, is there a way to add a placeholder attribute to the standard mail form text input? At the moment I am using JavaScript to convert the labels into placeholders, but I am open to suggestions on a better way to do this... 回答1: The suggested solution of @biesior does only work for EXT:form 7.4 and higher (see changelog). The supplied picture shows the form wizard of TYPO3 7.5 or 7.6. In 7.2 you won't find any placeholder attribute in 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

TYPO3 lib HTML and TEXT code

淺唱寂寞╮ 提交于 2019-12-11 22:23:08
问题 I want to show i LIB on my page, but it will be showed on the page all my sits, but not the site with Uid = 3 So in my main TS i have, this [globalVar = TSFE:id <> 3] ..... [end] My question is now, how do i setup a lib, thats have some text and HTML content in it.. Lets say that its this i want to show <div class="ProductListTitle_style1"> my text my text <p> text text text... </p> </div> 回答1: You can use lib = COA in combination with TEXT and IMAGE lib.b = COA lib.b { wrap = <div class=

TYPO3 extension real_url returns 404 on all pages

…衆ロ難τιáo~ 提交于 2019-12-11 21:15:11
问题 assume the following pagetree structure root client1 page 1 page 2 page 3 client2 page 1 page 2 page 3 by default TYPO3 will display the page by id /index.php?id=[pid] I'm trying to achieve the following effect /client1/page1 so I came across the realurl extension which I did managed to make it work and I got the expected result in the url after setting config.absRefPrefix = client1/ in my setup.ts field in my template realurl.basic.enableAutoConf = 1 in the extension's configuration page but

Replacing <a>-tag linktext with different text

蹲街弑〆低调 提交于 2019-12-11 19:14:25
问题 I try to map the following html (it´s a small fce).. <div> <div data-hero="1"> <h1> <!-- Headline --> </h1> <p> <!-- Small Text --> </p> <p> <a> <span><!-- Button Text --></span> </a> </p> </div> </div> Mapping is ok... But when i map the <span> i get a No content found div[1] div[1] p[2] a[1] span[1] error. The <a> -Tag is mapped outter so it should work.. What I try to achieve: Set a Text that is displayed in the <a> -tag, instead of the link target itself. It´s a TYPO3 4.7 using the latest

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<