On a node or a comment delete, can I just set the deleted flag instead of actually deleting the node or comment?

On a node or comment delete, we do not want the node or comment to be deleted; rather we want to be able to set the deleted flag in the field_data_body or the field_data_comment_body. How can I achieve this? Do I need to create a module and implement the hook_node_delete function call. Also, what do I need to do in the hook_node_delete function so that the node does not get deleted from the database.

Also, we are hoping that if we set the deleted flag, then these nodes/ comments would not get displayed to the end-user.

manage a small database online

Hi,

I am trying to do the following on my site for a sports club.
With the webform module new members (of the club, not of the site) can submit their name and all other information we need. This works.
The only thing i can do now is download the submitted data.
I would however want to manage the members list using the site (when logged in), i would want to see the submitted data like i would see it in excell/access, and i would like to add fields which i can fill in myself (for example a field in which i note whether that member payed his membership fee or not).

[Module] "Very" Advanced Search

Hello,

I'm wondering if there's an advanced search module that allows you to make something like in this example: http://www.jobsearch.co.uk/search.cgi/e/year/k/graphic/lo/London/a/31/

In other words, is it even possible (are there any tutorials? couldnt find anything) on how to create an advanced search. I'm looking for a module similiar to this http://drupal.org/project/jobsearch for Drupal 7.

Feature/panel problem

Hello,

After having developed a new feature locally, I tested it on a fresh install and it worked. Then, I wanted to move it to my site at my host.
When enabling the feature the status remains cheking... Via firebug I discovered the following error:

Fatal error: Class 'panels_display' not found in /home/littlest/public_html/sites/all/modules/ls_stories/ls_stories.pages_default.inc on line 53

on line 53 of that Feature there is: $display = new panels_display;

Both the new install and the production site run CTOOLS Alpha4.

HTML Table making smaller?

Hi All,

Again a question from me.
I've made this code in Kompozer, but i want to get the last column smaller.
See: http://onlineverdienen.web44.net/?q=node/4

The table is out of the bounds of the site's layout...
I've tried already to, in Notepad, make it smaller but that did not changed one thing... :S

Can you guys help me (again)...?

Here the code:

Hiding specific module's config from the configuration page

I'm trying to set up permissions that will hide a certain module's configuration from the configuration page (admin/config). I tried adding a 'access arguments' to the hook_menu(), but it doesn't seem to do anything. The best thing I could do is send a drupal_access_denied() if user_access() returns false, but the link is still showing on the configuration page. I also tried running an access callback function, but I get the same result.

I plan to have multiple roles on my site, some getting partial configuration permissions.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x