【问题标题】:Not able to override wgpicasa pro in joomla?无法在 joomla 中覆盖 wgpicasa pro?
【发布时间】:2015-10-21 11:46:28
【问题描述】:

我正在尝试将 wgpicasa pro 组件覆盖到 joomla 中,但它不起作用。我申请了什么程序,我在这里解释一下:

structure:
components/com_wgpicasapro/views/album/tmpl/default.php
components/com_wgpicasapro/views/contentalbum/tmpl/default.php
components/com_wgpicasapro/views/contentwgpicasapro/tmpl/default.php
components/com_wgpicasapro/views/wgpicasapro/tmpl/default.php

for overriding:
templates/use_template/html/com_wgpicasapro/contentalbum/default.php

【问题讨论】:

    标签: joomla joomla2.5 joomla3.0


    【解决方案1】:

    据我了解,您需要为这些文件覆盖模板

    components/com_wgpicasapro/views/album/tmpl/default.php
    components/com_wgpicasapro/views/contentalbum/tmpl/default.php
    components/com_wgpicasapro/views/contentwgpicasapro/tmpl/default.php
    components/com_wgpicasapro/views/wgpicasapro/tmpl/default.php
    

    根据 Joomla 文档,您必须将这些文件复制到这些位置

    templates/use_template/html/com_wgpicasapro/views/album/default.php
    templates/use_template/html/com_wgpicasapro/views/contentalbum/default.php
    templates/use_template/html/com_wgpicasapro/views/contentwgpicasapro/default.php
    templates/use_template/html/com_wgpicasapro/views/wgpicasapro/default.php
    

    复制文件后,您可以按照自己的方式对其进行自定义。

    【讨论】:

      猜你喜欢
      • 2016-01-15
      • 2013-02-04
      • 1970-01-01
      • 2013-11-15
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-11-07
      相关资源
      最近更新 更多