what is the language code for submiting by user ?

Author Message

Selmah Maxim

Wednesday 21 May 2003 3:06:32 am

Hi ..

I need to insert the language code when user sumbit somthing, i had tried everthing, but always the sumbited object is going to the english language, i had tried this :

<form enctype="multipart/form-data" method="post" action={concat("/content/edit/",$object.id,"/",$edit_version,"/",$edit_language|not|choose(array($edit_language,"/"),''))|ezurl}>

and this :

<form enctype="multipart/form-data" method="post" action={concat("/content/edit/",$object.id,"/",$edit_version,"/hu/")|ezurl}>

and this :

<input type="hidden" name="TranslationLanguageEdit" value="hu" />

but i got nothing, how can i do this ?

thx.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 10:52:34
Script start
Timing: Jan 18 2025 10:52:34
Module start 'layout'
Timing: Jan 18 2025 10:52:34
Module start 'content'
Timing: Jan 18 2025 10:52:35
Module end 'content'
Timing: Jan 18 2025 10:52:35
Script end

Main resources:

Total runtime1.5859 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0065 589.4766152.6406
Module start 'layout' 0.00650.0041 742.117239.4922
Module start 'content' 0.01061.5739 781.6094399.3906
Module end 'content' 1.58450.0014 1,181.00008.1250
Script end 1.5859  1,189.1250 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.2240160.0002
Check MTime0.00140.0910160.0001
Mysql Total
Database connection0.00190.122010.0019
Mysqli_queries1.539697.0774460.0335
Looping result0.00050.0287440.0000
Template Total1.544697.420.7723
Template load0.00250.156120.0012
Template processing1.542197.240920.7711
Template load and register function0.00010.007910.0001
states
state_id_array0.00090.058910.0009
state_identifier_array0.00200.123120.0010
Override
Cache load0.00180.1137120.0002
Sytem overhead
Fetch class attribute can translate value0.00060.038310.0006
Fetch class attribute name0.00120.077610.0012
XML
Image XML parsing0.00010.005910.0001
class_abstraction
Instantiating content class attribute0.00000.000310.0000
General
dbfile0.00180.1141100.0002
String conversion0.00000.000640.0000
Note: percentages do not add up to 100% because some accumulators overlap

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
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 4
 Number of unique templates used: 4

Time used to render debug report: 0.0001 secs