小编Use*_*_42的帖子

使用TYPO3的数据处理器8

我尝试使用TYPO3 8的数据处理器来制作我的菜单.

我在TypoScript脚本中有这个代码:

page = PAGE
page{
  10 = FLUIDTEMPLATE
  10 {
      file = fileadmin/abis/templates/BootstrapTmpl.html
      partialRootPath = fileadmin/abis/Partials/
      layoutRootPath =  fileadmin/abis/Layouts/
  }
  dataProcessing {
    10 = TYPO3\CMS\Frontend\DataProcessing\MenuProcessor
    10 {
      entryLevel= 0
      excludeUidList = 27,30,31
      levels = 5
      #includeSpacer = 1
      titleField = nav_title // title
      as = huhu
    }
  }
  ...
}
Run Code Online (Sandbox Code Playgroud)

这部分在一节中:

<f:section name="myMenu" >
    <f:debug title="title">{huhu}</f:debug>
    <f:cObject typoscriptObjectPath="obj.logo" />
    <ul class="nav navbar-nav navbar-left">
        <f:for each="{huhu}" as="menuItem">
             <li>
                {menuItem.text}
                <f:if condition="menuItem.subItems">
                    <f:render section="myMenu" arguments="{myMenu: menuItem.subItems}" />
                </f:if>
            </li>
        </f:for> …
Run Code Online (Sandbox Code Playgroud)

typo3 fluid typoscript typo3-8.7.x

2
推荐指数
1
解决办法
1965
查看次数

为什么我在安装过程中无法选择Typo3的数据库?

我在 Ubuntu 上运行 Docker。我以TYPO3-docker-boilerplate为基础然后按照 此处的说明进行操作

在安装过程中我来了在此输入图像描述 我无法选择 Typo3 数据库。

有任何想法吗?

installation typo3 typo3-8.x

1
推荐指数
1
解决办法
1768
查看次数

标签 统计

typo3 ×2

fluid ×1

installation ×1

typo3-8.7.x ×1

typo3-8.x ×1

typoscript ×1