Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
I am making some design decisions for a module I am working on, but I don't know enough about Drupal access control to make the right decisions...
Briefly, I want to be able to prevent anonymous access to some content generated by my module, but allow anonymous access to other content. I also want to have a search function operate on my module.
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.
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!!
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
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?
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.