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

Please Log in or Create an account to join the conversation.

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

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

Please Log in or Create an account to join the conversation.

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
<li property="userInteraction"><?php echo JText::_('WRITTEN_BY') .'&nbsp;'. $item->author; ?></li>

hopefully you can manage to do that.
11 years 5 months ago #4 by erwinschro

Please Log in or Create an account to join the conversation.

  • Posted by Juan Carlos Fernandez (3) Offline
Thanks

I appreciate your help

Juan
11 years 5 months ago #5 by Juan Carlos Fernandez

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum