The index page works fine, but the details macro never gets called with a parameter. Apparently Umbraco isn't smart enough to route parameters to macros inside pages.
So my questions are:
Is this the correct way to build database based content into the umbraco frontend?
If not, then what is the preferred way in Umbraco 5?
Does any sample code exist for this scenario?
If you need more information please don't hesitate to ask.
Create database driven pages in Umbraco 5
I am trying to use a database to deliver content to an umbraco site. In this example there is a db table containing Live-events.
What I would like to build is this structure:
As you can see the structure is a classic MVC way of doing this.
The first solution I came up with involved doing the following:
Here you can see the function definitions:
The index page works fine, but the details macro never gets called with a parameter. Apparently Umbraco isn't smart enough to route parameters to macros inside pages.
So my questions are:
If you need more information please don't hesitate to ask.
Thanks in advance
Michael Wulff
is working on a reply...