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

Paypal pro (MODULE)

hi

i want to integerate paypal pro into my site but i am not able to get its working

I NEED PAYPAL PRO MODULE FOR DRUPAL if there is any module or any othere way to integerate pay pal pro into our site

REPLY ASAP

Create New Module

How to Develope Module & Themes

Gmap for dummie. Need a solution :)

I have just installed a gmpa module. I got an api key from gmap site, and finally turned on module.

It seems that module have installed properly. I can go into an administration/settings gmap page in my Drupal site. I can set a default gmap for my site, and I can generate Gmap macro.

The problem is that I don't know how to get a subpage (node) that will show the gmap. At the moment I need a map of the town, and in the future I will probably add some location tags/markers (for pubs, library, touristic sites), but I don't know how to get the gmap page.

Mini-module to remove "request new password"

Hi all - I have searched the forums high and low, but cannot seem to find anything that does exactly what I need. I am making a drupal site in which there will only be one user - thus I want to remove the tab in the user_login form which says "request new password" - on the login page before the user logs in.
I would prefer to have this set up through a mini-module, not hacking the core or doing anything I don't really understand enough of to start with (yet, at the least).

I added "lodingmod"-folder to my /contrib/-folder, and made files loginmod.info and loginmod.module.

However, this is as far as I get for now, as my knowledge to php is somewhat limited, I really am at a loss now. How in the world can I get this to check the actual text string of the tab and then have it completely removed if, ie, equals "request new password".

I am very thankful for any pointers on this, I did find some really interesting information, did the mini-module that makes the login-form collapsible and that worked fine, though - it is not what I need.

Now, have fun and happy programming to all of you guys who know so much more about this than me.

calling a hook_nodeapi() retroactively

I have inherited a suite of custom modules that do not always conform to Drupal methodology. The client doesn't have the money or time to spend cleaning up all the past mistakes so he's asked me to devise some workarounds.

Case and point. In some instances previously created nodes do not have a corresponding record in node_comment_statistics table. As a result the total number of comments is not being tallied.

I'm thinking the quickest way to solve this is to call comment_nodeapi() directly when comment_num_all() returns an empty record. For example:

date compare function for Drupal to Mediawiki

I am trying to present my users with a list of all wiki pages in mediaiwki that have changed since their last login.

The Drupal date format appears to be a number (in seconds) from 1970 at 00:00 GMT. The Mediawiki date format is as follows:

20070302233454

2007 is year
03 is month
02 is day
2334 is time (23:54)
43 is seconds.

I can't for the life of me work out how to companre such different date formats?!

Pages

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