Zikula: A Flexible Open Source Content Management System
home | forum | contact us

Dizkus

Bottom
About 0.760-RC3 administration panel and Spanish
  • Posted: 24.03.2005, 16:19
     
    tginard
    rank:
    Freshman Freshman
    registered:
     May 2003
    Status:
    offline
    last visit:
    19.09.08
    Posts:
    7
    There is a little issue with administration panel in 0.760-RC3 and some languages like Spanish and Catalan.

    PostNuke 0.760 no longer uses a table to show the images at the administration panel. Instead, it uses
    tags with two style attributes. The first one is "float:left" and the second one is "width".

    The value of width is calculated every time the page is loaded because it is a customizable parameter called "Modules per row". And here comes the problem: if the selected language is English, the result (for 5 modules per row) is 19.8, so it works fine. But if the language is Spanish or Catalan the result is 19,8 (some languages swap the use of comma and dot in numbers). Internet Explorer and Firefox consider it an error, so the attribute width is ignored.

    My question is if there is any way to fix that using the language files or, if not, if it is possible to change that behavior in any way.
  • Posted: 24.03.2005, 16:28
     
    rank:
    Moderator Moderator
    registered:
     March 2002
    Status:
    offline
    last visit:
    26.08.08
    Posts:
    7720
    I believe this has already been fixed in cvs with an updated template. Basically we now ensure that the value returned from the math plugin is an integer.

    -Mark
  • Posted: 24.03.2005, 17:32
     
    tginard
    rank:
    Freshman Freshman
    registered:
     May 2003
    Status:
    offline
    last visit:
    19.09.08
    Posts:
    7
    You're right! I have downloaded the updated template from the CVS and now it is working.


    Thanks a lot !
  • Posted: 24.03.2005, 19:14
     
    rank:
    Moderator Moderator
    registered:
     March 2002
    Status:
    offline
    last visit:
    26.08.08
    Posts:
    7720
    No problem - although the real thanks go to the person who isolated and fixed the problem (klaus petzka). I certainly didn't know that this was the case when I originally wrote the module.

    -Mark

Extensions Moderation

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula