I got stuck in building an Umbraco 7 website. I made my masters template (header, footer and renderbody) and homepage (contains a custom menu that links to different product pages). I have some knowledge about controllers and models.
In the sql database i have a list of products, each one having properties like cost, description. How can i create this structure
- Master template
- Home Page
- product 1
- product 1 description
- product 1 cost
- product 1 shipping
- product 2
- product 2 description
- product 2 cost
- product 2 shipping
Each product will have a few child pages (description, cost, shipping), they all look the same (html structure wise), but the data must come form the sql server database. I tried creating folders in umbraco's back-end and putting views there, but i get error messages when trying to navigate to that path (directory url is set to true in web.config).
In the end i need an structure like:
- / (homepage)
- /product1/product1description (/product1/ will redirect to this page)
- /product1/product1cost
- /product2/product2description (/product2/ will redirect to this page)
I think views is custom folders are good for me, but i can't get that to work. any tips?