Article_info about the author - Joomla! Forum - community, help and support


hi,
i have question. add more data user profile "created by...." info placed under each article. now, have "written + login" have "written +'name' , 'surname' user profile". know can change text in overrides have no idea how add more data user profile.

language overrides not quite powerful; can't query new data them.

you'd need create (or continue modify) template override, , in it, write mixed php+html code request , integrate new data.

documentation template overrides

this core template override (don't edit directly!)
/components/com_content/views/article/tmpl/default.php

look starting at/around line 127 relevant block of code modify in override file.

in vicinity, it's variable $this->item->contactid seems helpful; if you're using links contact component, that's contact id, use in subsequent queries @ data need.

documentation on getting new data database

once have data want in php variables, can see surrounding code how output html.





Comments

Popular posts from this blog

Joomla 3.3 Installation Error message - Joomla! Forum - community, help and support

Multilanguage infinite redirect loop error. - Joomla! Forum - community, help and support

trim media limit reached