Persistent user variables?

Hello! Another newb question for ya'll-- wondering if there is core functionality for persistent (and dynamic) cross-session user variables?

Before I create a table for this purpose in my module, I wanted to ask first.. but nothing is jumping out at me looking at the database structure.

thanks!
Reuben

Cannot remove 'Administer > Site Building > Blocks > User Login' without receiving an 'Access denied' error

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 am launching a new website which version should I use? If I used 5.X will it upgrade nicely to 6.X?

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.

newbie question, first module

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..

What could it be that I'm missing??

Thanks all

Looking for: LAPP + search + form(builder)

Hi everybody

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.

Issues when creating multiple instances of a form on same page

Hi all,

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?

Pages

Subscribe with RSS Subscribe to RSS - Drupal 6.x