Params - Joomla! Forum - community, help and support
hey,
this code index.php:
where stored params ?
is in templatedetails.xml element <fields name="params"> ?
but there definition logo:
what mean ? why important ?
sorry "stupid" question, i'm new here
.
thank you.
this code index.php:
code: select all
// params
$color = $this->params->get('templatecolor');
$logo = $this->params->get('logo');
$navposition = $this->params->get('navposition');where stored params ?
is in templatedetails.xml element <fields name="params"> ?
but there definition logo:
code: select all
<field name="logo" type="media" label="tpl_beez2_field_logo_label" description="tpl_beez2_field_logo_desc" />what mean ? why important ?
sorry "stupid" question, i'm new here
thank you.
parameters strored in database; especially, in table xyz_template_styles (where xyz_ table/database prefix joomla! site).hrva07 wrote:where stored params ?
no... refer answer of previous question.hrva07 wrote:is in templatedetails.xml element <fields name="params"> ?
it means defining field named logo , type media. label field available in language string tpl_beez2_field_logo_label , description field available in language string tpl_beez2_field_logo_desc.hrva07 wrote:but there definition logo:code: select all
<field name="logo" type="media" label="tpl_beez2_field_logo_label" description="tpl_beez2_field_logo_desc" />
what mean ?
review of document http://docs.joomla.org/standard_form_field_and_parameter_types of help.
this way have ability create multiple styles same template.hrva07 wrote:why important ?
Comments
Post a Comment