我试图将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
答案 0 :(得分:0)
据我了解,您需要对这些文件进行模板覆盖
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
复制文件后,您可以按照自己的方式进行自定义。