By alexG on
Hi !
As a beginner, I would like to know if what I say is right.
I have several videos that I would put on my Drupal website.
Each video would be on a page, always with the same information :
- video
- director
- musics used
- ...
How can I use Drupal to generate these pages ? Here is what I think, tell me if it's wrong :
- I create a new type of content, like "video"
- I inform the various fields, as "video url", "director", "musics used", etc.
And after that ? Do I have to use Views ?
A big thank you for your help !
Alex.
Comments
Once you have created your
Once you have created your content type, every new page you create of this content type will have the same basic structure.
You can also include some default text etc. in that content type by setting a default value under Manage Fields for that content type. If you do that, every time you create a new Video page for example it will be pre-populated with default values which you can then change. So you might put in the html embed code in the long text field, and simply change the target URL when creating a new piece of content of this content type.
If you simply want to copy one example page of any content, you can use Node Clone module. It adds a tab enabling you to clone any node, then tweak and rename the clone.
You do not Views. Its purpose is to gather fields or nodes or other entities according to certain rules which you define, and display them. For example if you want to assemble a page with thumbnails for all your videos, or all your videos of a certain type, and arrange them by date or title and so on, Views can do that. However, Views is complicated so I recommend getting the content types working as you want first, before looking at the various ways of assembling lists of pieces of conent, videos etc. which Views makes possible.
Digit Professionals specialising in Drupal, WordPress & CiviCRM support for publishers in non-profit and related sectors
Thank you very much, it's
Thank you very much, it's really helping.
I am going to do that immediately :)
Hi !I have tested these
Hi !
I have tested these methods, and it works fine. So thank you again !
However, I have still several questions (sorry) :
- if I want to add html titles (like h2, etc.) between the different fields, what can I use ?
- I have tried to add html content, but html tags aren't supported. Is there a configuration for it ?
Thank's !
You need to ensure the user
You need to ensure the user has permissions to use FullHtml and you need to select Full HTML. You confingure this in D7 at Configuration > Text Formats.
Some fields will accept html tags, text and long text fields will.
In addition fields can be styled in the theme, and other ways e.g. using Panels. However I have included h tags in text fields. You cannot put them in fields which only accept an integer, and some other types of field.
A lot of this is the kind of material covered in various training videos such as those by lynda.com, lullabot etc, and the various Drupal books which are available, as well as documentation on this site. It is a good idea to spend a few weeks with those resources, then come to the forums for problems which the training manuals etc do not help.
Digit Professionals specialising in Drupal, WordPress & CiviCRM support for publishers in non-profit and related sectors