Hi all
Im using drupal 4.7.3 with the latest versio of the i8n module as of a few weeks ago.
Basically I want to change the default 403 page to one that instead of just saying 'you dont have access' it says 'You need to be signed in to use this feature. If you are already registered you can sign in here. If you are not registered you can do so here. Registering is free and takes less than a minute.'
so i created a page node and typed that in, gave it an alias of noaccess, and in my admin/settings/403 i put noaccess... all works fine...
except i want the site to work in french too. I Have the whole site workin i french except the 403 page! i created the french node and assigned it as a translation. when i goto mysite.com/noaccess and change languages between english and french, it does show the message in the correct language (i.e. goes to en/noaccess or fr/noaccess.)
However when i access any unauthorized area of the site, it always shows the english 403 message, never the french. Any ideas what i can do to fix this? you can see the problem in action at www.cust-art.com. Just goto the 'order now' menu item (or 'Commander' and you will see
many thanks i advance...
Comments
maybe add both languages to
maybe add both languages to the same custom error page ? as a last resort.
very smart... thanks! yea
very smart... thanks!
yea thats what i did. made the page a static php page, and i check the language there... and dump the appropiate text. It works perfectly... although I do think it is a bit of a hack solution... but will do for now until the issue with the i8n module is sorted... cheers!