To create an Umbraco template you should create standard ASP .NET masterpage. Than in codebehind change base class of your masterpage from MasterPage to Vega.USiteBuilder.TemplateBase<T> where T is your document type that template is rendering.
To add existing macro to that template, you should just add macro directly in .aspx code of your master page as following:
How to add macro to master page(template)?
I am trying to create master page(Template) thru Visual Studio 2010 using uSiteBuilder template. How can I add existing macro to it?
Add a macro like this:
To create an Umbraco template you should create standard ASP .NET masterpage. Than in codebehind change base class of your masterpage from MasterPage to Vega.USiteBuilder.TemplateBase<T> where T is your document type that template is rendering.
To add existing macro to that template, you should just add macro directly in .aspx code of your master page as following:
where 'MyMarcoAlias' is your macro alias.
Ok so similar code as generated by Unbraco backend with additional ID parameter.
Cool... will try this.
is working on a reply...