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 ...
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
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.
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 ...
Can't help anybody , please?
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.
@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?
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...)?
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...
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?
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,
"
<?php
LeftAndMain::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?
................