typo3-6.2.x

TYPO3 mark root page as active

[亡魂溺海] 提交于 2019-12-25 11:55:49
问题 In my TYPO3 6.2.31 (I know...) page I have the following typoscript for the navigation: NAVIMAIN = HMENU NAVIMAIN.entryLevel = 0 #NAVIMAIN.excludeUidList = NAVIMAIN { 1 = TMENU 1 { expAll = 1 wrap = <ul class="sf-menu">|</ul> noBlur = 1 NO = 1 NO.ATagTitle.field = title NO.wrapItemAndSub = <li>|</li> ACT = 1 ACT.wrapItemAndSub = <li class="active"> |</li> } 2 = TMENU 2 { expAll = 1 maxItems = 10 wrap = <div class="sf-mega">|</div> NO = 1 NO { ATagTitle.field = title wrapItemAndSub = <div

TYPO3 mark root page as active

非 Y 不嫁゛ 提交于 2019-12-25 11:54:19
问题 In my TYPO3 6.2.31 (I know...) page I have the following typoscript for the navigation: NAVIMAIN = HMENU NAVIMAIN.entryLevel = 0 #NAVIMAIN.excludeUidList = NAVIMAIN { 1 = TMENU 1 { expAll = 1 wrap = <ul class="sf-menu">|</ul> noBlur = 1 NO = 1 NO.ATagTitle.field = title NO.wrapItemAndSub = <li>|</li> ACT = 1 ACT.wrapItemAndSub = <li class="active"> |</li> } 2 = TMENU 2 { expAll = 1 maxItems = 10 wrap = <div class="sf-mega">|</div> NO = 1 NO { ATagTitle.field = title wrapItemAndSub = <div

Typoscript USER / USER_INT objects in powermail input fields

久未见 提交于 2019-12-25 10:16:07
问题 I've a custom extension to render a value from database. I want to prefill the returned value of the extension using powermail prefill typoscript. But when I add the plugin as userfunction, then it will display strange output in frontend. See my typoscript code below; lib.companyname = USER_INT lib.companyname { userFunc = tx_extbase_core_bootstrap->run extensionName = ExtPowermail pluginName = Extpowermail vendorName = TYPO3 controller = Extpowermail action = list } plugin.tx_powermail

Background image on body tag with TypoScript

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-25 08:49:44
问题 I would like to assign every Page in TYPO3 Backend a Image. This image should be rendered as background image for my body tag, like. <body style="background-image:url("/fileadmin/user_uploads/image.png")"> I have the version 6.2LTS of TYPO3. In a previous TYPO3 Version (4.5) i realized a smilar solution with this typoscript part page.bodyTagCObject = COA page.bodyTagCObject { 10 = TEXT 10.value = <body style="background-image:url( 20 = TEXT 20 { data = levelmedia: -1 "slide" wrap = uploads

In extbase, how to access item by another value than uid

浪子不回头ぞ 提交于 2019-12-25 07:47:52
问题 In a custom extbase extension, I need to call a show action, passing it another value than uid (this is a continuation of Use other than primary key as RealURL id_field). As the value "other than uid" is not resolved, it results in the exception http://wiki.typo3.org/Exception/CMS/1297759968 EDIT: here's the current working (but ugly) Controller code: /** * ItemController */ class ItemController extends \TYPO3\CMS\Extbase\Mvc\Controller\ActionController { /** * itemRepository * * @var \STUBR

typo3 fe Login does not work

牧云@^-^@ 提交于 2019-12-24 19:53:53
问题 I have a typo3 6.2 instance running with feLogin. Until yesterday the login works perfectly, since 2pm yesterday login is not possible anymore. There haven't been any code changes. What could be the issues? The redirect works fine. Thanks in advance 回答1: Check the logs Check the TYPO3 configuration for FE|loginSecurityLevel Check if rsaauth is installed when using loginSecurityLevel = rsa 来源: https://stackoverflow.com/questions/51493992/typo3-fe-login-does-not-work

How to implement the sourceCollection responsive image rendering in TYPO3?

可紊 提交于 2019-12-24 12:05:13
问题 I want to implement responsive image rendering according to the different scale (media) in TYPO3 using sourceCollection? <picture> <source src="fileadmin/_processed_/imagefilenamename_595cc36c48.png" media="(max-device-width: 600px)" /> <source src="fileadmin/_processed_/imagefilenamename_42fb68d642.png" media="(max-device-width: 600px) AND (min-resolution: 192dpi)" /> <img src="fileadmin/_processed_/imagefilenamename_595cc36c48.png" alt="" /> </picture> I can render it using TypoScript but

Typo3 | CookieConsent2 change message

筅森魡賤 提交于 2019-12-24 08:57:46
问题 I got the problem that I cannot change the message shown in the box. Even though I changed the message in the file: 'Root/typo3conf/ext/cookieconsent2/Resources/Private/Language/de.locallang.xlf' I first thought there could be another file but I were not able to find any other and my next guess was maybe a problem with the cache. But this did not work either. I appreciate any help! 回答1: The Messages of the translationfiles are cached, so if you changed something in these files you've to

“Could not analyse class: maybe not loaded or no autoloader?”

邮差的信 提交于 2019-12-24 07:06:49
问题 I created (my first) extension with one viewhelper. Oops, an error occurred! Could not analyse class:My\Mlv\ViewHelpers\Format\ReplacenewlinesViewHelper maybe not loaded or no autoloader? In use (with news): {namespace m=My\Mlv\ViewHelpers} {newsItem.bodytext -> m:format.replacenewlines()} Directory tree of extension: typo3conf/ext/mlv ext_emconf.php (copied from another ext) /Classes /ViewHelpers /Format ReplaceNewLinesViewHelper.php ReplaceNewLinesViewHelper.php: <?php namespace My\Mlv

TYPO3 translate to NOT current language

北慕城南 提交于 2019-12-24 05:14:07
问题 I have typo3 extension with template: {namespace v=Tx_Vhs_ViewHelpers} <f:translate id="LLL:typo3conf/ext/my_ext/Resources/Private/Language/fr.locallang.xlf:labelTerms" /> <f:translate id="LLL:typo3conf/ext/my_ext/Resources/Private/Language/it.locallang.xlf:labelTerms" /> If current language is French, first label translated to French, but second displays in English (default). When I switch current language to Italian, second label displays in Italian but first displays in English How can I