Forums / Developer / Edit user profile - non-multilanguage
Clemens T
Tuesday 08 April 2008 4:41:16 am
Heya all,
I've transformed my old website from single language to multilanguage. But after this transformation the following problem arises:
When a users edits his profile it asks him whether to edit it in English or Dutch. And if he would like to make a new instance of the profile. This while all the attributes of my 'user' class are intranslatable.
Here's some (old) code from my template where the user can press a button to edit his profile:
<form action="/index.php/plain/content/edit/{$current_user.contentobject_id}/{$current_user.version}" method="post" name="Edit"> <input class="button" type="submit" name="EditButton" value="{'Edit profile'|i18n('design/standard/user')}" /> </form>
The form action should probably not be hardcoded like this, but what should it look like to avoid the problem with the multi-language edit?
Is there any way I can make one class not multi-language while the others just are.
Greetings and thanks as always,
Clemens
Tony Wood
Tuesday 08 April 2008 5:28:50 am
Hi
What version of eZ are you running? and what is the DB encoding?
Tony Wood : twitter.com/tonywood Vision with Technology Experts in eZ Publish consulting & development Power to the Editor! Free eZ Training : http://www.VisionWT.com/training eZ Future Podcast : http://www.VisionWT.com/eZ-Future