Need help - I Can't access my config properties[SOLVED] - Joomla! Forum - community, help and support
hi! not been able acess component config.xml properties.
in config.xml have:
in view.html.php have:
im layout file have:
but i'm getting 'seja bemvindo!' value used have 'default' config.xml param. can't else value. if print_r $this->params inside layout file can see right values there, when call $this->params->get() wrong( deleted ) value.
may me figure out happening?
in config.xml have:
code: select all
<param name="titulo_componente" type="text" label="título da página principal" description="" default="" size="60" />
in view.html.php have:
code: select all
global $option;
// more code...
$this->assignref( 'params', $params =& jcomponenthelper::getparams( $option ) );
// more code...
im layout file have:
code: select all
<h3 class="contentheading" ><?php echo $this->params->get( 'titulo_componente' ); ?></h3>
but i'm getting 'seja bemvindo!' value used have 'default' config.xml param. can't else value. if print_r $this->params inside layout file can see right values there, when call $this->params->get() wrong( deleted ) value.
may me figure out happening?
maybe the parameter got overwritten in menu item links component?
olaf
olaf
Comments
Post a Comment