Hello guys,
I've discovered Drupal a couple of months ago and from now on I'm developing ONLY in Drupal.

I have a problem that is going me crazy.

I'm converting my company's static website to Drupal.

The website is www [dot] bandbw [dot] co [dot] uk .

I'm stucked at the properties point:

we have a page, called /properties with a list of our properties. Each title must link to the page of the property itself (i.e. /properties/france).

Every property is composed by pieces of contents that can be different for each property, plus a header.

I have created a Content Type named "Property" with the following field:
Name (1, req) - Place (1, req) - Flag (1, req) - Thumb pic (1, req) - Main bullet points (4, req) - Intro text (1, req)

Then I have create another Content Type called "Property piece" with the following field:
Title (1, req) - 1st paragraph (1, req) - Picture (unl, opt) - 2nd paragraph (1, opt) - the Entity Reference for the Name of the Property and so on.

I have created the first view: a list of field of the content type "Property" to be shown in /properties . So far so good :D

I want the title (so the Name of Property), to link to the property itself page (so /properties/title-of-property).

This page (/properties/title-of-property), contains a list of "Property Pieces". 2 items each paged with a pager. How do I use this view to be used in each property?
What do I have to write in the Page settings? Something like Path: /properties/% , /properties/[title] ?

I hope you understand the problem, even if it's not easy and I hope you can help me.

Thanks

Chris

Comments

Anonymous’s picture

How are you relating the Property Pieces to the Property? If you use the Entity Relationship module http://drupal.org/project/er the link will be created for you automatically, and all of the related Property Pieces will display at the bottom of the Property page. Then you have two choices. You can use a jQuery slider to display the Property Pieces one at a time, or you can turn off the Entity Relationship default display and set up a view that uses the NID of the the Property to fetch all the related Property Pieces. Let me know if you need more detail.

Chris-babw’s picture

I have solved in some way, but I need to create a different view for every page. The contents are so different and custom. Unless you have a better idea...