【问题标题】:Alternative layout is not been applied未应用替代布局
【发布时间】:2013-07-31 12:10:32
【问题描述】:

我只是创建了一个菜单项类型(单篇文章)并将一篇文章与之关联。

然后我创建了一个 default.php 版本,称为 single.php

所以我打开这篇文章选项并在替代布局下拉菜单中选择这个文件。

但是什么也没发生。

【问题讨论】:

    标签: joomla joomla3.1


    【解决方案1】:

    关于你想要达到什么目标的信息很少,所以我做了很多猜测。

    解决此问题的推荐方法是模板覆盖。以下是一些不错的读物:

    How to override the output from the Joomla! core

    Understanding Output Overrides

    Layout Overrides in Joomla

    Tutorial: Taking Advantage of Alternative Layouts for Articles and Modules

    希望这会有所帮助!

    【讨论】:

      猜你喜欢
      • 2014-09-10
      • 1970-01-01
      • 2013-11-09
      • 2013-05-11
      • 2015-10-19
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-07-06
      相关资源
      最近更新 更多