Each theme in a /motif-powered template can define its own custom parameters, so you do not have to define new parameters in the templateDetails.xml file. To define custom parameters, you simply add a file named config.xml to the theme folder (YOURTEMPLATENAME/themes/YOURTHEME/config.xml), and define the parameters in this file.
Example
<?xml version="1.0" encoding="utf-8"?> <config> <params> <param name="someparam" type="text" label="Some Parameter" description="This is some parameter" /> <param name="anotherparam" type="text" label="Another Parameter" description="This is another parameter" /> </params> </config>
This file follows the same syntax and structure as any other file that defines Joomla! parameters, so it works exactly the same way.
The parameters you define in this file will automatically be loaded in the template manager, so administrators can manage these parameters in the same interface where they manage the template parameters. The values for these parameters are stored in the template params.ini file, so be sure that the names you give your parameters do not conflict with the names of parameters defined in other themes. Also, because the parameter values are stored in this file, they are available to all themes. That means you can define custom parameters for the core theme to be used for each theme in your template.
