template param from com_content override.

33 views
Skip to first unread message

Troy

unread,
Feb 9, 2012, 4:26:15 PM2/9/12
to joomla-de...@googlegroups.com
how can I get a framework plugin parameter ( template config ) from in
com_content override?
$this->params->get('showarchived' )='1' does not work.
--
Bear

Soheil Novinfard

unread,
Feb 10, 2012, 1:44:51 AM2/10/12
to Joomla! General Development
I had this problem too:
http://groups.google.com/group/joomla-dev-general/browse_thread/thread/8937b2cdacb6fdae#

But no one have answer for this ...

Please help joomla developers ???

Thanks
Novinfard

Naouak

unread,
Feb 10, 2012, 1:59:59 AM2/10/12
to joomla-de...@googlegroups.com

Getters are immutable. You should use set instead of get. I don't know if it's applicable to params tough.

--
You received this message because you are subscribed to the Google Groups "Joomla! General Development" group.
To post to this group, send an email to joomla-dev-general@googlegroups.com.
To unsubscribe from this group, send email to joomla-dev-general+unsub...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/joomla-dev-general?hl=en-GB.

Hannes Papenberg

unread,
Feb 10, 2012, 3:44:23 AM2/10/12
to joomla-de...@googlegroups.com
JApplication::getTemplate(true)->params->get('stuff');

Soheil Novinfard

unread,
Feb 11, 2012, 4:14:26 PM2/11/12
to Joomla! General Development
it does not work as I said before:
Notice: Trying to get property of non-object

On Feb 10, 11:44 am, Hannes Papenberg <hackwa...@googlemail.com>
wrote:
> JApplication::getTemplate(true)->params->get('stuff');
>
> Am 10.02.2012 07:44, schrieb Soheil Novinfard:
>
>
>
>
>
>
>
> > I had this problem too:
> >http://groups.google.com/group/joomla-dev-general/browse_thread/threa...
Reply all
Reply to author
Forward
0 new messages