Using Overrides - Joomla! Forum - community, help and support
i've been reading posts overrides.
first of all: needed more fields in articles sort them year , day , filename etc.
so did hacks. can have more fields in articles.
i make example:
in database (jos_content) there additional column "filename"
with hack possible output "filename" in default-article-view via template-override:
i write $this->article->filename default.php , shows me right "filename"
now have question:
i want use override article-template. seems not render plugins, if use them directly in default.php.
e.g. {extravote} in default.php not result in extravote-output show me {extravote} in frontend
what error in reasoning?
what have write default.php, can use plugins (like extravote, josdewplayer etc.)
how joomla rendering such things.
first of all: needed more fields in articles sort them year , day , filename etc.
so did hacks. can have more fields in articles.
i make example:
in database (jos_content) there additional column "filename"
with hack possible output "filename" in default-article-view via template-override:
i write $this->article->filename default.php , shows me right "filename"
now have question:
i want use override article-template. seems not render plugins, if use them directly in default.php.
e.g. {extravote} in default.php not result in extravote-output show me {extravote} in frontend
what error in reasoning?
what have write default.php, can use plugins (like extravote, josdewplayer etc.)
how joomla rendering such things.
if added plugin code directly default.php file need use jhtml::_('content.prepare')
http://api.joomla.org/joomla-framework/ ... ntent.html
olaf
http://api.joomla.org/joomla-framework/ ... ntent.html
olaf
Comments
Post a Comment