问题标签 [typo3-8.7.x]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
typo3 - TYPO3 - 如果记录的 realurl 路径不存在,则 Doctrine 查询 NOT WHERE INNER JOIN
我正在渲染列 uid、abc 和表 tx_abc_domain_model_abc 的名称 ...
...但现在我只想渲染那些尚未创建 realurl 路径的记录。
所以我想我需要两个表tx_abc_domain_model_abc和 tx_realurl_uniqalias?
动作控制器:
这个对吗?但是 NOT WHERE 怎么办?
typo3 - TYPO3 indexed_search 历史
我正在使用最新的 TYPO3 8 LTS。
有没有办法查看 indexed_search 执行的所有搜索查询的完整历史记录?
我已经搜索过扩展名,但其中很多已经过时了。
typo3 - TYPO3 8.7.8 限制后端布局列中的可用内容元素
我一直在寻找,但还没有找到可以工作的东西......
TYPO3 8.7.8
两个后端布局看起来都一样:
顶部的名称不同,使用方式也不同。
“主要”后端布局的顶部应该只允许图像内容元素。
“Home”-backend-layout 的顶部应该只允许 text-content-element
我试过的最后两件事是
第一:使用打字稿中的 GlobalVars 限制它
第二:改变数据库中布局的属性
我已经尝试了很多其他的东西,但我不确定我是否会再次找到它们。我什至不确定这可以在 TYPO3 8.x 中完成。以错字创建后端布局的选项确实受到限制。您只能键入列的名称并定义 colPos。
我对 TYPO3 8.x 做错了什么,我的配置不起作用吗?我需要不同的属性吗?或者它只是不打算在这个版本的 TYPO3 中再以这种方式工作?因为它似乎以前奏效过……
我还是 TYPO3 的新手,非常感谢您的帮助,但要具体说明在哪里更改,否则我会再次迷路.... ^^
谢谢!
typo3 - 使用原始 SQL 将单个字段添加到模型
我正在为 TYPO3 CMS 8.7.8 开发一个扩展。我正在使用query->statement()
从单个表中选择所有字段,以及从另一个表中选择 1 个字段。我得到了一个QueryResult
合适的模型,我想在其中添加 1 个额外的字段。那可能吗?
typo3 - 我可以使用类似于 Rails 的 'has_many :through' 的东西吗?
我正在尝试has_many :through
在我的扩展程序中重新创建关系。我可以在 TCA 中使用类似的东西吗?
php - typo3 add a main menu in backend
I am trying to add a new main module entry to the module navigation on the left of the backend of typo3. I have found online that this should be possibel through the ::addModule
method.
I am trying it like this:
having read the ExtensionManagementUtility
-class the method should add a new main module when none with that particular name is known.
Now: If I leave the $sub
parameter empty, it should add a blank main module to the menu. If I do that however, nothing is shown. With the $sub
parameter a new main module is added along with its submodule.
However, the main module has no label and the label and icon that I intended for the main module is now labelling the sub module.
Here is the lang-file:
The closing header-tag put me off a bit, but other xlf-files in typo3 have that too, so I guess it has a purpose. I copied this mostly from the lang-file for the web-module.
It find it quite hard to find good development guides for Typo3 and none have helped me out so far with this problem. Any clue what I could be missing here is appreciated.
Adding:
I now also tried the
method, which as it is currently adds the submodule to a blankly labelled main Module. If I omit the submodule key, my Icon and label get applied to a both the Main Module and a blank Submodule
typo3 - 如何在 Typo3 v8 的流体模板中获得裁剪的图像尺寸
有没有办法在流体模板中获取裁剪图像(“图像处理”> [打开编辑器])的实际图像大小(宽度/高度)?
我能想到的只是{image.properties}
andwidth
和height
。但这些是原始资源的维度,而不是裁剪后的维度。当然还有一个crop
包含所有作物信息的属性:
但是我真的必须找到一种方法来解析这个流体(如果可能的话)?没有官方的方法来计算生成图像的实际尺寸吗?
我的用例是一个图像库组件,我需要明确说明图像尺寸。
typo3 - 修改 TYPO3 输出的所有文本
我想创建一个“清理”扩展来替换 TYPO3 中各种文本字段中的各种字符(由 guillemets 引用)。
我考虑过扩展<f:format.html>
or parseFunc
,但我不知道在哪里“插入”,所以我可以在缓存之前轻松替换输出内容。
有什么想法,能给我举个例子吗?
model-view-controller - 将创建的新类别添加到 TYPO3 8.7 中导入的 tt_address 集
我刚刚写了一个新闻任务,将地址集从 Json 文件导入到 tt_address。这很好用。现在我被困在创建新类别的问题上。但我无法将它们分配给地址集。
有人知道如何做到这一点?
composer-php - 如何在“非作曲家”TYPO3 中安装“仅作曲家模式”扩展
这个问题说明了一切。我想在非组合 TYPO3 实例中安装https://github.com/lochmueller/staticfilecache 。推荐的程序是什么?
我想我可以下载源代码,cd 进去,然后composer install
在命令行上做,然后我会得到完整的扩展。但我没有看到那行得通。