Related Items Extended - Article Date and Author
- Posted by John Davies (1) Offline
Hello,
I have just bought the Related Items Extended module, and was having trouble with the section regarding showing the article date and author. I see in the Joomla Admnistration site, that I can select to show these. When I do press show, I can see on the front end the article date and then the word "By" (for the author), but there is no text for the author. I am wondering why this is?
A second question I had was wondering if there is a way to show only the article date and not show the author or the word "By" as this may be another option my client would like.
Thanks,
Playerocity
9 years 11 months ago #1
by John Davies
I have just bought the Related Items Extended module, and was having trouble with the section regarding showing the article date and author. I see in the Joomla Admnistration site, that I can select to show these. When I do press show, I can see on the front end the article date and then the word "By" (for the author), but there is no text for the author. I am wondering why this is?
A second question I had was wondering if there is a way to show only the article date and not show the author or the word "By" as this may be another option my client would like.
Thanks,
Playerocity
Please Log in or Create an account to join the conversation.
- Posted by TemplatePlazza (5310) Offline
Hi playerocity, can you check whether the document has an author alias name?
/modules/mod_relateditems_xtd/tmpl/default.php
Simply remove this code from the file (you will find it few times on the file so simply do a 'Replace All' action)
9 years 11 months ago #2
by TemplatePlazza
To remove the by word, you can do that by doing template override for the module, or directly editing the file :A second question I had was wondering if there is a way to show only the article date and not show the author or the word "By" as this may be another option my client would like.
/modules/mod_relateditems_xtd/tmpl/default.php
Simply remove this code from the file (you will find it few times on the file so simply do a 'Replace All' action)
<li property="userInteraction"><?php echo JText::_('WRITTEN_BY') .' '. $item->author; ?></li>
Please Log in or Create an account to join the conversation.