This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

Loading node->nid

How do I get access to my node id? I have a custom table which I want to link with the main node id that is part of all served drupal pages.

I see lots of function calls with ($node) or (&$node) in them but that presupposes you have a pointer to $node. I also see several hooks like _insert, _update, _load with access to $node but adding those hooks to my module doesn't seem to help.

I'm not sure when they get called or how I could pass the data to my receive hook.

thanks

All blank pages after inserting flexinode content

Hi all,

After making a new Flexinote content type, including mp3 and gallery field types,
I inserted a page, only to know that some dir for mp3 didnt exist and galery needed configuration, BUT after that;

NO PAGES is shown whatsoever, including admins, users, non login content, no nothing!! Figure I got to create a whole new setup, but if anybody would know a simple way trough to restore some defaults, or possible delete the malicious node, I should be so gratefull for saving a days work or 2!!

Thanks plenty
henrik

writing to the drupal.node table ?

Hi Folks

Can someone point me to the place in the drupal code please where we insert records into the node table
for the cases when we submit a blog,forum,.. entry ?

I have done a search over all drupal files in dreamweaver for

INSERT INTO {node} ... nothing
INSERT into node ... nothing

UPDATE {node} .... yes
UPDATE node .... no

I have also looked carefully over all search results generated by
INSERT itself but could find anything relating to inserting records into the node table

Forum 'Threaded list - expanded' ... not working

Nothing changes when I change the Default Display Mode to "Threaded list - expanded" - it still shows the Flat List view. I pretty sure it worked at one though. I prefer the traditional view showing the body of each comment below the Parent Topic Body. Any suggestions?

statichtml pages module

I wrote this module in order to get my static html pages showing in Drupal.
I have books and user manuals in html format (over 3000 pages altogether) and I could not find anything that will show this in Drupal. This works for me.
Pleas let me know what you think or if you encounter any problems.

You can find module here http://www.savefile.com/files/2386132

Proposal: Move all module admin to admin/modules

A major annoyance with Drupal for me is that I have to search for where to change the settings for each module, they might be in under "settings," or "content," or in the main "admin" area and some modules are in have required settings in both. One way to help navigate this would be to simply put and "admin" link on the admin/modules overview page. It would probably be good to have a link to access permissions for each module here also. Another way is to have dropdown modules menu and move all modules into there instead of having so many under settings.

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions