Jump to:

10850 Posts in 2517 Topics by 1793 members

All other Modules

SilverStripe Forums » All other Modules » Userforms not working correctly in CMS

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 1485 Views
  • qlex
    Avatar
    Community Member
    68 Posts

    Userforms not working correctly in CMS Link to this post

    Hi,
    i have an issue that relates to both the CMS itself and to UserForms module, but decided to post here.

    As you can see per attached image, there's a problem with correct display of tabs content.
    I have displayed the "Email recipients" tab of Userforms and instead of viewing its contents immediately below the tab area, its visible at the bottom of the screen, with a very slim height.

    Could anyone point me as to where it could be changed ? Afaik, this happens only with the Userforms module.

    Cheers,
    Qlex

    Attached Files
  • Willr
    Avatar
    Forum Moderator
    5464 Posts

    Re: Userforms not working correctly in CMS Link to this post

    Make sure all the javascript files in jsparty have been uploaded correctly and their is no JS errors on the page (if you look at the error console in your browser).

    Then try reload the cms with a ?flush=1 on the end of the url.

  • qlex
    Avatar
    Community Member
    68 Posts

    Re: Userforms not working correctly in CMS Link to this post

    Hi willr,
    all js files are in jsparty directory.
    neither console in firefox, nor console of firebug indicates any js errors.

    the problem is, when i switch between the tabs of userforms, all tabs content is displayed at the bottom of screen (as per attached screenshot and i can use firebug to

    apart from:
    main, meta-data, form which display correctly.

    my userform tabs display partially in polish and their names are as follows:
    Main, Meta-data, Form, Received, Received, Email recipients, After submission.

    I have a feeling, it could be something with css maybe rather than js ?

  • qlex
    Avatar
    Community Member
    68 Posts

    Re: Userforms not working correctly in CMS Link to this post

    Hi.
    news from the front!
    I have been testing around and found the following, which might help you provide me with help!

    Made a fresh install of SS and installed Userforms 0.2 again.

    This time, eventough i set i18n to polish in config.php, the language of CMS is english instead of polish.

    Content of tabs for userforms in CMS displays correctly.

    But, there are 4 tabs in english and 5 tabs in polish version!

    4 tabs in english are: Main, Metadata, Form, Submissions, Email recipients, On complete
    5 tabs in polish are: Główny (Main), Meta-dane (Metadata), Formularz (Form), Zgłoszenia (Submissions), Zgłoszenia (Submissions), Email recipients (not translated at all!), Po uzupełnieniu (On complete).

    As you can notice, there are two "Submissions" tabs.

    Removing pl_PL.php from userforms/lang/ solves the problem.
    What can i do to improve the translation as it seems it will affect all polish users of SS ?

    Help !
    Qlex

    1485 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.