I'm trying to hack the "RN Monthly Archives" plugin to add a small
function for the theme I'm building.
This line:
if($yr_mth->year == Theme::__get('year') and $yr_mth->month ==
Theme::__get('month')): $crnt = ' class="current"';
Gives this result:
Fatal error: Non-static method Theme::__get() cannot be called
statically, assuming $this from incompatible context
The research I have done leads me to believe that code should work.
But there seams to be something else needed to "initialize" the use of
the Theme class.
I could also be completely wrong. If somebody could help, I would Love
you.
Thanks
--
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/habari-users