Joomla 2.5 – How to Change the text “Close Info” and “Open Info”

by Elaine on June 1, 2012

cmsmind joomla change close open info text language 1 Joomla 2.5   How to Change the text Close Info and Open Info

Joomla 2.5 - Change Close Info text in Template

This post is in response to a comment left by Farbrico on one of my older posts – “How to Remove the Close and Open info buttons“.   This Joomla 2.5 tutorial will answer his question on how to change the “Close Info” and “Open Info” string or text to other words.  Although this might not be the best way to alter the string because you will lose the changes when you perform an Joomla software or Template upgrade.  The changes that you need to make are made in the language file on the file server.

For example – I changed my “Close Info” and “Open Info” Text to:

  • “Close Info” Change to “Collapse”
  • “Open Info” Change to “Expand”

Overview of the steps:

  • Access files using your FTP Manager or telnet into your file server
  • Change to Language Directory & Edit template language file
  • Change the “Close Info” and “Open Info” text

Steps:

1.  Access files using your FTP Manager or telnet into your file server

  • You will need to access your files through your FTP Manager or if you can use a TELNET or SSH session, go ahead and do that.  If you have a File Manager in your Control panel, that would be good too.

2.  Change to Language Directory & Edit File

All text is managed in your Language directory.  There are language files for almost everything in your Joomla website.  You will need to search for your template language file.

For example: My language is English and I’m editing my BEEZ_5 default template.

  • Change Directory:
    • joomlawebsitedirecotry/language/en-GB
  • If you are using Beez5, edit the file:
    • en-GB.tpl_beez5.ini
  • If you are using Beez20, edit the file:
    • en-GB.tpl_beez_20.ini

3.  Change the “Close Info” and “Open Info” text

All the Beez templates have relatively the same language files.    Here you can change the text to whatever you want the “Close Info” and “Open Info” text to be.  For example, I’m changing mine to “Expand” and “Collapse”.

cmsmind joomla change close open info text language 3 Joomla 2.5   How to Change the text Close Info and Open Info

3. Joomla 2.5 - Change Close Info and Open Info text in Template

If you are using Beez_5 Template:

  • Search for the following text:

TPL_BEEZ5_TEXTRIGHTCLOSE=”Close info”
TPL_BEEZ5_TEXTRIGHTOPEN=”Open info”

 

  • Replace with code in red:

;;; Modified May 31, 2012 by Elaine @ CmsMind.com to Modify Close Info and Open Info text.
;;; START CHANGE
; TPL_BEEZ5_TEXTRIGHTCLOSE=”Close info”
; TPL_BEEZ5_TEXTRIGHTOPEN=”Open info”
TPL_BEEZ5_TEXTRIGHTCLOSE=”Collapse”
TPL_BEEZ5_TEXTRIGHTOPEN=”Expand”
;;; END CHANGE

If you are using Beez_20 Template:
  • Search for the following text:

TPL_BEEZ2_TEXTRIGHTCLOSE=”Close info”
TPL_BEEZ2_TEXTRIGHTOPEN=”Open info”

  • Replace with code in red:

;;; Modified May 31, 2012 by Elaine @ CmsMind.com to Modify Close Info and Open Info text.
;;; START CHANGE
; TPL_BEEZ2_TEXTRIGHTCLOSE=”Close info”
; TPL_BEEZ2_TEXTRIGHTOPEN=”Open info”
TPL_BEEZ2_TEXTRIGHTCLOSE=”Collapse”
TPL_BEEZ2_TEXTRIGHTOPEN=”Expand”
;;; END CHANGE

Save your file and refresh your Joomla 2.5 website.  You should see that the “Close Info” and “Open Info” text are changed to the text entered in Step 3.

Hope that helps,

Elaine

 Joomla 2.5   How to Change the text Close Info and Open Info

Elaine

Elaine is the founder of CmsMind, an online blog providing Joomla and Wordpress tutorials. Elaine lives in Toronto and when she is not online, she is either Marathon and Triathlon training or travelling and racing somewhere in the world. Find her also at: Save Money, Premium Themes and Templates, and at Webhosting Tips.

More Posts - Website

Leave a Comment

Captcha Captcha Reload

Older Post:

Newer Post: