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

Creating non-html content with modules?

Hi!

I checked through module development documentation, but I am not sure how to do this.

Can modules create content independent from default Drupal's page creation flow?

how to insert into head area?

I'm working on my first module and I have a question. I am trying to insert a script tag into the html head area. I've done the module tutorial and I've looked at different modules that do this (event, taxonomy_dhtml, simplenews). I'm a bit confused because all three use differerent hooks and none of them are working for me.

Converting modules to 4.7 / CVS

Hi,

I'm a fairly experienced Drupal user, but by no means an expert with the project code.

I'm keen to start developing my sites in 4.7 / CVS because it is, in my opinion, a huge advance from 4.6, particularly for the cms type sites that I develop. I am aware that the cvs still contains bugs etc.

Obviously, many of the useful Drupal modules are written for 4.6. As I understand it, there are huge changes in the API (e.g. for form handling) between 4.6 and 4.7 / cvs.

image.module by another name

I am trying to modify image.module and create a totally different module called "customimage".
I want the module to act exactly like the image.module, but it would have a different name.

The module works, but the uploaded images files are saved as attachments.

Anyone got any idea why the image is saved as an attachement and not displayed as an image ?
thanks in advance...

Marcel
http://www.macminiforums.com/forums/

nmoderation in Teaser???

Hey, I'm sure this is a pretty simple question:

Basically, I'm using the nmoderation module, which at present is being recalled when the user clicks into a node.

How can I recall it in the teaser as well? i.e. so the node vote box is below the teaser?

I couldn't locate any pages in the handbook which specifically refer to linking things to the teaser... I'm sure its in there somewhere.

Thanks,

Alex

Do node_load returns object only if the user has access? bug?

I have been testing and since I migrated to 4.6 it seems that node_load only returns an object when there is a user with access that is logged on.
The problem is that I need to load this on a cron. Does anyone know how can I get node_load to return the object from a cron without a user logged on (anonymous)? ... is this a security feature or is this a bug?
Thanks

Pages

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