drupalfun.com
Why does the Input Format default to Filtered html?
In section 4.3.3 pg 36 #9. When I add the php snippet to the empty text field it defaults to filtered html. I have the core php filter module enabled.
In the input formats section I have tried setting the default to php and changing the permissions for the php code but still get the same result.
Any assistance would be greatly appreciated.
Related Questions
Responses
2. My solution
This is how I managed to bypass default filter inputs http://drupal.org/project/better_formats
I hope it fits you as well. But I highly doubt you ever need to set default for php...ever!
3. still cant get it
Thanks everyone for the info but no matter what I do, I still get filtered html when entering anything in the empty text field when creating views.
I am certain I am doing something wrong. If anyone can provide specific steps or where I need to look to correct this problem, I would greatly appreciate it.
4. Finally got it to work
This is what I did:
Go to admin/build/views/tools
put a check next to "Disable javascript with Views. "
Views no longer looked the same but enabled me to select the different input formats.
Thanks again
5. PHP is to big a risk
It defaults to the safest option. PHP can realy mess up your website security.
You did see the "Input format" tab just below the Empty text input field were you can switch it from "Filtered HTML" to "Full HTML" or "PHP Code"?
Some themes don´t make them stand out.
6. I did not set the site default to php
I just selected for the empty text field.
The problem was with javascript enabled in views the input formats section would not expand. No options to select the different formats, therefore always defaulting to filtered html.
7. Broken theme - use a standard one for your admin theme
What theme are you using? It sounds like it is not working correctly with collapsible fieldsets.
The easy way to work around this is select a default theme for administration and content creation / editing. You can do so at admin/settings/admin


1. If it's any consolation. Mine
If it's any consolation. Mine always defaults to filtered html as well, but I have not tried to alter it.