[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/modules/mod_custom/ -> mod_custom.xml (source)

   1  <?xml version="1.0" encoding="utf-8"?>
   2  <extension type="module" client="site" method="upgrade">
   3      <name>mod_custom</name>
   4      <author>Joomla! Project</author>
   5      <creationDate>2004-07</creationDate>
   6      <copyright>(C) 2005 Open Source Matters, Inc.</copyright>
   7      <license>GNU General Public License version 2 or later; see LICENSE.txt</license>
   8      <authorEmail>[email protected]</authorEmail>
   9      <authorUrl>www.joomla.org</authorUrl>
  10      <version>3.0.0</version>
  11      <description>MOD_CUSTOM_XML_DESCRIPTION</description>
  12  
  13      <customContent />
  14  
  15      <files>
  16          <filename module="mod_custom">mod_custom.php</filename>
  17          <folder>tmpl</folder>
  18      </files>
  19      <languages>
  20          <language tag="en-GB">language/en-GB/mod_custom.ini</language>
  21          <language tag="en-GB">language/en-GB/mod_custom.sys.ini</language>
  22      </languages>
  23  
  24      <help key="Site_Modules:_Custom" />
  25      <config>
  26          <fields name="params">
  27              <fieldset name="options" label="COM_MODULES_BASIC_FIELDSET_LABEL">
  28                  <field
  29                      name="prepare_content"
  30                      type="radio"
  31                      layout="joomla.form.field.radio.switcher"
  32                      label="MOD_CUSTOM_FIELD_PREPARE_CONTENT_LABEL"
  33                      description="MOD_CUSTOM_FIELD_PREPARE_CONTENT_DESC"
  34                      default="0"
  35                      filter="integer"
  36                      >
  37                      <option value="0">JNO</option>
  38                      <option value="1">JYES</option>
  39                  </field>
  40  
  41                  <field
  42                      name="backgroundimage"
  43                      type="media"
  44                      label="MOD_CUSTOM_FIELD_BACKGROUNDIMAGE_LABEL"
  45                  />
  46              </fieldset>
  47              <fieldset name="advanced">
  48                  <field
  49                      name="layout"
  50                      type="modulelayout"
  51                      label="JFIELD_ALT_LAYOUT_LABEL"
  52                      class="form-select"
  53                      validate="moduleLayout"
  54                  />
  55  
  56                  <field
  57                      name="moduleclass_sfx"
  58                      type="textarea"
  59                      label="COM_MODULES_FIELD_MODULECLASS_SFX_LABEL"
  60                      rows="3"
  61                      validate="CssIdentifier"
  62                  />
  63  
  64                  <field
  65                      name="cache"
  66                      type="list"
  67                      label="COM_MODULES_FIELD_CACHING_LABEL"
  68                      default="1"
  69                      filter="integer"
  70                      validate="options"
  71                      >
  72                      <option value="1">JGLOBAL_USE_GLOBAL</option>
  73                      <option value="0">COM_MODULES_FIELD_VALUE_NOCACHING</option>
  74                  </field>
  75  
  76                  <field
  77                      name="cache_time"
  78                      type="number"
  79                      label="COM_MODULES_FIELD_CACHE_TIME_LABEL"
  80                      default="900"
  81                      filter="integer"
  82                  />
  83  
  84                  <field
  85                      name="cachemode"
  86                      type="hidden"
  87                      default="static"
  88                      >
  89                      <option value="static"></option>
  90                  </field>
  91              </fieldset>
  92          </fields>
  93      </config>
  94  </extension>


Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer