Hi guys,
what is the best way /module to use for a list of embassies? It will have a list of US embassies around the world, and the foreign embassies /consulates here. Location maps would be great along with normal stuff such as address and hours of operation and maybe an extra field or two. Any off the drupal-shelf module for this?

Thank you,

Comments

keith.smith’s picture

I would start with CCK at http://drupal.org/project/cck (maybe google for one of the many CCK tutorials like the screencast at http://blip.tv/file/528658)

Essentially, you'll be using CCK to create a new content type, similar to a Page or Story in an default Drupal installation. Your new content type may be called Embassy, for instance, and could have fields for Country, Location, Hours of Operation, Website, etc.

Eventually, after you get your content type sorted out and some sample data added, you'll want to look at the Views module at http://drupal.org/project/views, which will enable you to create custom lists displaying the new data you've added into the Embassy content type.

--keith

2222a’s picture

Thanks Keith,
so cck would pretty much let me design my own program /database from scratch?

notarealperson’s picture

Essentially, CCK allows you define your own custom content type with fields relevant to your content.

I would also recommend familiarizing yourself with the Views module to help organize that information once you have the content input. It will help you format and display the CCK content in a meaningful manner.

keith.smith’s picture

Yes, more or less. CCK and its related modules allows you to define a new content-type, which will appear when you go to the Create Content menu item. For each new content type, you can determine what fields should appear on the node add/edit page, and how those fields should be displayed (ie: a text field, a multi-line text field, a drop down list, etc.)

CCK allows you to customize your own data input, while views allows you to create and customize lists that pull that content back out and display it.

The combination of these two modules is used on many many sites to provide custom content capabilities, or to extend the default behavior. You will likely need additional modules if you want to map the locations, for instance, but these two will do most of the heavy lifting for you. There is some good information in the handbook about both views and cck.

--keith

2222a’s picture

Thanks guys. I spent literally 2 minutes on cck and it rules!!! Custom fields, sorted them and all.
Question: is there a way to make the embassy content show only on the embassy domain if I use multisite and same db? Is it possible?

Eventually I will have to deal with the maps but I assume that I can tell that module which fields have the address so will cross that bridge later.

2222a’s picture

I am back: Now I moved the domain, setup drupal and I am ready :-)

How do I let users submit pictures? Any idea? I figure that someone might have a picture or two and adds it.

Thanks again