Getting the $nid

I cant get my head around this:

I have added custom form fields using hook_form_FORM_ID_alter and storing the values in an extra table.
But how would I refer to the node in that extra table?
Is there a way to get the node ID for the db_merge command in the submit handler?

Thanks

Drupal 7 & SSL

Hello

I have already experimented with Drupal 7 using a http://www using the default unsecured directory. My biggest concern with Drupal is Content Access Control. Drupal 7 core is perfect for my use.

I want to reinstall Drupal 7 so that Login especially the cookie session is secured. I used FireFox to see if it was secured or not. It wasn't.

Blocks that pull content based on Parent node tags?

Hi everyone,
I've got a problem I feel should be very solvable, however, I'm coming up dry in my search for answers.

What my client needs to do, is basically create any number of new pages, and tag these pages with any number of tags. Then, they need to have the blocks that are on those pages recognize the tags from the parent node they are on and display only content in the blocks that is pertinent to (or the same) as the tags of that parent node. And they also need to be able to manually choose to display one particular block instead of another that may fit the requirements as well (this could simply be an "override random" toggle that would place that particular block in any block that matched the criteria).

So I need a way for the node and the block to talk to each other and the node to say to the block "hey, you've got the same tags as me, I want your content." And then use views obviously to pull in the appropriate fields into the block.

The key to that being that there is going to be an ever changing list of terms, and an ever growing number of pages, and the blocks need to know what to do without any editing in the views module.

registration fields

hello,
When i was using drupal 6 i made a registration form and added extra fields using profile module which was already there.
see i added fields under a particular category and it displayed in the registration form as
e.g
Login details:(category)

Username = ________
Pass = _________

Personal info(another category)

First name = ________
Last name = ________

it use to display in the same manner in drupal 6 Now am using drupal 7 but i cannot add categories as in drupal 6 like i wrote above

what should i do ?

Tackling Zen...

I have gone thru a ton of posts here regarding how to get the Zen theme up and running, which I have done, but now when I want to start adding things like a different background image, or a rotating header, I can find no help. I'm using drupal 7, which at this point (Feb 2011) doesn't have a lot of support. Can anyone point me in the right direction for tutorials to help me change the colours and images on my basic pages in Zen?

Non persistent sessions between http and https

Hi everyone,

I am using Drupal 7 and am having trouble getting sessions to persist when I swap between http and https. I am running Apache on CentOS.

I have tried adding$conf['https'] = TRUE; to sites/default/settings.php
After I did that I restarted my webserver and cleared the cache in Drupal.

I currently have the Secure Pages module installed but I was having the same problem previously anyway. I've tried searching for a solution to this problem but most of the results date back to older versions of Drupal!

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x