Hello, and thanks in advance for your time,

I am starting to build a simple backoffice directory for my company, and I decided that drupal might be a viable solution. I was wondering if anyone had ideas on how to tackle such a project.

Here are the requirements

-employees log in to view contact information for vendors and distributers. Basically a directory.
-On the main menu it would say, vendors---distributor---equipment. Each one of these menu items will link to a page with a list of contacts. If you click on a contact, it takes you to an additional page with specifics on the account.
-We would also like to be able to attach text documents to these sub-pages.

This obvously sounds pretty simple, but I am a noob at drupal, so I was wondering if anyone could give me some direction.

Particularly:

-what items would be a content type?
-how do I get the main menu items to link to the pages
-whats the best way to create these new pages
-how do I get attachments to stick to only one page

I'm not completely unfirmilier with drupal, I've monkey'd around with it ... just looking for some insight before I dive in.

Comments

WorldFallz’s picture

Are all contacts going to be either a vendor or a distributor? If so, I would start by creating content types for 'contact' and 'equipment'. Add whatever fields you want to each of those content types for holding the information you wish to know them (phone address, part #, etc). You can even use nodereference fields to relate them to each other. I would then create a taxonomy vocabulary for "contact type" that would have 2 terms (vendor, distributor).

To list pages in menus you can simply assign them to a menu when you create the page or use something like taxonomy_menu. To manage the menu structure itself visit the admin/build/menu page.

To attach documents to pages simply enable the core uploads module and enable attachments on the content types you wish to have attachments.

You could use the views module to create various listings of these items just about any way you want.

===
"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." - Ben Franklin
"Search is your best friend." - Worldfallz

rastabloke’s picture

Thank you for the input,

I am stuck. I have created the content type and made the categories terms in taxonomy. How do I get the content type to go under one category or another. Should using books have anything to do with this?

Thanks again for the input

mradcliffe’s picture

When setting up the vocabulary there should be checkboxes for each content type you want this taxonomy to apply to.

When creating content of the checked type you will see a new formset for that vocabulary.

rastabloke’s picture

you guys are great!!

That worked, and now when I create content, I can choose out of the two terms.

One last issue: when I go to create the content, the fields that I created as part of the content type do not show up. It only says "title" and "body".

Thank you