10380 Posts in 2195 Topics by 1711 members
| Go to End | Next > | |
| Author | Topic: | 1898 Views |
-
[Solved] Haven't changed anything after installing userform module

19 January 2011 at 11:28pm
Hi everyone,
I installed user form module and , then rebuild my database.
But I haven't see any changes when creating page in my administration page.
What happened to me?Could somebody fix my problem?
Thanks ... -
Re: [Solved] Haven't changed anything after installing userform module

20 January 2011 at 6:02pm
Can't help anybody , please?
-
Re: [Solved] Haven't changed anything after installing userform module

20 January 2011 at 8:41pm
So you don't see the new 'User Defined Form' option in the 'Create Page' dropdown in your sitetree?
Things to check
- Check the folder is named 'userforms' not 'userforms-r23'
- Reload the admin with a ?flush=1.
- Ensure userforms folder is at the root level of your SilverStripe install and is not nested inside mysite / sapphire. -
Re: [Solved] Haven't changed anything after installing userform module

21 January 2011 at 7:25pm
@Willr => Thanks for your reply.
Yes, I don't see the new 'User Defined Form' option in the 'Create Page' dropdown in my sitetree.
And the three things you said are already done(attached screenshots). But in vain, brother.How can I do for that?
-
Re: [Solved] Haven't changed anything after installing userform module

22 January 2011 at 1:01pm
Strange! can you check the actual page type exists? should be in userforms/code/UserDefinedForm.php.
Does your database have any UserDefinedForm related tables (EditableFormField, SubmittedForm...)?
-
Re: [Solved] Haven't changed anything after installing userform module

22 January 2011 at 7:32pm
Ya ....
It's ok with userforms/code/UserDefinedForm.php.
And I didn't create any tables in my database yet , so I think my database won't have any UserDefinedForm related tables.
I reinstall that module , rebuild database but it still haven't appear in my admin page.
(Most of silverstripe tutorials aren't complete without userforms module ,
so I can't keep studying tutorials. )
Is there any possible facts that I have to check?
Thanks again...
-
Re: [Solved] Haven't changed anything after installing userform module

23 January 2011 at 1:03pm
And I didn't create any tables in my database yet , so I think my database won't have any UserDefinedForm
When you do a /dev/build it should create the tables for you. If it is not creating any database tables even after dev/build then for some reason it is not reading that file. Check there is a _config.php file in the userforms/ folder and perhaps check permissions?
-
Re: [Solved] Haven't changed anything after installing userform module

23 January 2011 at 5:01pm Last edited: 23 January 2011 5:03pm
Ya .. you are right,brother.
It happens cause of permission.(Thanks for your help
)
Now, I see UserForm Page type in admin page but I create that kind of page type ,the error shows "The CMS requires that you have JavaScript enabled.".(I searched "how to enable Javascript" , but I didn't see any page writing about that.)
So could you please tell me how to enable Javascript?In _config.php,
"
<?phpLeftAndMain::require_javascript('userforms/javascript/FieldEditor.js');
LeftAndMain::require_css('userforms/css/FieldEditor.css');?>
"But there is just only one .js file(userforms/javascript/UserForm.js) in my folder.For CSS, it's ok.
Is it default?................
| 1898 Views | ||
| Go to Top | Next > |


