10386 Posts in 2198 Topics by 1712 members
| Go to End | Next > | |
| Author | Topic: | 2290 Views |
-
Re: UserForms V0.2.0 - SilverStripe 2.3.3

17 August 2009 at 1:10am
I just upgraded to SS 2.3.3 and installed the userforms module. An old form that I have shows up, but won't let me edit it. So I created a new dummy page, changed it to a userform page, then tried to add a field, but no luck. When I select the field type and click add, the browser gets redirected to /admin/EditForm and the page is blank.
Any ideas on why this would happen? Once I can add a form to a new page, I will deal with editing the old form.
-
Re: UserForms V0.2.0 - SilverStripe 2.3.3

17 August 2009 at 11:40am
Make sure you have flushed your admin panel - site.com/admin/?flush=1 to reload any cached files. The old javascript or templates may be conflicting.
If that still doesn't fix it then double check you ftped the new directory correctly and all the files exist. Then check your error console in your browser for any javascript errors that could be causing the form to fail.
Also note that the new userforms module is not compatible with the previous versions (for the most part) so you may run into issues updating existing forms.
-
Re: UserForms V0.2.0 - SilverStripe 2.3.3

17 August 2009 at 11:26pm
Doing the /admin/?flush=1 helped clear up the blank page. I now see the green 'saved' text that shows up at the bottom, when clicking on the add button. But this still doesn't produce any form fields for me. I click the save button for the page, then refresh and still the form is blank.
I did a wget on this module, so no chance of leaving any files off using FTP. Firebug doesn't show any JavaScript errors, so I guess my next move it to see if there are any new fields in the DB. I'll dig there to see if the new form is even creating a corresponding entry in the DB.
-
Re: UserForms V0.2.0 - SilverStripe 2.3.3

19 August 2009 at 8:50pm
I have the following problem:
Text inside checkboxes shifts down.
you can see how it lool here -> http://tangounderground.com/new-userdefinedform
Has anyone run into sumething similar?
-
Re: UserForms V0.2.0 - SilverStripe 2.3.3

21 August 2009 at 12:11am Last edited: 21 August 2009 1:42am
Hello,
@bkatous : i have the same problem.
FieldSet::addFieldToTab() Tried to add a tab to object 'Tab' named 'Complétion en cours' - '' didn't exist.
And the solution is : replace in your file userforms/lang/fr_FR.php, line 120 :
$lang['fr_FR']['UserDefinedForm']['ONCOMPLETE'] = 'Complétion en cours...';
by
$lang['fr_FR']['UserDefinedForm']['ONCOMPLETE'] = 'Complétion en cours';
The problem is the last three dots in the traduction. In file /sapphire/forms/FieldSet.php, line 253, function findOrMakeTab(), SilverStripe explode the $tabName (here "Root.Content.Complétion en cours...") with the dot character :
$parts = explode('.',$tabName);
But the result of '...' is '', '' and ''
Hope this help you !
-
Re: UserForms V0.2.0 - SilverStripe 2.3.3

21 August 2009 at 2:10am
sorry, but I don't really understand how it is related with my question. Would you please provide an example if you can.
-
Re: UserForms V0.2.0 - SilverStripe 2.3.3

21 August 2009 at 3:11am Last edited: 21 August 2009 3:15am
Sorry Cygnet. I answered bkatous, the first question in this topic :
Im having problem when i try to add a a new form, i've got this error :
"Error: "FieldSet::addFieldToTab() Tried to add a tab to object 'Tab' named 'Complétion en cours' - '' didn't exist." at line 272 of E:\wamp\www\testSite\sapphire\forms\FieldSet.php"
-
Re: UserForms V0.2.0 - SilverStripe 2.3.3

21 August 2009 at 12:18pm
Hey Myrdhin,
Thanks for pointing this out. I have removed it from the translation entry
http://open.silverstripe.org/changeset/84941
Cheers,
| 2290 Views | ||
| Go to Top | Next > |



