TYPO3 FluidTYPO3:TYPO3后端内容元素的错过磁通图标 [英] TYPO3 FluidTYPO3: Missed Flux Icons for Content Elements at TYPO3 Backend

查看:191
本文介绍了TYPO3 FluidTYPO3:TYPO3后端内容元素的错过磁通图标的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好我正在使用 TYPO3 CMS 6.2.14 使用FluidTYPO3( flux 7.2.2 fluidcontent 4.3.2 vhs 2.3.3 )。自从最后几个TYPO3安装后,我在后端缺少Fluidcontent-Elements的图标?!我没有改变路径或某事。否则。

Hi I'm using TYPO3 CMS 6.2.14 with FluidTYPO3 (flux 7.2.2, fluidcontent 4.3.2and vhs 2.3.3). Since the last few TYPO3 installations my Icons for Fluidcontent-Elements are missing in Backend?! I've didn't change the path or sth. else.

这是我的尝试,没有任何作用:

Here are my tries, nothing works:

<flux:form id="fce6" icon="../typo3conf/ext/mytemplates/Resources/Public/Icons/Content/Icon.gif" wizardTab="FCE" options="{Fluidcontent: {sorting: 106}}">
...
<flux:form id="fce6" options="{Fluidcontent: {sorting: 105}, group: 'FCE', icon: '{f:uri.resource(path: \'Icons/Content/Icon.gif\')}'}">
...
<flux:form id="fce6" options="{icon: '{f:uri.resource(path: \'Icons/Content/Icon.gif\')}'}">
...
<flux:form wizardTab="Bootstrap" id="tabs" icon="{v:extension.path.resources(path: 'Icons/icon-tabs.gif')}">

如果我使用开发人员工具(浏览器)检查后端中缺少的图标,则会找到图标,所以我不明白。

If I inspect the missing Icons in Backend with a developer tool (browser), the Icon is found, so I don't understand it.

../typo3conf/ext/mytemplates/Resources/Public/Icons/content/Icon.gif

一些sceenshots

Some sceenshots

-

有趣的是,Icon仍在那里,如果你在Fluidcontent Element(FCE)内,请参阅最后一个截图(红色栏图标):

The funny thing is, that the Icon is still there, if you're inside the Fluidcontent Element (FCE), see last screenshot (red bar icon):

: 我正在寻找一个旧的TYPO3项目和图标还在那里: flux 7.2.1 fluidcontent 4.2.4 TYPO3 6.2.15
代码:

EDIT :: I was looking in one of my older TYPO3-Projects and the Icons are still there: flux 7.2.1, fluidcontent 4.2.4 and TYPO3 6.2.15 Code:

<flux:form id="tabsvertical" options="{Fluidcontent: {sorting: 305}, group: 'FCE', icon: '{f:uri.resource(path: \'Icons/Content/Example.gif\')}'}">

查看截图:

推荐答案

Flux支持基于约定的图标

这意味着,对于每个模板,您可以在图标文件夹中包含相应的图标,该文件夹将自动显示。

It means, that for each your template you can have corresponding icon in Icons folder, which will be shown automatically.

示例:

模板文件 typo3conf \ ecxt \ my_ext \ Resources \ Private_\\Templates\Content\Grid-1.html 应该有一个图标 typo3conf\ext\my_ext\Resources \Public \ Icons \Content\Grid-1.png

Template file typo3conf\ext\my_ext\Resources\Private\Templates\Content\Grid-1.html should have an icon typo3conf\ext\my_ext\Resources\Public\Icons\Content\Grid-1.png.

更改日志

这篇关于TYPO3 FluidTYPO3:TYPO3后端内容元素的错过磁通图标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆