HTML template for Custom Content Type I'm reasonably new to Drupal... I've known about it for quite a number of years and have played around with it in the past, but only in the past 4 months have I started to make a serious website with it. Possibly a bit harder to configure than say WordPress, but so much more worth it when it's finished!

One thing that I'm trying to do is work with custom content types. What I am trying to do is create a custom content type called "Talk." In this I want to be able to specify a small description, an embed video URL and a link to PDF notes. I am having a really hard time to try and work out how to do that, and be able to customise it in a way I want.

What I want ultimately to be able to do is specify a HTML template for a custom field. That HTML then specifies where the fields appear (which may become problematic when there can be an undetermined number of entries for a particular field, but there could always be some way.)

Basically, let's say I specified the following

Summary: This is my summary
Embed: http://player.vimeo.com/video/51254497?title=1&amp;amp;byline=1&amp;amp;portrait=1
Notes: http://link/to/notes.pdf


I then want to be able to take those values and put them somewhere in HTML. For example...

&lt;iframe src="" width="900" height="506" frameborder="0" webkitallowfullscreen="" mozallowfullscreen="[Embed]" allowfullscreen=""&gt;&lt;/iframe&gt;&lt;br&gt;
&lt;em&gt;[Summary]&lt;/em&gt;&lt;br&gt;
&lt;a href="[Notes]"&gt;Download corresponding notes&lt;/a&gt;


Is there any way that I can create a custom content type that would give me that much control over my field? I've had a look but haven't been able to find any way, even with a module (though there's a good chance I haven't seen the right module!)

Thanks for any help,
Josh.
Think your looking into this a bit too deep for what it is.

For your fields you use the following:


Summary: Default field with any content type 
Embed: http://drupal.org/project/youtube (not sure if theres something for
vimeo) 
Notes: Create a field that accepts PDf file extension


You then have loads of options for how you can present your content type. How about just creating a template file for that content type so...

node--type.tpl.php


You can then manipulate the output of the fields, for example...

&lt;div class="somewhere-over-there"&gt;
    print render($content['youtube_field']);
&lt;/div&gt;

&lt;div class="somewhere-down-there"&gt;
    print render($content['pdf_field']);
&lt;/div&gt;