Jump to:

3450 Posts in 1063 Topics by 738 members

Data Model Questions

SilverStripe Forums » Data Model Questions » Help with GridField Relationships

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 288 Views
  • Strandoo
    Community Member
    4 Posts

    Help with GridField Relationships Link to this post

    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): http://www.autoventure.com/shorex/. 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.

Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.