kseeker Posted February 8, 2013 Report Share Posted February 8, 2013 Hi everyone we require a little bit of help with changing the left side menu buttons in template 9. We would like the Histories button to read Biographies but cant work out where we have to change it, we tried changing it in the index.php file but that just made the histories label vanish and left the button blank. Also with the His side Her side buttons we would like to change it to the surnames of the corresponding sides. Any help would be greatly appreciated.ThanksPeter & Susan Quote Link to comment Share on other sites More sharing options...
daj Posted February 9, 2013 Report Share Posted February 9, 2013 Hi Peter & SusanLet's deal with your first request ...Hi everyone we require a little bit of help with changing the left side menu buttons in template 9. We would like the Histories button to read Biographies but cant work out where we have to change it, we tried changing it in the index.php file but that just made the histories label vanish and left the button blank. TNG is designed to support multiple languages so changing the wording of most things is possible, if you know where to look.* Firstly check what language you are using. Admin -> Setup -> General -> Language* Note the "Language Folder". For this example, let's assume it is English-UTF8.* On your web server, using your FTP tool, go into the TNG folder then Languages, and into the folder of the same name as above. In my case English-UTF8* Now look for a file cust_text.php* Download this file to your computer* Edit it in a text editor (such as Notepad) (Not Word or any other word processor)* The file is probably only 4 lines long* Create a blank line directly ABOVE the the line with ?>* Add the following...$text['mnuhistories'] = "Biographies";Note the ; at the end* Save the file and upload it to the same place on the web server, overwriting the current file.Now when you visit the site the Histories menu should now show the word Biographies Quote Link to comment Share on other sites More sharing options...
Ken Roy Posted February 9, 2013 Report Share Posted February 9, 2013 * Note the "Language Folder". For this example, let's assume it is English-UTF8.* On your web server, using your FTP tool, go into the TNG folder then Languages, and into the folder of the same name as above. In my case English-UTF8* Now look for a file cust_text.php* Download this file to your computer* Edit it in a text editor (such as Notepad) (Not Word or any other word processor)Note that if you are using UTF-8, you should NOT use Microsoft Notepad to edit the file, since it will add the infamous Byte Order Mark (BOM) in front of the <?php for the cust_text.php file and your site will then display a blank page only.You should use Notepad++ instead. Quote Link to comment Share on other sites More sharing options...
DelG Posted February 10, 2013 Report Share Posted February 10, 2013 You should use Notepad++ instead.As a newbie I've often resorted to using Notepad++ to search on a term or phrase in order to locate where it is in what file(s). Use:SearchFind in filesFind whatReplace with [be sure to leave blank unless you you intend to replace what you have in Find in files]Directory: [tell Notepad++ where to search]It'll return hits in a separate window.Works great! Quote Link to comment Share on other sites More sharing options...
kseeker Posted February 12, 2013 Author Report Share Posted February 12, 2013 Thanks daj that worked well any ideas on how to change it once you click the button and it goes into the next screen its still showing up as histories there? And thanks Ken for the info, I read another post on here about Notepad++ and downloaded it, it works great. Quote Link to comment Share on other sites More sharing options...
daj Posted February 15, 2013 Report Share Posted February 15, 2013 Same as above, but insert a line....$text['histories']='Biographies'; Quote Link to comment Share on other sites More sharing options...
kseeker Posted February 17, 2013 Author Report Share Posted February 17, 2013 Thanks once again daj all sorted out now with your help Worked out how to change the His and Her sides, its in the admin setup.ThanksPeter and Susan Quote Link to comment Share on other sites More sharing options...
Tinushoff Posted July 9, 2015 Report Share Posted July 9, 2015 Hi,I want to change the page-name from Documenten (documents) to Familiewapens (weapons). I have tried a similar thing as described above but nothing happens. My language settings is set to Dutch-UTF8 so I added $text['mnudocumenten'] = "Familiewapens"; to the file cust_text.php.I have tried several things but with no luck. I also noticed when I change the language settings from Dutch-UTF8 to English-UTF8 nothing happens either (the language on the site does not change, not that I want that )? Could you please let me know how I can change the pagename?My website is http://vanhovell.com/Many thanks in advance,Martijn Quote Link to comment Share on other sites More sharing options...
theKiwi Posted July 9, 2015 Report Share Posted July 9, 2015 I get a message that vanhovell.com can't be found?Roger Quote Link to comment Share on other sites More sharing options...
Tinushoff Posted July 9, 2015 Report Share Posted July 9, 2015 Mmm.. it does work.I did find a way to add a new page to media without changing the cust_text.php.Thanx Quote Link to comment Share on other sites More sharing options...
theKiwi Posted July 9, 2015 Report Share Posted July 9, 2015 This is what I get... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.