TYPO3 – 移动版本上未显示语言菜单

huangapple go评论55阅读模式
英文:

TYPO3 - Language menu is not showing on mobile version

问题

我对TYPO3的经验有限,发现有些事情很难找到。语言菜单在移动版本中未显示,我找不到解决方案。
在浏览器检查中,我注意到div被禁用,内容为空,有什么建议吗?

<div class="topbar-mobile__button"></div>

我已经查看了页面和模板选项,但在TYPO3文档中没有找到相关选项。
CMS版本是11.5

英文:

I don’t have much experience with TYPO3 and I find it hard to find some things. The language menu is not displayed in the mobile version and I cannot find a solution.
In the browser inspector I notice that the div is disabled and the content is empty any suggestions?

<div class="topbar-mobile__button"></div>

I have reviewed the page and template options but I have not found options nor in the typo3 documentation.
CMS version is 11.5

答案1

得分: 1

TYPO3核心不负责您前端页面的布局,因为前端渲染必须由非核心扩展定义。

在该扩展中,您(或扩展的作者)需要定义页面布局的模板。

现在,通常是FLUID模板分为LayoutsTemplatesPartials。它们包括HTML标记,并使用变量和一些控制结构来根据数据构建生成的页面。

我假设您使用了像Boots-Trap-Package这样的公共可用扩展/包,您需要分析该扩展的FLUID模板(可能还包括Javascript和CSS),以确定在哪些条件下显示了什么内容。
然后,您可以通过复制原始文件并配置您的实例以优先使用您的版本而不是原始版本,来修改给定的模板(在您自己的扩展中执行覆盖,而不是修改来自公共存储库的扩展!否则,您将无法更新它。

英文:

TYPO3 core is not responsible for the page layout of your front end as the front end rendering has to be defined by a non-core extension.

In that extension you (or the extension author) needs to define templates for the page layout.

Nowadays it probably are FLUID templates splitted in Layouts, Templates and Partials. They include the HTML-Markup and use variables and some control structures to build the resulting page from the data.

I assume you used an public available extension/package like Boots-Trap-Package you need to analyze the FLUID-templates of that extension (which also may include Javascript and CSS) to identify what is displayed under which condition.
Then you can modify (do an override in your own extension instead of modifying the extension from a public repository! otherwise you would not be able to update it.) the given templates by copying the original files and configure your instance to prefer your versions instead of the original.

huangapple
  • 本文由 发表于 2023年6月5日 14:18:05
  • 转载请务必保留本文链接:https://go.coder-hub.com/76403916.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定