About the title by default of Related Items Extended
- Posted by Juan Carlos Fernandez (3) Offline
How can I change the title (RELATED ARTICLES, MORE ARTICLES) that appears as default in the module. I like to see in Spanish.
Thanks in advance
Juan
11 years 5 months ago #1
by Juan Carlos Fernandez
Thanks in advance
Juan
Please Log in or Create an account to join the conversation.
- Posted by erwinschro (1034) Offline
Hi Juan
You need to create a relateditemsxtd module language file for Spanish by copying the English version to your Spanish language folder
/language/en-GB/en-GB.mod_relateditems_xtd.ini
/language/xx-XX/xx-XX.mod_relateditems_xtd.ini
where xx-XX is Spanish language code.
inside this language file, you can find the following definitions you might want to translate
MORE_ARTICLES="More Articles"
RELATED_ARTICLE="Related Articles"
NO_ARTICLE_FOUND="No related articles"
11 years 5 months ago #2
by erwinschro
You need to create a relateditemsxtd module language file for Spanish by copying the English version to your Spanish language folder
/language/en-GB/en-GB.mod_relateditems_xtd.ini
/language/xx-XX/xx-XX.mod_relateditems_xtd.ini
where xx-XX is Spanish language code.
inside this language file, you can find the following definitions you might want to translate
MORE_ARTICLES="More Articles"
RELATED_ARTICLE="Related Articles"
NO_ARTICLE_FOUND="No related articles"
Please Log in or Create an account to join the conversation.
- Posted by Juan Carlos Fernandez (3) Offline
Hi,
Thanks it works in spanish.
One more thing. The module show as default the date and the name.What to do to not display the name.
thanks in advance
Juan
11 years 5 months ago #3
by Juan Carlos Fernandez
Thanks it works in spanish.
One more thing. The module show as default the date and the name.What to do to not display the name.
thanks in advance
Juan
Please Log in or Create an account to join the conversation.
- Posted by erwinschro (1034) Offline
Mmm you need to edit that right on this file /modules/mod_relateditems_xtd/tmpl/default.php if you choose the default layout, remove or comment out all lines that looks like this
hopefully you can manage to do that.
11 years 5 months ago #4
by erwinschro
<li property="userInteraction"><?php echo JText::_('WRITTEN_BY') .' '. $item->author; ?></li>
hopefully you can manage to do that.
Please Log in or Create an account to join the conversation.
- Posted by Juan Carlos Fernandez (3) Offline