When I'm in 'Administer > Site Building > Blocks > User Login' and I move 'User Login' from 'Left Sidebar' to 'None', I get kicked out of the admin section and receive this:
Access denied
You are not authorized to access this page.
How can I remove the 'User Login' section without being kicked out myself? I want to be the only user to edit my website so I don't need this 'User Login' block.
I spent considerable time studying various CMS and now I am sold on Drupal. My next website is planned around a certain niche in movies with the database, reviews, news, film maker database, rating, voting and all such user driven elements.
Taking my first stab at a module from scratch, thought I'd also do it for 6.0rc1 ..
I can't figure it out, though. But once enabling it, every time any form is submitted, the result is just an empty document.
Would someone please mind taking just a quick look at this? I'm sure it is something completely obvious.. I did spend quite awhile digging through the docs and the developer handbook looking for clues as to what I am missing, though. :-)
To add to the confusion, the only way I can get the form submissions to work again is to delete EVERYTHING in this .module file.. Even having an empty <?php ?> tag will cause the form submissions to crater out..
I recently switched from Joomla and I'm honestly a little bit lost. I did spend quite some time in browsing through the modules and the forum but I couldn't find what I'm looking for or I just missed it (if so I'm really sorry about that). I hope someone from the community can give me some short advice.
In a module I am attempting to create, one of the admin pages would have multiple instances of a form (with different value settings). However, when I try to submit the form, the form state seems to keep in reference the first of that form type that it generated and so:
1) Validation failure - all the instances of the particular form on the page take on the values of the first form.
2) Submit - It will call on submission of with the set form values of the first instance (so if I have '#type' => 'value', '#value' => 'blah') on the first instance and a value of 'huzzah' on the second instance, it will have the first one ('blah') sent to the form submission in the form state.
I can 'get around' the second issue by using hidden values (with default values) instead of trying to set the value. But I still cannot get around the validation failure. Any ideas on how I can fix this issue?