3.8.0: editing object -> need to select language

Author Message

Anja Lundin

Tuesday 30 May 2006 4:11:07 am

Hi!

I've recently upgraded a lot of sites to version 3.8.0 of eZ publish. All of the sites use only Swedish. In the admin interface when I click on the pencil-icon (editing an object) I first have to choose swedish in a list before continuing to edit the object.

In this list only Swedish is shown. This extra step is a bit unneccessary. And I'm a worried about what our customers would think about this new feature. Is there a way to walk around this and to go directly to the edit view - like it was before (3.7.6 and earlier)?

Don't missunderstand me - I like the multi-language support in 3.8.0 and our customers who uses more than just one language on their web pages will be very pleased. It's just that a lot of sites are in only one language - and those sites have no use for this, as far as I can see...

I need to know if I can do anything about this problem.

Thanks in advance!

/Anja Bjerleus, Novitell AB, Sweden.

------------------------------------
Anja Lundin
Developer, Novitell AB
Sweden

www.novitell.se

Łukasz Serwatka

Thursday 01 June 2006 12:24:28 am

Hi,

Did you follow all upgrade steps? If you have only one language then eZ publish should skip that part.

Could you paste here your regional settings?

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Siniša Šehović

Thursday 01 June 2006 5:54:58 am

Hi Anja

Take a look at this forum message:
http://ez.no/community/forum/setup_design/disabling_language_selection_in_forum

Best regards,
S.

---
If at first you don't succeed, look in the trash for the instructions.

Anja Lundin

Friday 02 June 2006 12:07:16 am

Hi!
First of all thank you for your help.

My configuration in site.ini for the site with one language has only swe-SE in RegionalSettings. I also followed all the steps in the upgrade.

Anyway the problem is now solved.

The problem was: I used the same database for a site with 3 languages as I did for the site with one language.

When there is content objects in the database of more than one language the admin interface will always show this extra step...

I had to copy the database and I now use two different databases. In one of the databases I deleted all content objects belonging to the multi-lingual site. Then I deleted the two extra languages from the admin interface (Setup/Languages).

The extra step is now gone in the admin interface for the site with one language!
Good!

/Anja

------------------------------------
Anja Lundin
Developer, Novitell AB
Sweden

www.novitell.se

Thiago Campos Viana

Wednesday 21 November 2007 8:06:09 am

hi, I had the same problem and I solved putting this line in the form:

<input type="hidden" name="ContentObjectLanguageCode" value="{ezini('RegionalSettings', 'Locale')}" />

eZ Publish Certified Developer: http://auth.ez.no/certification/verify/376924

Twitter: http://twitter.com/tcv_br

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 18:27:25
Script start
Timing: Jan 18 2025 18:27:25
Module start 'layout'
Timing: Jan 18 2025 18:27:25
Module start 'content'
Timing: Jan 18 2025 18:27:25
Module end 'content'
Timing: Jan 18 2025 18:27:25
Script end

Main resources:

Total runtime0.6403 sec
Peak memory usage4,096.0000 KB
Database Queries67

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0047 588.0469152.6406
Module start 'layout' 0.00470.0022 740.687539.4766
Module start 'content' 0.00690.6316 780.1641658.2266
Module end 'content' 0.63850.0018 1,438.390616.1250
Script end 0.6403  1,454.5156 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.4821160.0002
Check MTime0.00130.2071160.0001
Mysql Total
Database connection0.00070.102410.0007
Mysqli_queries0.574689.7379670.0086
Looping result0.00070.1081650.0000
Template Total0.612895.720.3064
Template load0.00210.323320.0010
Template processing0.610795.375420.3054
Template load and register function0.00010.017910.0001
states
state_id_array0.00150.240310.0015
state_identifier_array0.00090.144320.0005
Override
Cache load0.00180.2752390.0000
Sytem overhead
Fetch class attribute can translate value0.00050.073440.0001
Fetch class attribute name0.00170.265590.0002
XML
Image XML parsing0.00550.855240.0014
class_abstraction
Instantiating content class attribute0.00000.0024100.0000
General
dbfile0.00450.6999350.0001
String conversion0.00000.001240.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
5content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
8content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 24
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs