Thanks for the help, I’m getting closer here now.
This template has 5 different slides.
I want a category in the TV's:
- Slides
In the slides category, there is no default selection and it’s not forced. Here you can choose what kind of slide-layout you want to use.
It is also only available to the “Frontpage” template.
And when a slider is selected, MODx places some code in the theme.
This may be easy for you guys who understands TV. I don’t know how to do this. I have read this guide:
http://wiki.modxcms.com/index.php/Create_TV-Based_Chunks , but I can’t get the dropdown to work. Only the checkmark to list _all_ chunks in the chunk-category.
But here is the tricky part. The sliders are defined with document under a _resources container (the _resource container is under the page using it, so it can’t rely on document ID), and in the html source, they have some CSS and Javascript in the header, as well as the template itself under the body part of the site.
How can this be solved in a way that it’s manageable by the End-user?
Please look at the attached image of the tree-layout.
This is what I know how to do:
- Create a basic TV only available to certain templates
- Create a static slider-template using getResouces and with a chunk-template who list up all slides under a certain document ID.
[ed. note: tropicaljuice last edited this post 15 years, 1 month ago.]