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:

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





Comments

Popular posts from this blog

Gavik Photoslide GK2: Not able to upload photos - Joomla! Forum - community, help and support

How to decompile jsxbin to jsx

Thread: networkmanager's dsl connection can't have static LAN ip?