-
AuthorPosts
-
cursosdesign Friend
cursosdesign
- Join date:
- February 2009
- Posts:
- 151
- Downloads:
- 0
- Uploads:
- 30
- Thanks:
- 69
- Thanked:
- 2 times in 1 posts
December 12, 2010 at 11:00 pm #157364Hello!
I´ am currently working with loadposition {xxx} in the articles, however I would like that on all my articles this may be automatic. (With some exceptions)
Where do you need to edit my template?Thank you very much!
Gonzalo
Phill ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
December 12, 2010 at 11:58 pm #366452Have you tried this plugin – http://kulkul.xahoihoctap.net/kho-tai-lieu/joomla-15x-extension/Plugin-extranews-with-tooltip-Joomla-1.5.x-ver-2.0.8—displaying-related-newer–and–older-new-items-with-the-present-article/
There are a few others on the JED, some paid some free but the above is free. I’ve not tried it myself but is looks like it will do the trick.
cursosdesign Friendcursosdesign
- Join date:
- February 2009
- Posts:
- 151
- Downloads:
- 0
- Uploads:
- 30
- Thanks:
- 69
- Thanked:
- 2 times in 1 posts
December 13, 2010 at 12:46 am #366454Phil, excelent plugin! Thanks!
But, How Can I change the language (in spanish). Could you help me?
Best regards,
Gonzalo
Phill ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
December 13, 2010 at 1:52 am #366461In the plugins folder you will find a folder called i18n. This contains the language files. There is currently no spanish file there but it should be very simple to create one as there are only a few lines to edit.
When the plugin is installed it creates a file in your administrator>language folder. The file will be yourlang.plg_content_extranews.ini
Where yourlang is the prefix for your chosen language. For english for example it would be en-GB so the whole english file is in the administrator>language>en-GB folder with a file called en-GB.plg_content_extranews.ini and the contents of the file areLBL_NEWERNAME=Newer news items:
LBL_OLDERNAME=Older news items:
LBL_RELATEDNAME=Related news items:
LBL_PREV_PAGE=<< Previous page
LBL_NEXT_PAGE=Next page >>So if you convert anything after the = sign in each lint to spanish then save the file to
your administrator>language>es.ES folder and call it es-ES.plg_content_extranews.ini you are nearly there.
Next you will have to go to the plugins>content folder and open the file extranews.xml
in it you will find the lines
<languages folder="i18n">
<language tag="en-GB">en-GB.plg_content_extranews.ini</language>
<language tag="vi-VN">vi-VN.plg_content_extranews.ini</language>
<language tag="fr-FR">fr-FR.plg_content_extranews.ini</language>
<language tag="pt-BR">pt-BR.plg_content_extranews.ini</language>
<language tag="de-DE">de-DE.plg_content_extranews.ini</language>
<language tag="nl-NL">nl-NL.plg_content_extranews.ini</language>
<language tag="it-IT">it-IT.plg_content_extranews.ini</language>
</languages>Change to
<languages folder="i18n">
<language tag="en-GB">en-GB.plg_content_extranews.ini</language>
<language tag="vi-VN">vi-VN.plg_content_extranews.ini</language>
<language tag="fr-FR">fr-FR.plg_content_extranews.ini</language>
<language tag="pt-BR">pt-BR.plg_content_extranews.ini</language>
<language tag="de-DE">de-DE.plg_content_extranews.ini</language>
<language tag="nl-NL">nl-NL.plg_content_extranews.ini</language>
<language tag="it-IT">it-IT.plg_content_extranews.ini</language>
<language tag="es-ES">it-IT.plg_content_extranews.ini</language>
</languages>and you should be good to go I think. I have not tried it so pleaase report back and tell me how it goes.
What a great little plugin that is. First time I have seen it.
1 user says Thank You to Phill for this useful post
cursosdesign Friendcursosdesign
- Join date:
- February 2009
- Posts:
- 151
- Downloads:
- 0
- Uploads:
- 30
- Thanks:
- 69
- Thanked:
- 2 times in 1 posts
December 13, 2010 at 5:09 pm #366571Hi Phill!
Thank for the anser!
The plugin is great!…but it didn´t work. The language is in english yet! What do you think?
For example: http://www.cursosdesign.net/marketing-online/80-la-clave-del-exito-en-internet-presencia-marketing-y-redes-sociales
Thanks and best regards,
Gonzalo
Phill ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
December 13, 2010 at 6:18 pm #366581Where did you put your new es-ES.plg_content_extranews.ini file? I have just tested and it works fin if you put it in the administrator>language>es-ES folder.
1 user says Thank You to Phill for this useful post
cursosdesign Friendcursosdesign
- Join date:
- February 2009
- Posts:
- 151
- Downloads:
- 0
- Uploads:
- 30
- Thanks:
- 69
- Thanked:
- 2 times in 1 posts
December 13, 2010 at 7:28 pm #366592Hello Phill!
I put it in:
Administrator → Language → es-ES
And the content it is:
LBL_NEWERNAME=Nuevos Artículos:
LBL_OLDERNAME=Antiguos Artículos:
LBL_RELATEDNAME=Artículos Relacionados:
LBL_PREV_PAGE=<< Página Previa
LBL_NEXT_PAGE=Próxima Página >>However, the original (in English) I left it in:
Administrator → Language → en-GB
Thank you!
Phill ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
December 13, 2010 at 7:59 pm #366593Please make sure your cache is clear. If that fails then send me via PM an admin logon and ftp logon and I will take a look.
cursosdesign Friendcursosdesign
- Join date:
- February 2009
- Posts:
- 151
- Downloads:
- 0
- Uploads:
- 30
- Thanks:
- 69
- Thanked:
- 2 times in 1 posts
December 13, 2010 at 8:33 pm #366596Great Phill! I sent a PM..
Thank you very much
Gonzalo
cursosdesign Friendcursosdesign
- Join date:
- February 2009
- Posts:
- 151
- Downloads:
- 0
- Uploads:
- 30
- Thanks:
- 69
- Thanked:
- 2 times in 1 posts
December 14, 2010 at 7:21 pm #366769Hello Phill!. Did you receive my PM?
Thank you!
Gonzalo
Phill ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
December 14, 2010 at 9:17 pm #366776I replied yesterday.
In essence I tried this on teline3v1 on my localhost and it is working fine. Something on your system is preventing it from picking up the language file and I cannot work out why. You have a lot of other extensions and any of them could be causing the problem. As this is a third party extension it is probably best if you asked on their site to see if they have experienced similar in the past. Without spending a lot of time working out how their component does things I cannot figure it out at the moment but the author might be able to suggest something very quickly especially as they have almost certainly seen similar problems before.
1 user says Thank You to Phill for this useful post
cursosdesign Friendcursosdesign
- Join date:
- February 2009
- Posts:
- 151
- Downloads:
- 0
- Uploads:
- 30
- Thanks:
- 69
- Thanked:
- 2 times in 1 posts
December 14, 2010 at 10:11 pm #366789Ok, thank you Phill..!
I will see this.Gonzalo
cursosdesign Friendcursosdesign
- Join date:
- February 2009
- Posts:
- 151
- Downloads:
- 0
- Uploads:
- 30
- Thanks:
- 69
- Thanked:
- 2 times in 1 posts
December 14, 2010 at 11:00 pm #366795Phill, I was looking this code:
<languages folder=”i18n”>
<language tag=”en-GB”>en-GB.plg_content_extranews.ini</language>
<language tag=”vi-VN”>vi-VN.plg_content_extranews.ini</language>
<language tag=”fr-FR”>fr-FR.plg_content_extranews.ini</language>
<language tag=”pt-BR”>pt-BR.plg_content_extranews.ini</language>
<language tag=”de-DE”>de-DE.plg_content_extranews.ini</language>
<language tag=”nl-NL”>nl-NL.plg_content_extranews.ini</language>
<language tag=”it-IT”>it-IT.plg_content_extranews.ini</language>
<language tag=”es-ES”>it-IT.plg_content_extranews.ini</language>
</languages>Is <language tag=”es-ES”>it-IT.plg_content_extranews.ini</language> ok?
Thanks!!!
GonzaloPhill ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
December 14, 2010 at 11:55 pm #366799<em>@cursosdesign 208572 wrote:</em><blockquote>Phill, I was looking this code:
Is <language tag=”es-ES”>it-IT.plg_content_extranews.ini</language> ok?
Thanks!!!
Gonzalo</blockquote>Try <language tag=”es-ES”>es-ES.plg_content_extranews.ini</language>
Though I am still not sure. Give it a go and see what happens.
1 user says Thank You to Phill for this useful post
-
AuthorPosts
This topic contains 14 replies, has 2 voices, and was last updated by Phill 13 years, 11 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum