O'Reilly logo

Umbraco User's Guide by Paul Sterling, Nik Wahlberg

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

5

Using Macros

  • What are macros in Umbraco?
  • How do you build custom functionality into your Umbraco pages?
  • How do you use XSLT to output content from the content tree?
  • How do you extend the backoffice using .NET user controls?
  • What other supported DLR languages can you use?

So far in this book, you've created the underlying structure for a site. But in this chapter, you'll add meat to this structure using the core of Umbraco's flexibility and extensibility—macros. Umbraco can easily be extended using custom functionality from .NET User Controls and XSLT templates. This is especially crucial when you are converting an existing application to the Umbraco CMS or when you're creating output of content nodes outside of the standard templates you created in Chapter 4.

So, coming out of this chapter you'll be able to generate lists of content nodes, add your own custom fields for use in your document types, and parse content in a .NET User Control. Let the fun begin!

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required