typo3

Set maxImageWidth for images within gridelements col using fluid_styled_content (TS)

寵の児 提交于 2021-02-11 09:06:30
问题 Defining a custom gridelement in TS one can setup the maxImageSize for an texmedia image rendered inside a col. So in a 50-50 grid one might set the max image width to 50% of the regular max. columns { default { renderObj { 10 = LOAD_REGISTER 10.maxImageWidth = 273 30 = RESTORE_REGISTER } } } However this is not working using fluid_styled_content instead of css_styled_content. Anyone knows how to configure that using gridelements with fluid_styled_content? 回答1: Your code doesn´t work because

Display TMENU.2 even if it has no submenu points (but content)

Deadly 提交于 2021-02-08 11:44:18
问题 This may sound strange, but I have a menu where the first page has no real subpages. However, it has an appended COA with 2 custom TMENU's and a plugin insertion. But: The subnavigation for this page is only generated when I add a visible subpage to this page (which would be a workaroud). Is there a better solution to get this menu visible? Here's the typoscript: field_main_navigation = HMENU field_main_navigation { 1 = TMENU 1 { expAll = 1 NO. wrapItemAndSub = <div class="wrap-itemAndSub">|<

TYPO3 installation issue - FIRST_INSTALL

旧街凉风 提交于 2021-02-08 03:57:36
问题 Hi I'm new to TYPO3 and have followed the installation instructions and my installation is stuck at the following point; CMS 8.7.0 Thank you for downloading TYPO3 To proceed with the installation, create the file FIRST_INSTALL in your root directory. The filename is case-sensitive but the file itself can be empty. Note: The file will be deleted once you proceed with the installation. I have added the file and till the installation shows the same message, please check my server directory

Get the timestamp of last modification of TYPO3 page, difference between tstamp and SYS_LASTCHANGED

好久不见. 提交于 2021-02-07 12:50:22
问题 What is the right way to get the date of last modification of a TYPO3 page (and its *tt_content*) ? There are 2 fields in properties of table pages : tstamp and SYS_LASTCHANGED. In this article SYS_LASTCHANGED are recommended. But what is the role of tstamp in this case ? Which one should we use ? 回答1: tstamp is modification time of the page record itself. SYS_LASTCHANGED is the modification time of the page OR its content. It's updated once the page is rendered in the frontend, not right

TYPO3 - how to properly define constant, store it into variable and use inside of fluid template

北城以北 提交于 2021-02-07 06:23:08
问题 In the Fluid template of plugin I am working on, some things are hardcoded. For instance: <f:else> <li> <v:page.link pageUid="114" /> </li> </f:else> Since pageUid values are not same on test and production server I would like to make this more dynamic. I would like to store this somehow in variable and then use the variable in the fluid template. I just dont know hot to make this and where in TYPO3. Thanks in advance! 回答1: Because it is an setting do it like this: Constants: plugin.myext

TYPO3: what is the field “access_group” for?

爱⌒轻易说出口 提交于 2021-02-05 11:28:48
问题 I don't know what is the field "access_group int(11) DEFAULT 0 NOT NULL" for? First I thought it's for restriction by user_group, but there is an field "fe_group varchar(100) DEFAULT '' NOT NULL" for it. You can find the field also at the documentation Preparing the database , but I couldn't find a description for it, only for "fe_group". 回答1: access_group is the be_user group. In TYPO3 you have an access-system similar to the unix-rights, where you can grnat access to pages (and records in

Problems with html RTE Editor in TYPO3 7.6 with Safari Browser

喜欢而已 提交于 2021-01-29 19:52:56
问题 I'm using TYPO3 7.6.32 where I have a problem with my editor in the backend with the Safari browser. In all other browsers this does not appear. Does anyone know this problem and know how to fix it? This is the screenshot of the backend in the Safari browser: Best Regard 回答1: Since the release of Chrome 73 the Rich Text Editor (RTE) of TYPO3 is broken. Safari and Chrome both use webkit as basis so I assume, the problem is the same. Since TYPO3 7.6 is End of Life (EOL) since end of November

TYPO3 8 form - Define several file upload folders

自作多情 提交于 2021-01-29 15:08:37
问题 I want to define different upload folders in the TYPO3 form extension. Following the example in the manual (https://docs.typo3.org/c/typo3/cms-form/8.7/en-us/Concepts/FormFileStorages/Index.html) I tried the below configuration. In the form wizzard I can select the different folders. The two folders fileadmin/myfolder/folder1/ and fileadmin/myfolder/folder2/ exist, but in the frontend I get the error that the folder /myfolder/folder1/ does not exist. What am I doing wrong? TYPO3: CMS: Form:

Make js-code work to add - remove a class in TYPO3 TS menu

↘锁芯ラ 提交于 2021-01-29 14:33:13
问题 I like to achieve this effect for a TYPO3 site navigation - see the codepen here: https://codepen.io/mr_vespa/pen/zYryZQo On load the menu has the first tab highlighted. On click the selected tab will be highlighted. Both effects are not taking place. How to get an "active" class on the first menu tab only why is the js-code not applied both jquery and the js-code are included/ TYPO3 version 9.* The menu code (which is coded for use with Foundation 6.4.2 dropdown menu). and working fine. lib

TYPO3 9.5 slug redirect for extbase records results in PageNotFoundException

北城余情 提交于 2021-01-28 22:25:41
问题 I want to be able to call blogpost entries by their slug, which is made of their title, through a routeEnhancer . The slug is generated correctly, but calling the URL results in a PageNotFoundException with the error message: Request parameters could not be validated (&cHash empty) And with links generated with Fluid: <f:link.action action="show" arguments="{'blogpost': blogpost}" pageUid="{settings.ShowPid}">Weiterlesen</f:link.action> ... I get The requested page does not exist Using TYPO3