Using Overrides - Joomla! Forum - community, help and support


i've been reading posts overrides. :d

first of all: needed more fields in articles sort them year , day , filename etc.
so did hacks. can have more fields in articles. :p
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? :eek:

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





Comments

Popular posts from this blog

CS5 Adobe Media Encoder: Encode failed because the source duration is nil.

cf_sql_integer vs cf_sql_bigint vs cf_sql_int??

localhost/joomla15/administrator doesnt work - Joomla! Forum - community, help and support