I'm familiar with creating views for a content-type and creating blocks or pages and displaying them on whatever page.
How do i create a view for the content type page item itself (is this called a node?). For example i have a content type called 'events'. How do i create a view for all the actual events pages eg. domainname/events/my-first-event. i want to layout all my event items into to two rows for example.

check out: http://testing.odvod.ca/bioalberta/events/my-big-event

thanks...

Comments

jainrutgers’s picture

If I understand your requirement correctly (that you want to display every event node on single page.) then do following...

---create a new view

---in filter select content type to be event

---In row style select Node

---add page display for view and give it path name

---go to that path and boom all your events are at one place as full node.

Chetan

dravidian7’s picture

no, actually i want to change the layout of each individual page created for that content type. For example, if i had a content type called 'news_article' then each individual article page would have a certain layout. Like if i wanted the image fieldtype to float next to the title. I know i can use css but there are some limitations. I'd like to have full control of the html of the page.

thanks,

Jeff Burnz’s picture

You'll do this via a blend of Views and theming the node template, read the Drupal theme guide for starters.

ckng’s picture

You might want to go through Drupal 6 theme guide

Briefly,
1. if it is just node content type, you can do change its layout through node-CONTENTTYPE.tpl.php
2. If you want to modify the $content of a node content type, try contemplate
3. If it is generated from a views, under views there is "Theme: Information" under Basic Settings.

My guess what you need is 3.

--
CK Ng | forDrupal Premium Themes
- we make drupal beautiful