Hi, I'm a newbie to Drupal and installed 6.3.

I have created a special content type and managed to create a view that displays a list of the available articles of this type. What I would like to do is create a form where users (maybe only authenticated users) can enter information following some setup (template?). The result is an article of this specific content type, that I'd like to review/moderate before the article is published.

Do I need to use CCK or Webform or a custom-built module? And how should I do that?

Thanks.

Comments

dnewkerk’s picture

Excellent, sounds like you're well on the right track so far.

Yes pretty much all you need is CCK. I wouldn't suggest Webform for this purpose, and no you shouldn't need a custom-built module unless you really want to write one. For moderation, have a look at the modr8 module. If modr8 does not suffice, then there are a number of "workflow" and "actions" modules you can look into that can be configured to provide a highly flexible publishing workflow/procedure (Drupal 6 has a basic version of these in core in the form of Triggers and Actions, though I don't believe it is quite flexible enough for what you'll need). I found one interesting idea in another post also (this is the Fasttoggle module he mentions).

So far as how to do that... well first make the CCK types, and configure up all the fields you need (I'm writing a lesson right now that covers that by the way in case you're interested: http://www.davidnewkerk.com/book/19). Then decide which Roles of users will be permitted to create/edit each given content type (see admin/user/permissions). Once allowed, those users will be able to access the Create content form for those content types. After submission, modr8 module or your choice of workflow module intercepts it and applies the necessary rules (e.g. does not publish it immediately, and notifies you of the new submission).

Hope this helps :)

-- David
absolutecross.com

hepabolu’s picture

Thanks David,

your lesson pretty much explained what I've tried. I just wasn't sure that was the best way. Your lesson showed me I was on the right track.

Maybe you can help out with the following: the type of articles are like classifieds. In my old site I had two things I need to figure out in Drupal:

1) I had some static text above the ads to explain the purpose and the 'rules'. How do I do that here? Do I need to create a page for the static text and how do I include the view then? Or is there another way?
Do feel free to include the answer to this question in your excellent lesson.

2) how can I include a link to the form for people to fill in? I'm working offline now but need to move the Drupal site to it's final location later, so I don't want to include full URLs (which is never a good idea anyway) in links.

Finally, I want the ads to be automatically unpublished x weeks/months after publication. I've fiddled with Scheduler and it covers most of what I want. But is there a way to automatically fill in the 'unpublish' date?

I've looked at the Classifieds module, but that is not available for Drupal 6.x.

Thanks.