Page 1 of 1

[SOLVED]Rename the "Extra Page Attributes" not working 1.11?

Posted: Fri Sep 07, 2012 1:51 am
by Simon66
Hi
I'm trying to rename some of the field names as mentioned in the CMSms Development Cookbook by Samuel Goldstein. (Great resource BTW.)

I've included the php file with:

Code: Select all

<?php
$lang['admin']['extra1'] = 'Make';
$lang['admin']['extra2'] = 'Model Year';
$lang['admin']['extra3'] = 'Milage';
?>
as the book instructed, but I'm getting nothing. I tried clearing the cache but still no luck. I also have the site set to English in Global Settings.

Is this because of changes to the way 1.11 works?

Any ideas?

Simon66

Re: Renaming the "Extra Page Attributes" not working in 1.11

Posted: Fri Sep 07, 2012 4:26 am
by vilkis
Do you do as described here: http://docs.cmsmadesimple.org/customizi ... ge-strings
?
vilkis

Re: Renaming the "Extra Page Attributes" not working in 1.11

Posted: Fri Sep 07, 2012 4:47 am
by Simon66
Hi Vilkis
Yes I did exactly as described for the admin.

I created a file called - admin.inc.php
and I put it in - /admin/custom/lang/en_US

The php file has the above code in it.

Unfortunately it is not overriding the default admin.inc.php file.

Simon66

Re: Renaming the "Extra Page Attributes" not working in 1.11

Posted: Fri Sep 07, 2012 4:50 am
by calguy1000
This is actually a bug in 1.11 and 1.11.1 ... the /lang folder stuff was missing. It'll be fixed in 1.11.2

Re: Renaming the "Extra Page Attributes" not working in 1.11

Posted: Fri Sep 07, 2012 5:59 am
by Simon66
Thanks Calguy.

Simon66