I have a collection where I want to assign a different item page to specific items. The collection automatically creates a new item page with a set layout but I want some items to have a different layout(different item page). Please help.
You are talking about → DYNAMIC-PAGES ???
To get a good answer, you will have to elaborate more details.
More INPUT = more OUTPUT!
Hi Velo-Ninja. Sorry for not providing enough details.
Yes, Dynamic pages. When I create a dynamic page collection, it auto generates a dynamic item page using the Title field(primary) in the datasheet collection. My main dynamic page will use a dynamic gallery page where the images will link to it’s dynamic item page.
I want to assign a different dynamic page from specific image links in the gallery. Since my gallery is dynamic as well I have no way of specifying which images I want to link to a different page. All links will point to the same dynamic item page with the same layout.
I hope that’s a little more clear.
Ok, thats more detailed, and where is the current code, one can take a look on?
To be more precise → when you generate an dynamic-page → you get even 2-pages. One of them has a REPEATER inside (overview), and the other one is your real-dynamic page (view per item), connected to your database trough a dynamic dataset.
And also inside your database you get some new DATAFIELDS inside, you will recognize them immediately, because they will be greyed out. In most cases you will get two of those dynamic DATAFIELDS.
If you are trying to solve your issue without CODE → i don’t think it will be posssible.
Yes that’s exactly it. Ok, I thought it might be possible inside the content manager somehow to assign to different greyed out data fields.
Where can I find the code? You mean the code for the page with the repeater?
If you ask me? → Everything should be done by code → if you want a totaly customization! Using DATASETS is → comfortable → YES!
But → you will reach your customization-boundaries very soon (as you can see)!
Designing and constructing your site → the CODING-WAY → you can do what-ever you want!
Just try to search for similar posts, which have been disskussed in the past, related to your own issue. I am almost sure you will find a lot of stuff, related to your own issue.