在 powermail 文档中,它提到了一个字段的布局下拉列表:
管理员可以添加、删除或重命名某些条目。
如何在下拉菜单中添加布局选项?
您如何指定新选项将添加的类?
在 Shopify 部分中,我有一个图像选择器块来制作图库,在同一部分中,我有一个 url 块来制作任意数量的按钮。
问题是两种块类型都出现在主题编辑器的同一“内容”区域中。这使得编辑器看起来很混乱。
有没有办法有 2 个单独的块区域,一个用于图片库,另一个用于按钮?
"blocks": [
{
"type": "button",
"name": "Button",
"settings": [
{
"type": "url",
"id": "button_link",
"label": "Button link"
}
]
},
{
"type": "image",
"name": "Image slide",
"settings": [
{
"type": "image_picker",
"id": "image",
"label": "Image"
}
]
}
]
Run Code Online (Sandbox Code Playgroud) 我有两个使用tx_news扩展名的站点。据我所知,它们的设置相同。在网站AI上添加了一个新的List.html部分,它可以按预期工作。但是,在站点B上,它完全忽略了我的列表替代。
我已对文件路径进行了三重检查,以确保键入的文字指向正确的位置,但仍使用默认值。这有什么问题吗?
plugin.tx_news {
view {
templateRootPaths >
templateRootPaths {
0 = EXT:news/Resources/Private/Templates/
1 = fileadmin/templates/example/news/Templates/
}
partialRootPaths >
partialRootPaths {
0 = EXT:news/Resources/Private/Partials/
1 = fileadmin/templates/example/news/Partials/
}
layoutRootPaths >
layoutRootPaths {
0 = EXT:news/Resources/Private/Layouts/
1 = fileadmin/templates/example/news/Layouts/
}
}
}
Run Code Online (Sandbox Code Playgroud) 我刚刚将 TYPO3 从 升级10.4到11.5
当我尝试登录后端时,登录表单提交会将我带到 404 页面。
mysite.com/typo3/login?loginProvider=1433416747
前端似乎正在运行,并且安装工具正在运行。
如果我运行vendor/bin/typo3cms它会告诉我:
TYPO3 Console 7.1.6
TYPO3 CMS 11.5.33 (Application Context: Production)
TYPO3 is not fully set up.
Command list is reduced to only show low level commands.
Not listed commands will not work until TYPO3 is set up.
Run "vendor/bin/typo3cms --all" to list all commands.
Some commands could not be configured and are missing in this list:
Command name: "scheduler:run", error: "The requested database connection named "Default" …Run Code Online (Sandbox Code Playgroud) 我正在使用 JQuery 获取所有标签中的文本并将其添加到输入的占位符中。我故意不理会<strong>文字。
我在 Firefox 和 Chrome 中运行良好,但在 IE 中它在第一个标签的最后一步之前停止。我怎样才能在 IE 中做到这一点?
查询:
$("li label").each(function() {
var label = $(this);
var placeholder = label.contents().get(0).nodeValue;
label.closest("li").find("input").attr("placeholder", placeholder).val("").focus().blur();
label.contents().get(0).remove();
});
Run Code Online (Sandbox Code Playgroud)
示例 HTML:
<li>
<label for="field-1">My Label<strong>required</strong></label>
<input id="field-1" type="text">
</li>
Run Code Online (Sandbox Code Playgroud) 我使用以下方法设置了描述元:
page.meta.description.field = description
Run Code Online (Sandbox Code Playgroud)
我可以这样做,所以子页面使用最近页面中有一组的描述吗?
因此,如果根页面有description1,那么所有子页面都使用它,除非子页面有自己的描述2,在这种情况下它和它的任何子页面都会使用description2等等......
typo3 ×4
typoscript ×3
fluid ×2
typo3-7.6.x ×2
javascript ×1
jquery ×1
liquid ×1
powermail ×1
shopify ×1
typo3-11.x ×1