Hello all,
I have created a new content type called "Meeting date and place" with two fields, the date and the city where the meeting will take place. After this, I would like to create a new event so this meeting is displayed in my web site event calendar...I do not know how to do it and I am not able of finding something useful in Internet.
Another thing I would like to do is to generate a term (in the taxonomy module) called "city: date" (from the previous fields) in such a way that when a user uploads a document can choose to which meeting it belongs (I think that I will have to create the database entrys manually, but I do not know where to write the php code so that it is executed when the content is created).
I hope I have been clear.
Thanks a lot for your help.
Comments
For the first part if you
For the first part if you used a date field for the date you already have your event you just need the calendar module and configure a view so it uses your date field.
you should read this post
this describes in detail how to use Date and Calendar with Views to display your events.
http://drupal.org/node/326061
Concerning your automation needs, where the user can choose to link an upload / post to an event, I'm not sure at this point.
Thanks for the link
I will take a look and keep you posted.
thanks!
------------------------------------------------------------
Rodrigo Pérez Rodríguez
Grupo de Bioingeniería y Telemedicina
Universidad Politécnica de Madrid
------------------------------------------------------------
I think this might work
If you are using D6 (I"m not sure about D5), you can edit your content type that includes your file upload and add a field that is a "node reference". Then you can configure this node reference to show the user a list of specific nodes, from specific types of contet, like pages, blogs, or in your case, your custom content type Meeting date and place.
So, when uploading their file, they would see a list of radio buttons next to all your Meetings, and they can click one to link the upload to the Meeting.
I have only discovered this myself and have not tested it or used it in any way, but this is the intent behind the "node reference" field type, I think. You don't even really need your taxonomy term, I don't think.
Good solution but...
Hi, thanks for your advice.
At the beginning I thought that I was the solution but when I try to show all the documents belonging to that node reference it is not possible. I have tried to do it with PHP code but in the database there are no references between those nodes.
I think the solution is to do it as you say and use views to show the content as I want. The problem now is that I do not know how to use views properly...is there any good manual on that?
thanks!!
------------------------------------------------------------
Rodrigo Pérez Rodríguez
Grupo de Bioingeniería y Telemedicina
Universidad Politécnica de Madrid
------------------------------------------------------------