Actions

J2.5

Difference between revisions of "Upgrading a Joomla 1.5 template to Joomla 2.5"

From Joomla! Documentation

Line 22: Line 22:
 
     </config>
 
     </config>
 
</pre>
 
</pre>
 +
 +
<code><fieldset name="basic"></code> wraps the parameters in a slider and using name="basic labels that slider as "Basic Options" and name="advanced" labels it as "Advanced Options"
 +
 
[[Category:Joomla! 1.6]]
 
[[Category:Joomla! 1.6]]

Revision as of 07:24, 31 May 2010

Documentation all together tranparent small.png
Under Construction

This article or section is in the process of an expansion or major restructuring. You are welcome to assist in its construction by editing it as well. If this article or section has not been edited in several days, please remove this template.
This article was last edited by Betweenbrain (talk| contribs) 4 years ago. (Purge)

Quill icon.png
Page Actively Being Edited!

This j2.5 page is actively undergoing a major edit for a short while.
As a courtesy, please do not edit this page while this message is displayed. The user who added this notice will be listed in the page history. This message is intended to help reduce edit conflicts; please remove it between editing sessions to allow others to edit the page. If this page has not been edited for several hours, please remove this template, or replace it with {{underconstruction}} or {{incomplete}}.

Contents

Template Parameters

In both Joomla! 1.5 and 1.6 template parameters are defined in templateDetails.xml.


In 1.6, template parameters are contained in the config tag.


    <config>
        <fields name="params">
            <fieldset name="basic">
                <field name="" type=" default="" label="" description=".">
                    <option value="1">On</option>
                    <option value="0">Off</option>
                </field>
                <field name="" type="" default="" label="e" description="" />
            </fieldset>
        </fields>
    </config>

<fieldset name="basic"> wraps the parameters in a slider and using name="basic labels that slider as "Basic Options" and name="advanced" labels it as "Advanced Options"