Hi All.
Sorry for posting this, but I'm highly confused and I need some guidence.
What I'm trying to do is create a page that registered users can upload a photo, add a title and description, and categorize it (taxonomy???). I want the upload field to be visible, and only accept jpg or gif files.
My question is: do I create a content-type for my users to post with, or do I post a page or story with the php and html for what I'm trying to accomplish?
If I need to add a content type, how do I go about formatting it the way I want it?
I'd really like this to be a multi-page form with the upload fields on one page, title and description of each uploaded pic on another page, and all fields are required.
Oh, and I need users to pay in order to access this form.
Thanks for any direction! :)
Comments
Oops, I meant, CONTENT
Oops, I meant, CONTENT
Hi Chani, Many questions.
Hi Chani,
Many questions. :-) I'll try to answer a few of them.
Yes, it sounds reasonable to create a new content type for what you are trying to do. There are multiple ways of creating a new content type but the easiest way is probably using Content Construction Kit (CCK) where you find the various CCK fields you'd like to add and then put those fields together when creating your content type.
Just like you say you could also theoretically code a special page using your own PHP but that is almost like inventing the wheel again and bypass everything that's written for you in Drupal already.
The only problem with making your own CCK node type is that you will not be able to fill create the content type over multiple pages. There is a module called CCK Wizard that does this but it does not seem to be ready for production use. To create a wizard you could either fix that module or make your own. In the latter you will probably make your own content type module and not use CCK.
That's what theming is all about. You can tailor exactly how you'd like to have your new content type presented. Read more in the Theming Guides linked from the documentation page.
Answered above.
I have not worked with payment before but there are two different solutions for Drupal; Ubercart and E-commerce module. It's sometimes a sensitive matter to compare them on Drupal.org but from what I've heard Ubercart should be the easier of the two and also feature what you are looking for.
Good luck!
Jens
THANK YOU!
Thank you so much!
I suppose I need to read some more of the documentation for Drupal. I only discovered this last weekend. :)
Unless I can format different pages with different themes, I may need to write my own code. I know that seems backward, but, without revealing too much, it may be necessary for what I need to do with this site. It's an industry-specific advertising and support site, and will have two different types of "galleries" on it, which none of the existing modules even come close to what I need for them.
It's really too bad there aren't terribly many modules for D6 yet, especially some of the ecommerce ones.
Thanks again for your help. I really do appreciate it. :)
I don't suppose you know the easiest way to access taxonomy with custom code if I need to go that way, do you?
you can change theming by
you can change theming by node-- http://drupal.org/project/node_style might be of use but you can also do it manually (see Using different page templates...).
Also, drupal is as much a framework as it is a CMS-- some would say more so. If you're going to be doing much coding, I would get very familiar with http://api.drupal.org-- there's an amazing amount of functionality available to you via the drupal API.
===
"Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for a lifetime." -- Lao Tzu
"God helps those who help themselves." -- Benjamin Franklin
"Search is your best friend." -- Worldfallz
Cool!
I forgot about the theme per node module. I even downloaded it. Forgive me, I'm running on no sleep. ;) Search IS my friend. :D
Thank you for pointing me to the API reference. That's something I hadn't seen yet. :)
I'm still a hack, but I can find my way around PHP. :) Now javascript on the other hand... :/
Thanks!