typo3

TYPO3 limit to language binds content

一个人想着一个人 提交于 2019-12-10 12:02:17
问题 I'm using TYPO3 for a multi language web site and I want the localization mode of the frontend to be not binding. Meaning a user limited to the portuguese language should be able to create new elements in portuguese only. If it was binding he couldn't create but only translate the original (official explanation) The issue is I'm limiting the user to portuguese only and when logging with that user he's not able to create any content element be it in default or portuguese only. And if I give

How to remove div around an image in typo3?

巧了我就是萌 提交于 2019-12-10 11:47:49
问题 I added an image in typo3. It showed up with extra div in page. <div class="csc-textpic csc-textpic-center csc-textpic-above"> <div class="csc-textpic-imagewrap" data-csc-images="1" data-csc-cols="2"> <div class="csc-textpic-center-outer"> <div class="csc-textpic-center-inner"> <figure class="csc-textpic-image csc-textpic-last"> <img src="fileadmin/user_upload/aetuts.jpg" width="200" height="50" alt=""></figure> </div> </div> </div> </div> I want something like this <img src="fileadmin/user

Typo3 ke_search extension Fatal error

风格不统一 提交于 2019-12-10 11:33:20
问题 I'm pretty new to Typo3, so sorry if I can't understand what's the problem here. I installed the extension ke_search and followed (many times!) the basic and simple instructions given to setup it. The indexer works and everything seems just fine, but when I try to check the front end page, an error occours: PHP Catchable Fatal Error: Argument 1 passed to TYPO3\CMS\Fluid\View\StandaloneView::setTemplateRootPaths() must be of the type array, null given, called in (...)/typo3conf/ext/ke_search

Add parameter to link in typoscript

夙愿已清 提交于 2019-12-10 11:28:45
问题 I have my site setup so that if you are on a mobile you get a mobile rendered template. To click to go to the main site you go index.php?id=??&mainsite=1 This all works fine however I have a link at the bottom of my mobile template that says go to main site. I want this to go to the main template page for the current page id eg index.php?id=page:uid&mainsite=1 If I do lib.mainsitelink= TEXT lib.mainsitelink.data = page:uid I get www.example.com/uid so when uid = 3 i get www.example.com/3 but

Render CONTENT in PHP with TypoScript

无人久伴 提交于 2019-12-10 11:23:47
问题 I need to build a Typoscript file in PHP and then pretty much execute the script to get the content of a given page. This is my Code: if (!defined('PATH_typo3conf')) die ('Could not access this script directly!'); class ContentHandler extends tslib_cObj { var $conf; public function __construct() { tslib_eidtools::connectDB(); } public function main() { $this->createConf(16); $code = $this->cObjGet($this->conf); echo "<pre>"; print_r($this->conf); echo "</pre>"; echo "<pre>"; echo "code: " .

TYPO3 Plugin: ways to insert on a page

♀尐吖头ヾ 提交于 2019-12-10 10:17:00
问题 Is it possible to insert a frontend plugin to a page without having a template (and markers) included? Normally I use: 10.marks { CONTENT_LEFT < plugin.tx_xy_p1 } But in a new project I dont want to have a template file where the markers ( ###CONTENT_LEFT### ) are included. The plugin should appear as the only thing on that page. 回答1: If all you want is the plugin, simply create a sparkingly fresh root template with the standard page object of type PAGE, and insert plugin content there.

Displaying records from EXT:news in specific language

*爱你&永不变心* 提交于 2019-12-10 09:28:00
问题 I'm trying to display a news record in a different language to the default language where no record in the default language exists. The multilanguage configuration is config { sys_language_mode = strict sys_language_overlay = 0 } The Plugin on the page is set to 'All languages'. News only existing in the default language are suppressed as expected, but news only available in another language are not appended to the list. (EXT:news version is 2.2.1, TYPO3 Version is 4.7.14) 回答1: This is a bug

Typo3 Fluid Image crop of with and height failure

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-10 00:00:54
问题 Using this code: <f:image src="/uploads/extkey/{image}" alt="" width="115c" height="70c" /> Produces following HTML output: <img src="typo3temp/_processed_/csm_testimage_31f6051846.gif" width="115" height="92" alt=""> The image has a wrong height now and there are white bars at top and bottom. I figured out that "92" comes from its proportion (original image is: 1280 × 1024). I guess if the white bars at top and bottom are cut out the height of 70 will be reached. Any ideas why Typo3 is doing

TYPO3: indexed_search and language

随声附和 提交于 2019-12-09 20:36:47
问题 If I make a search with indexed_search the page has contents like Search for: xxx Page 1 Page x Next > Size Created but the language of the page is another one. This is true for the default language (german) and another language (slovenski). The configuration of the plugin has either the Language Default or Slovenski . I have set the config.language parameter config { linkVars = L sys_language_mode = content_fallback sys_language_overlay = hideNonTranslated sys_language_uid = 0 language = de

Send TYPO3 EXT:powermail mail to different receivers depending on selection in a dropdown

て烟熏妆下的殇ゞ 提交于 2019-12-09 13:35:14
问题 I often have the requirement to send a powermail-form to different receivers depending on a selection of a selectfield within the form. Im using TYPO3 7.6.x and Powermail 3.3.0 How can this be done? 回答1: With the help of @alex-kellner in the slackchannel of EXT:powermail i found a quite easy solution for that: Basically there are 2 Steps needed: Step1 Values for the Options in the select field. You need to add values to your option in the select field. This can be done by appending a pipe |