[Solved] Override the admin variables

Forum rules
Only administrators can post or move items here.
Post Reply
User avatar
jissey
Forum Members
Forum Members
Posts: 61
Joined: Sun Jul 18, 2010 12:17 pm
Location: South of France

[Solved] Override the admin variables

Post by jissey »

Hi,
in 1.11, we could override the admin variables $lang with admin/custom/lang/fr_FR/admin.inc.php.
And now, how can we do? I've tried a lot of mix without success and not seen anything like that in the code.
Last edited by jissey on Sat Sep 20, 2014 9:16 pm, edited 2 times in total.
User avatar
airelibre
Dev Team Member
Dev Team Member
Posts: 99
Joined: Tue Dec 01, 2009 3:42 pm
Location: Alsace // France

Re: Typos and Language Improvements in 2.0, please post here

Post by airelibre »

Hi everybody

Jissey, which string do you want to override?

I found another problem: in Site admin / Global settings / Smarty settings / the "?" next to "Enable smarty caching" make references to GCB which are not existing anymore. This may need update maybe?
User avatar
jissey
Forum Members
Forum Members
Posts: 61
Joined: Sun Jul 18, 2010 12:17 pm
Location: South of France

Re: Typos and Language Improvements in 2.0, please post here

Post by jissey »

@airelibre : any string which is in the Lang folder in the admin
User avatar
airelibre
Dev Team Member
Dev Team Member
Posts: 99
Joined: Tue Dec 01, 2009 3:42 pm
Location: Alsace // France

Re: Typos and Language Improvements in 2.0, please post here

Post by airelibre »

Found: use /admin/custom/lang/fr_FR.php filename, and not fr_FR/admin.inc.php

Source: class.CmsLangOperations.php line 114

But the documentation needs to be updated because in 1.11 it's admin.inc.php
User avatar
jissey
Forum Members
Forum Members
Posts: 61
Joined: Sun Jul 18, 2010 12:17 pm
Location: South of France

Re: Override the admin variables with admin/custom/lang fail

Post by jissey »

Hi,
yes it works...thanks AirLibre :)
Post Reply

Return to “Closed Issues”