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

E-commerce: PaymentAPI : documentation and question

guys,

i didnt find a documentation for paymentapi. nether for checkoutapi. so im posting here a question:

im building a payment module that needs the user driver license. i created a field using profile module.
so 1* first the guy choose the payment method, 2* than a mini form should appear with driver license field. 3* process continues as normal.

i dont know how to hook this form into the process.

regards,

massa

How to do pagination?

I have a category module. I wirte function to create new category and my node(content) can choose its category from the new categories. Now I want a page to show categories. But there are too many categories in one page. Does drupal has any function to do the pagination?

How to put two form elements in one line?

I use form API to create a form. But every elements is in a single line. I want to put two 'select' elements in one line. How to? thanks

Modifying Search To Make It Search New Profile Fields?

What is the easiest or best way to modify Drupal's built-in search capabilites to make searches take new profile fields into account?

If anyone could shed light on that I would be grateful. Does it involve perhaps writing a new search module to extend the built-in mod? Does it involve using the hook hook_form_alter in order to alter the default search form?

t h A n k S

blog module: restricting access

I want to restrict access to blogs to the individual users that own them. Currently, any blog content is visible publicly. I am somewhat surprised that there is not any sort of access control built into the blog module, but I am trying to get around this by modifying it to meet my needs.

I tried modifying the hook_access function in the following way...

RSVP Module on 4.6 - invitation email gets mangled

Hello,

as above, some recipients of the RSVP invites get mangled gibberish. Some get half gibberish. And some don't have any problems at all.

Does not seem to matter what client they're using - M$ OE, full Outlook, Horde, Thunderbird, etc.... some webmail users get garbage. Some don't. Some POP or IMAP clients get perfectly fine formatted email with links. Some get garbage.

Looking in the .module itself, it seems kinda straightforward... there's a mail function, with plain text, some \n ewlines, and a few variables to call in the names of stuff. Great. I don't get what could be going wrong.

Here's a failure example (i've privatized the (client)):

From: rmunsch (rmunsch@solutionsforprogress.com)
Sent: Monday, August 21, 2006 6:53 PM
To: (invitee)
Subject: (site) - Event Invitation

Hello! You have been invited to attend an event by rmunsch at (some site). Please respond to this invitation by following this link:  http://(some address)/rsvp/email/d1ea3347589c4b48e817a783128283df Yo

This is my favorite - everything's fine until halfway through the link. Then it explodes, and just stops.

Database issue? Something else??

note: now i'm getting forwards that sign-up emails are also being mangled. Aargh...

even better. They look like this:


To: (client)
Subject: Account details for testnewuser at (site)

dGVzdG5ld3VzZXIsCiAKVGhhbmsgeW91IGZvciByZWdpc3RlcmluZyBhdCBCb3hlczJCcmlja3Mu

Pages

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