Forums / Developer / 3.8.0: editing object -> need to select language

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

eZ debug

Timing: Jan 31 2025 00:39:00
Script start
Timing: Jan 31 2025 00:39:00
Module start 'content'
Timing: Jan 31 2025 00:39:00
Module end 'content'
Timing: Jan 31 2025 00:39:00
Script end

Main resources:

Total runtime0.1752 sec
Peak memory usage8,192.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0069 588.0625370.2734
Module start 'content' 0.00690.0114 958.33591,005.5781
Module end 'content' 0.01830.1568 1,963.91413,894.5391
Script end 0.1751  5,858.4531 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00432.4621200.0002
Check MTime0.00130.7470200.0001
Mysql Total
Database connection0.00090.505710.0009
Mysqli_queries0.085848.96231410.0006
Looping result0.00120.71241390.0000
Template Total0.156489.310.1564
Template load0.00070.410310.0007
Template processing0.155788.881410.1557
Override
Cache load0.00050.280910.0005
Sytem overhead
Fetch class attribute can translate value0.00170.980010.0017
XML
Image XML parsing0.00020.134210.0002
General
dbfile0.00432.4548200.0002
String conversion0.00000.002330.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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs