Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

All other Modules /

Discuss all other Modules here.

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

Userforms not working correctly in CMS


Go to End


4 Posts   2175 Views

Avatar
qlex

Community Member, 68 Posts

9 October 2009 at 1:11am

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

Avatar
Willr

Forum Moderator, 5523 Posts

9 October 2009 at 12:25pm

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.

Avatar
qlex

Community Member, 68 Posts

9 October 2009 at 6:50pm

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 ?

Avatar
qlex

Community Member, 68 Posts

10 October 2009 at 3:04am

Edited: 10/10/2009 3:07am

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