简体   繁体   English

TYPO3 6.2:“外观”选项卡消失了(可能是由于t3sbootstrap扩展引起的?)

[英]TYPO3 6.2: Tab “Appearance” disappeared (maybe caused by t3sbootstrap extension?)

When editing an image content element in TYPO3, usually there is a tab "appearance" with options for image size, alignment, position etc. In my installation that tab is not showing, but instead a "nameless" tab. 在TYPO3中编辑图像内容元素时,通常会有一个“外观”选项卡,其中包含图像大小,对齐方式,位置等选项。在我的安装中,该选项卡未显示,而是一个“无名”选项卡。 I'm using the t3sbootstrap extension and this behaviour might be caused by bootstrap. 我正在使用t3sbootstrap扩展名,这种现象可能是由引导程序引起的。

Does anyone know how I can make the appearance tab visible and usable again? 有谁知道我如何使外观标签可见并再次可用? I've searched the internet but didn't find anything helpful so far. 我已经搜索了互联网,但到目前为止没有发现任何有用的信息。 Thanks for your help! 谢谢你的帮助!

Here is a screenshot from my backend: 这是我后端的屏幕截图: 缺少外观标签

Apparently this problem is caused by a corrupted TCA. 显然,此问题是由TCA损坏引起的。 I made the following changes in default TCA using System -> Configuration: 我使用系统->配置在默认TCA中进行了以下更改:

To restore the options for Layout, Top and bottom margins and frames , I set the following: 为了恢复Layout,顶部和底部页边距和框架的选项 ,我设置了以下内容:

$TCA['tt_content']['palettes']['frames']['showitem'] = 'layout;LLL:EXT:cms/locallang_ttc.xlf:layout_formlabel, spaceBefore;LLL:EXT:cms/locallang_ttc.xlf:spaceBefore_formlabel, spaceAfter;LLL:EXT:cms/locallang_ttc.xlf:spaceAfter_formlabel, section_frame;LLL:EXT:cms/locallang_ttc.xlf:section_frame_formlabel';

To restore the appearance tab title: 恢复外观标签标题:

In $TCA['tt_content']['types']['image']['showitem'] I changed LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.appearance to LLL:EXT:cms/locallang_ttc.xlf:tabs.appearance $TCA['tt_content']['types']['image']['showitem']我将LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.appearanceLLL:EXT:cms/locallang_ttc.xlf:tabs.appearance

To restore the image adjustments: 恢复图像调整:

In $TCA['tt_content']['types']['image']['showitem'] I changed --div-- to --palette-- right after the frames part and I added LLL:EXT:cms/locallang_ttc.xlf:palette.image_settings;image_settings, --palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.imageblock;imageblock, --div--; $TCA['tt_content']['types']['image']['showitem']我改变--div----palette--帧部分后右和我加入LLL:EXT:cms/locallang_ttc.xlf:palette.image_settings;image_settings, --palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.imageblock;imageblock, --div--; after the frames part. 在框架部分之后。

This is the result: 结果如下:

$TCA['tt_content']['types']['image']['showitem'] = '--palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.general;general,                --palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.header;header,        --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.images,                image,                --palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.imagelinks;imagelinks,      --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.appearance,              --palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:palette.frames;frames,        --palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.image_settings;image_settings,                    --palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.imageblock;imageblock,                --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.access,                --palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.visibility;visibility,                --palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.access;access,        --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.extended, , --div--;LLL:EXT:flux/Resources/Private/Language/locallang.xlf:tt_content.tabs.relation, tx_flux_parent, tx_flux_column, tx_flux_children;LLL:EXT:flux/Resources/Private/Language/locallang.xlf:tt_content.tx_flux_children';

Result 结果

After making these changes, the result is the following: 进行这些更改之后,结果如下:

结果

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM