Forums / Developer / 'SelfEdit' does't work in another language...? please help!

'SelfEdit' does't work in another language...? please help!

Author Message

Matej Ukmar

Tuesday 27 April 2004 2:00:19 pm

I was reading forum articles on how to make SelfEdit feture work.
I allready made a correction, so that userobject is also wner (of self)

And now editing of user data works fine on my english part of site,
but on my Italian version does not work. That tamplate variable
$content_attributes is empty.

Is this a bug? My users are created only in english translation, but
even if I add Italian translation still can't edit.
(And of course I defenetly don't want to have two language
versions for users... this was just a test)

Has anybody had this problem. Can EZ-Crew help me out from this.

Thanks
Matej

Björn Dieding@xrow.de

Tuesday 27 April 2004 4:13:19 pm

We did find a workaround either

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/

Silke Fox

Wednesday 28 April 2004 1:38:11 am

Doesn't "Disable translation" (for each attribute in the user content class) do the trick?

Not sure since when this feature is available... 3.2-x I think?

Matej Ukmar

Monday 10 May 2004 8:45:06 am

I made now my own selfedit, but users in different language translations
are still problem by my opinion. Even if you use "disable translation"
option.

If you create user in Italian translation, and then try to edit user data
in English admin you can't... because english version of user object does
not exist and italian verssion has disabled editing :-)

I am also haveing problem creating content object in another language.
It always uses a global variable to set object's language... So now
I am "forced" to make italian version of user objects when cretaing
them on italian site :-) which can be a little confused when editing
them in english admin...

Matej

Lex 007

Wednesday 20 April 2005 5:15:21 am

I've got the same problem.

I modified the site.ini to have : ContentObjectLocale=eng-GB in all my translated siteaccesses ...

Now comes another problem : I have a "after content publish" workflow when a user is edited. This workflow only runs if teh user is edited is the same language as the user was created in ... is this a bug ?

EDIT : nevermind, wrong configuration of ini files....

Lex 007

Wednesday 20 April 2005 7:46:12 am

Uuuh actually this fixed the creation of the user problem ... but I didn't notice that now all my content is displayed in english instead of the translated language ! Please help.

eZ debug

Timing: Jan 18 2025 22:16:54
Script start
Timing: Jan 18 2025 22:16:54
Module start 'content'
Timing: Jan 18 2025 22:16:55
Module end 'content'
Timing: Jan 18 2025 22:16:55
Script end

Main resources:

Total runtime0.9440 sec
Peak memory usage4,096.0000 KB
Database Queries207

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0085 588.9922180.8125
Module start 'content' 0.00860.7514 769.8047650.1563
Module end 'content' 0.75990.1840 1,419.9609337.0703
Script end 0.9440  1,757.0313 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00410.4336210.0002
Check MTime0.00140.1492210.0001
Mysql Total
Database connection0.00090.095310.0009
Mysqli_queries0.865391.66462070.0042
Looping result0.00230.23862050.0000
Template Total0.918097.220.4590
Template load0.00200.215920.0010
Template processing0.915997.025420.4580
Template load and register function0.00020.019910.0002
states
state_id_array0.00070.071410.0007
state_identifier_array0.00090.097420.0005
Override
Cache load0.00180.1867430.0000
Sytem overhead
Fetch class attribute can translate value0.00190.201450.0004
Fetch class attribute name0.00120.123080.0001
XML
Image XML parsing0.00170.177550.0003
class_abstraction
Instantiating content class attribute0.00000.001990.0000
General
dbfile0.00200.2167330.0001
String conversion0.00000.000830.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
6content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
7content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
11content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 29
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs