代码之家  ›  专栏  ›  技术社区  ›  Rixius

joomla plugin安装xml文件<folder>标记

  •  0
  • Rixius  · 技术社区  · 14 年前

    在开发joomla插件时,如果我的插件文件夹是这样的:

    /xml
    /MIPPG PHP
    /子文件夹/lib.php
    /子文件夹/config.php

    标签是这样的吗?

    <files>
        <filename plugin="mainPg">mainPg.php</filename>
        <folder>subfolder</folder>
    </files>
    
    1 回复  |  直到 14 年前
        1
  •  1
  •   bucabay    14 年前

    看起来不错。你测试过吗?

    有关文档,请参见: http://docs.joomla.org/Components:xml_installfile