Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Data Model Questions /

Help with GridField Relationships


Reply


337 Views

Avatar
Strandoo

Community Member, 4 Posts

25 February 2013 at 12:45am

I'm new to SS (and this forum) and I'm trying to move an existing site into SS 3. Everything is going well, but I've got one section with more complex data that I'm sure could be done with a GridField but can't get my head around how to structure it. It's basically a listing of chauffeured Tours, sorted by City (and Cities grouped by Country). That's simple enough, but there are two types of Tour, Sightseeing and Transfers which I'd like to be displayed under each City heading in separate tables. Each Tour has up to 4 prices, and the Table Heading for those prices varies depending on the city.

This is what I'm trying to duplicate (the existing site): [url]http://www.autoventure.com/shorex/[/url]. Use either select menu or the map to view a city/country.

If anyone has suggestions on how to structure the relationships to get the separate tour tables, I should be able to take it from there. Thanks.