typo3

Change size of image through css in outer div container

醉酒当歌 提交于 2019-12-12 00:51:23
问题 I want to change the width of an image via css. As I am doing this through typo3 I only have access to the outer div container (custom border of the content element). So I added the following line to my css file: .Bild-Startseite img { max-width:50% !important; } The div container is using Bild-Startseite . Unfortunately the container does not resize, leaving a blank area on the right of the image. How can this be corrected, so the image is aligned to the right and the text floating around it

typo3 remove session data of fe-user

℡╲_俬逩灬. 提交于 2019-12-11 23:17:10
问题 Hi I have an typo3 extension that stores data in session. After my actions are finished I want to remove the session data. I tried this: $GLOBALS['TSFE']->fe_user->removeSessionData(); But this does not work. What is my fail? Thanks in advance UPDATE if ( is_null($GLOBALS["TSFE"]->fe_user->getKey("ses", "Step1")) ) { $this->redirect('noProductFound'); } $arguments = $this->request->getArguments(); $reloadPage = new \TYPO3\ShopExtension\Controller\ShopStep(); $product = $arguments['product'];

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

TYPO3 extension to be listed under “Web” list

谁说胖子不能爱 提交于 2019-12-11 21:04:06
问题 I have an extension created using extension builder. The TYPO3 version is 6.1.0. Just like we have the news extension in TYPO3, I would like my extension to also be shown under the Web list. Can custom extensions be displayed like this ? I want my extension to be listed under Web but Of course it should also be listed under List>Page... But by having the extension listed here, I can have all the records of this extension under one tab. Thanks in advance. :) 回答1: You created your BE module

How can I add an action to a TYPO3 frontend plugin?

倖福魔咒の 提交于 2019-12-11 19:53:20
问题 I am using powermail and extending it with powermail_extended and want to add a new action to what the frontend plugin is doing. Extending the Controller is not the issue: It is overloaded via XCLASS: config.tx_extbase.objects { In2code\Powermail\Controller\FormController.className = In2code\PowermailExtended\Controller\FormController } But simply calling this action is not enough, because the prefences are stored in the frontend plugin in the backend. This frontend plugin is configured in

using jquery .ready() to manipulate chained checkboxes within typo3

╄→尐↘猪︶ㄣ 提交于 2019-12-11 19:36:38
问题 Using jquery, given multiple checkboxes, we can toggle a fieldset on/off if a particular checkbox is checked/ unchecked. Also, if a checkbox is checked by default, the corresponding fieldset will be displayed upon page load. See http://jsfiddle.net/Hbmpk/1/ However, if this is done within Typo3, the fieldset is not displayed upon page load. Here is the typoscript: page.includeJSlibs.jquery.external = 1 page.includeJSlibs.jquery = http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min

typo3 flexslider should user original image and not cropped one

旧巷老猫 提交于 2019-12-11 19:28:06
问题 In my typo3 7.6.19 Website I want to user the flexslider plugin. That works fine, my problem is that the image is a cropped one and not the original file I uploaded. How can I change it to use the original picture? Thanks in advance 回答1: The plugin sets up a TypoScript constant plugin.tx_wsflexslider.maxwidth=800px You can modify this value in your TypoScript template (Module Template > Constant Editor > select "PLUGIN.TX_WSFLEXSLIDER" About your other problem that is artifacts in the reduced

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

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. 来源: