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

Weirdest Inconsistancy with Multi-Page Node Creation

I've followed the guide at http://drupal.org/node/54753. I've found the sample code to be overly complicated and have, from scratch, written my own multi-page node creation based on the sample code. It works just fine if I am admin, but if I am an anonymous or logged in user it does not work unless the user has the ability to create attachments (WTF?!?!?).

What I mean by "does not work" is that the first page is shown, but when I click "Next" it acts llike I am clicking "Submit" and creates the node without showing the proceeding second page first. Why does the upload module affect this? I don't want to grant upload rights to my anonymous users. My module has nothing to do with uploads - hell, I don't even use the upload module, I'd rather just turn it off.

Here's the source code for my module, I'd appreciate any insight:

http://new.choicesinchildbirth.org/cic_advertiser.module.txt

Also, if you want to try out the form and see what I mean:

http://new.choicesinchildbirth.org/regads

Last, but not least, I've submitted both the working version of the form (as admin) and a non-working version (as anonymous) to a URL where I serialize and print $_POST to the screen. Here is the serialized $_POST data for the working form:

a:2:{s:4:"edit";a:15:{s:10:"list_where";s:5:"guide";s:12:"contact_name";s:1:"d";
s:13:"contact_title";s:1:"d";s:5:"title";s:1:"d";s:7:"changed";s:0:"";s:4:"page";

Convert a single aggregator item to node via a link?

Some one did this earlier but it can't find the code for it. What he did was add a link to the listed aggregator items ( similar to blogit!) so that when clicked that item was converted to a node.

This is different from aggregator2 or leech which do all the feed items. What I want to be able to do is pick and choose as I read.

Does anyone remember this thread or have the code?

paypalpro module and E-Commerce 4.7

Hello. I am hoping to get some clarity on the current state and development of the paypalpro module for ecommerce. I noticed that as of today (November 11th, 2006) the module is not included in the current version of ecommerce (4.7.x-1.x). In the "Modules Summary and 4.7 Release Status" section or the ecommerce README, paypalpro's status is listed as "cvs". So I tracked down the module at http://cvs.drupal.org/viewcvs/drupal/contributions/modules/ecommerce/con...

voteupdown

i tried to apply votes to stories (in addition to storylinks). but the arrow signs (for voting) does not appear for stories. only the vote count appears (which is 0 since i cannot vote). i'd appreciate if anyone tell me how to make it also work on stories.
thanks,
erick

Organic Groups: modify fields from a different module?

I'm writing a module to create a custom node type for use with organic groups (this type of node will be the team page). I want to replace the "Subscription requests" select list with a hidden value that makes it always "open - subscription requests are accepted immediately" so the user can't change this. Any idea how I can accomplish this from within my custom module without hacking into the Organic Groups module?

Events in 1970?!

Every time I try to add an event it is given a date of 1970 (beginning of UNIX era). I've tried turning off contrib modules and so on, but no change.

The strange thing is that I disabled the Events module and installed Countdown, but I get the same problem there. So, presumably this is a server problem of some kind? I've run any necessary updates, btw.

(Cron is working via poormanscron.)

Pages

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