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

Any suggestions for how to clone page.module

This sounds like a very strange request, I know, but I want to clone the page.module, changing the name to membersonly.module. This seems like the most basic solution to a problem I've been having where I want certain content restricted to (wait for it) members only. That way, when I click on create content, I can select the function that will operate exactly as a page made by page.module, but will be called something differerent.

If someone could guide me in the right direction/suggest an alternative/slap me like a fool, I would be most grateful.

Regards,

Turning off categories fieldset

Hi there,

I am building a site and generating a new node type, I followed the instructions here and almost understand what I am doing, but I am trying to remove the "Categories" fieldset.

My site will use taxonomy terms for organisation and collection, but instead of having the user explicitly navigate through the lists, I am going to obtain the terms from the node input.

Is there anyway to remove this from the add node page?

URL id

I have this code at the moment...

user_access function modification

I've posted similar queries, but I hope that this one is perfectly clear for a fast response.

I wish to modify the user_access function (from the user.module). The modification I wish is simple. Currently, this line:

Upolad filename

Is there anyway to change uploaded files filenames.
Like day and time format.

doxument1.doc => 040406.doc

Access Control ++

Hi, friends. I have a problem with developing of the one interesting module for drupal. Idea is:
Site has root administrator (his ID is #1) and this admin has absalute control. I need to make so that the site will have one more admin(with ID #2), but all his right will be assigned by root admin.
Example:

Pages

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