Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I have about 10 items of document type 'highlights'. Each document type has certain fields
Title, Intro text, Body Text, Image
What I need to do is get all 'highlights' and output them as html. The highlights will have their own page,
http;//myurl.com/highlights/highlight1
http;//myurl.com/highlights/highlight2
http;//myurl.com/highlights/highlight3
etc, etc.
however, if the user has a javascript enabled browser I am going to turn the data into a slider.
Please state the version of your Umbraco instance.
4.7
Where are the highlights stored? It would be best to store them under a parent document which displays the actual slider
Parent
-- Highlight 1
-- Hightlight 2
-- Highlight 3
Then you can do this in a razor macro placed on the parent page:
@foreach (var highlight in Model.Children) { <li>@highlight.Title</li> }
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
creating a slider from document type
I have about 10 items of document type 'highlights'. Each document type has certain fields
Title, Intro text, Body Text, Image
What I need to do is get all 'highlights' and output them as html. The highlights will have their own page,
http;//myurl.com/highlights/highlight1
http;//myurl.com/highlights/highlight2
http;//myurl.com/highlights/highlight3
etc, etc.
however, if the user has a javascript enabled browser I am going to turn the data into a slider.
Please state the version of your Umbraco instance.
4.7
Where are the highlights stored? It would be best to store them under a parent document which displays the actual slider
Parent
-- Highlight 1
-- Hightlight 2
-- Highlight 3
Then you can do this in a razor macro placed on the parent page:
is working on a reply...