warning: Creating default object from empty value in D:\Hosting\10991155\html\2012\modules\taxonomy\taxonomy.pages.inc on line 34.

Reference

Adding Css and JS using the ClientDependency

As of version 4.1, the ClientDependencyFramework has been added to Umbraco.

This ensures that only 1 copy of a file is included, even if you have an include in several templates. It is used in the backend to ensure a small footprint.

You can also use it in the front-end yourself. Here's an example how to use it:

<%@ Master Language="C#" MasterPageFile="~/umbraco/masterpages/default.master" AutoEventWireup="true" %>
<%@ Register Namespace="ClientDependency.Core.Controls" Assembly="ClientDependency.Core" TagPrefix="CD" %>

Advanced macro parameter syntax

Instead of just using hard-coded values, it is also possible to pass values from the current, the request collection and cookies to a macro.

This is done by using a special syntax, currently known so far as as "the bracket syntax" (better name will be introduced in Umbraco 5.0)

Macro Parameters

What are macro parameters?

Macro parameters are in short a value you send to a Macro from Umbraco. This could be piece of text, a node ID or even a big chunk of xml. To do this you have a handfull of different form controls you can use: