typoscript

typoscript: do not show submenu if certain backend_layout is selected

陌路散爱 提交于 2019-12-13 06:33:12
问题 I made a special panning sub menu with icons which can be inserted choosing a specific backend_layout named pagets__panmenu , if that layout is selected the main menu should not display a sub menu and link to the page instead of opening a sub ... I work with typo3 V7.6.11 and fluid styled content The part reading the value works correctly: NO = 1 NO { before.cObject = LOAD_REGISTER before.cObject{ panmenu.cObject = TEXT panmenu.cObject.data.dataWrap = DB:pages:{field:uid}:backend_layout }

How to define fluid template for grid elements?

我的未来我决定 提交于 2019-12-13 05:51:13
问题 At the moment I am using this TS to prepare my content from a grid element (https://typo3.org/extensions/repository/view/gridelements): tt_content.gridelements_pi1.20.10.setup { 1 < lib.gridelements.defaultGridSetup 1 { columns { 10 < .default 10.wrap = <div class="gefa">|</div> 11 < .default 11.wrap = <div class="gefa2">|</div> 12 < .default 12.wrap = <div class="gefa3">|</div> 13 < .default 13.wrap = <div class="gefa4">|</div> } } } Now I want to make a html template (fluid) with

TYPO3 News system, how to show Archive list

谁都会走 提交于 2019-12-13 04:42:46
问题 Im running TYPO3 v. 6.1, FLUID/EXTBASE. I have installed the Extension News System and it's working fine. Now im trying to show an archive list, but im not getting any list. I have added my code to a lib. so it's a lib im calling on my main page. Can someone see whats wrong in this code. lib.NewsArchive < plugin.tt_news lib.NewsArchive { datetimeDaysToArchive = {$plugin.tt_news.datetimeDaysToArchive} enableArchiveDate = 1 pageTypoLink.parameter.current = 1 reverseAMenu = 1 archiveMenuNoEmpty

How to remove anchors in a multilang TYPO3 9.5.5

别说谁变了你拦得住时间么 提交于 2019-12-13 04:11:45
问题 I tried in my typoscript setup as this stack overflow topic describes: tt_content.stdWrap.dataWrap > tt_content.stdWrap.prepend.dataWrap > tt_content.stdWrap.innerWrap.cObject.66.10 > But nothing works in my TYPO3 9.5.5 multilang. In my language id=0 I do not have anchors (even without the tt_content.stdWrap). In my language id=1 I cannot get rid of it. Do you got a solution or some helpful hint? 回答1: if you use FSC: in the layoutfile ( ext:fluid_styled_content/Resources/Private/Layouts

How to wrap image with div in typo3?

倖福魔咒の 提交于 2019-12-13 02:37:35
问题 To remove default wrap around image, i have used this template code: tt_content.image.20.rendering.noWraps { imageRowStdWrap.dataWrap = | noRowsStdWrap.wrap = | oneImageStdWrap.dataWrap = | imgTagStdWrap.wrap = | editIconsStdWrap.wrap = | caption.wrap = | } # Set this as active rendering method tt_content.image.20.renderMethod = noWraps I want to override it above codes for a specific section. Here is my code to do so: SCREENSHOTS<styles.content.get SCREENSHOTS.select.where = colPos = 9

TYPO3 get category uid at FLUID template (sys_category)

雨燕双飞 提交于 2019-12-13 01:04:23
问题 I try to show my category uid or name as a class="category.uid" at my FLUID template. If I try <f:debug>{data}</f:debug> I'll see there are an output like: categories => '1' (1 chars) But how can I write the category-uid or -name into my FLUID/HTML, similar like this: <div id="container" class="{data.nav_title}"> <!-- I need the categories --> <div id="container" class="{categories.uid}"> THanks for your help. EDIT: some screenshots The info is in table sys_category title, uid, pid .. `{data}

TYPO3 menu - duplicate parent link on submenu list

我的梦境 提交于 2019-12-13 00:49:09
问题 Is it possible to insert the parent link to sub menu list. It should looks like this: Parent link |--Parent link |--Subpage link1 |--Subpage link I need this for bootstrap menu where every parent link is only clickable (to expand the sub menu) My menu looks like this: lib.header-menu = HMENU lib.header-menu.entryLevel = 0 lib.header-menu { 1 = TMENU 1 { wrap = <nav class="navbar navbar-default" role="navigation"><ul class="nav navbar-nav">|</ul></nav> expAll = 1 NO { ATagTitle.field = title

Assign plugin in typoscript

本小妞迷上赌 提交于 2019-12-12 20:27:21
问题 I have a plugin http://typo3.org/extensions/repository/view/aw_consume I'm using it as a content element it's working When I try to assign to a subpart in my typoscript nothing shows up LOGOUT < plugin.tx_awconsume.widgets.menu this plugin was created with the extension_builder extension installed on TYPO3 6.1.4 update 3 plugin.tx_awconsume { view { templateRootPath = {$plugin.tx_awconsume.view.templateRootPath} partialRootPath = {$plugin.tx_awconsume.view.partialRootPath} layoutRootPath = {

AJAX calls to TYPO3 Extension not working

為{幸葍}努か 提交于 2019-12-12 20:11:13
问题 I'm trying to make an AJAX call in my application to a certain custom extension. The request seems to going, but somehow it seems like the application is not recognizing the Extension or something. I use TYPO3 V6. The request params caught from my browser are : id 82 no_cache 1 tx_mediaplugin_mediaplugi... update tx_mediaplugin_mediaplugi... MediaPlugin type 99 my updateAction is : public function updateAction(){ die('Ajaxed!'); } I added the following script in my Extension View and I use it

TYPO3 distribution.png issue when posting images

只谈情不闲聊 提交于 2019-12-12 10:25:40
问题 This issue has already been raised here but without answer. I am not sure it is exactly the same problem. My website uses TYPO3 6.2. It includes 3 static templates: CSS Styled Content Bootstrap Package Fluid content elements: Twitter Bootstrap The Typoscript is only a custom CSS that can be removed without change. The problem is that every image added through the page editor in a typical page content (as "Text and Images" or "Images Only"), the displayed image is always the following: https:/