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

New node type - want to access revision history

I just created a new node type with the handbook entry. Now I'm trying to expand the functionality of the node.

I added functionality to allow users to edit the node, even if they don't own it. However, I also want them to see the revision history list. Is there a hook that I can add to allow this just for this node? The only way I can figure to get it visible is to give 'administer node' permissions to the authenticated user role. For obvious reasons, I don't want to do that.

Anyone have thoughts?

Tiny MCE Javascript Error After Instalation

I am running Drupal 4.6.5 and after I follow all the instructions to install the TinyMCE module I get this error:

Error: Could not find the template function: TinyMCE_simple_getEditorTemplate

I am at a loss as to why this isn't working since I followed all the instructions here: http://cvs.drupal.org/viewcvs/drupal/contributions/modules/tinymce/INSTA...

Thanks in advance,

Ryan

blog module, strange behaviours

I have the following problem(s)

After installing I have after sometime been asked to activate the blog system....
I do it step by step..and all was working well for me...showing normal pages...
but now I does not....and I have run it down to the blog.

I have 4 levels of users on my test website, anon/reg/mod/admin

and for the mod it goes wrong...

worldpay.module - Accept credit and debit card payments using the Worldpay payment solution.

Just flagging the first commit of a new worldpay.module for accepting credit card and debit card payments using worldpay. It might be useful to UK and Irish Drupallers (Worldpay is part of the Bank of Scotland Group).

As a mini disclaimer: I don't work for the Bank of Scotland Group or Worldpay. A client requested the module and with the help of rkendall, who created the initial version, the result is the worldpay.module.

Re-use the node edit/view page

I'm working on a new module, basicgallery.module, which just copies/moves the image.module's gallery functionality into a separate module and extends it just a little. It intends to be a _basic_ gallery module. See http://drupal.org/node/4321.

Calculating remaining time: what to do with timezones?

Hi everybody.

I'm working on a module which adds a new node type.
This new node type has a "closing_date" field which is in unix date format.

I need to show informations about the remaining time before the closing date calcolated from current time.

Drupal support the configuration of timezones.

What do I need to do to correctly use dates with timezones??

example:
closing date is 12/12/2006 15:00 GMT
I've set GMT as my timezone on my drupal account page
In my timezone is 12/12/2006 13:00
the module show "2 hours remaining"

Pages

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