Posts

Showing posts with the label umbraco

Getting Started with Umbraco: Part 4

Image
In this part, we'll start off by adding another XSLT file (for the news item pages), and then move on to look at how we can integrate standard .Net User Controls to Umbraco. Also available in this series: Getting Started with Umbraco: Part 1 Getting Started with Umbraco: Part 2 Getting Started with Umbraco: Part 3 Getting Started with Umbraco: Part 4 Adding the newsList Macro Create a new XSLT file (and macro) in the back-end and call it newsList . In this XSLT file we'll be using a non-standard entity, which is the HTML entity &\mdash; . In order to use this entity we need to define it in the entity list in the XSLT doctype declaration at the top of the file. To add the mdash entity add the following code within the square brackets directly after the defined non-breaking space entity: < ! ENTITY mdash " &#x2014; " > We'll save a variable so that we can easily access the newsList node in order to get its child nodes. Directly after the currentPage p