In-Portal Issue Tracker

Welcome to the In-Portal Open Source CMS Issue Tracker! This is a central management / tracking tool for all types of tasks / issues / bugs for the In-Portal Project. Before reporting any issues, please make sure to read the Guide into Issue Tracker and How to Properly Test and Report Bugs!

Viewing Issue Simple Details Jump to Notes ] Wiki ] View Advanced ] Issue History ] Print ]
ID Category Type Reproducibility Date Submitted Last Update
0000851 [In-Portal CMS] Admin Interfaces task N/A 2010-09-01 02:58 2011-12-29 13:05
Reporter alex View Status public Project Name In-Portal CMS
Assigned To Developer
Priority minor Resolution open Fixed in Version
Status active Product Version 5.1.0 Target Version Icebox
Time Estimate5 hours total (5 hours remaining)
Summary 0000851: Improvements to translatable field interface
Description We have 2 possible layouts of forms, that have translatable fields on them:
1. show all fields on all languages at once
- getting very large form, when there are a lot of translatable fields on it
+ no need to refresh form to enter field value on other language

2. only field on current language is visible
+ small form
- need to refresh form and validate all data to enter value from other language

We need to invent something new, that will allow to enter field values on different languages without form refresh and that doesn't make forms bigger, when new languages are added to the site.

In 2nd approach errors from translatable field on any language are redirected back to field on primary language.

For example:

    * you have l1_Name and l2_Name fields on form;
    * 2nd language is primary;
    * in case of error in l1_Name field it will be shown under l2_Name field.

So here is the solution, that should fit our needs without even requiring extra space for additional controls. No new controls added only existing controls will work a bit different:

   1. each translatable field will have input controls on all languages, but only one control per field will be visible at a time;
   2. dropdown on top (with language list) will affect all translatable fields and will make controls on new selected language become visible (instead of previous current language) without form refresh;
   3. top dropdown name will be "m_lang", so it will be remembered as form language once form is submitted;
   4. translatable fields should use "inp_edit_box_ml" and "inp_edit_textarea_ml" blocks for this to work;
   5. mentioned above blocks needs to be rewritten to support such behavior.

We have JavaScript Form class, that tries to fill empty space at form bottom by resizing textarea, so we should trick it and make it assume, that same field on different languages is actual one field, that uses space on form and not all of them will be always visible.
Additional Information
Tags No tags attached.
Change Log Message
Estimate Points 3
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
User avatar (0003896)
alex (manager)
2011-09-24 05:30

Reminder sent to: Dmitry

I disagree, that this issue has minor priority.

It's obviously very hard for users, who have their website content entered at least on 5 languages to manage it's translations on all languages with all that form reloads on every language change.

Other solution for making all fields from all languages shown at once is bad too, since it makes very large forms.
User avatar (0004354)
administrator (administrator)
2011-12-29 13:05

Moving this feature to Icebox until we get to Improvement of Admin Interfaces.

- Issue History
Date Modified Username Field Change
2011-12-29 13:05 administrator Note Added: 0004354
2011-12-29 13:05 administrator Target Version 5.2.0 => Icebox
2011-12-18 15:27 Dmitry Priority normal => minor
2011-10-22 05:38 alex Estimate Points => 3
2011-09-27 05:00 alex Time Estimate Added 5
2011-09-24 13:43 Dmitry Priority minor => normal
2011-09-24 05:30 alex Issue Monitored: Dmitry
2011-09-24 05:30 alex Note Added: 0003896
2011-09-23 21:41 Dmitry Priority normal => minor
2010-09-01 02:58 alex New Issue
2010-09-01 02:58 alex Reference =>

Web Development by Intechnic
In-Portal Open Source CMS
In-Portal Open Source CMS
Copyright © 2000 - 2009 MantisBT Group

Powered by Mantis Bugtracker