Creative Web Specialist - An online portfolio and resource site of Warren Buckley

Latest Posts

Jun23th

Masterpages in Umbraco V4

Author
Warren Buckley

Hello all I am currently looking into making my Creative Website Wizard package ready for V4 of Umbraco and with this I will move away from the OLD templating system to the NEW ASP.NET MasterPages support. With this I thought I would share with you all the new Syntax for the Umbraco functionality.

Page Fields

Before
<?UMBRACO_GETITEM field="pageName"/>

After
<umbraco:Item field="pageName" runat="server"/>

Macros

Before
<?UMBRACO_MACRO macroAlias="XSLTNavi" ></?UMBRACO_MACRO>

After
<umbraco:Macro macroAlias="XSLTNavi" Alias="XSLTNavi" runat="server"/>

Child Template

Before
<?UMBRACO_TEMPLATE_LOAD_CHILD/>

After
<asp:ContentPlaceHolder ID="MasterTemplateContentPlaceHolder" runat="server"></asp:ContentPlaceHolder>

More information

For more information on ASP.NET Master Pages I recommend this site:
http://www.asp.net/Learn/master-pages/

27 comments
23rd June, 2008
Very nice reference Warren!
23rd June, 2008
@Morten thanks for the comment.

I will be using this post for my own reference as I am bound to forget the syntax in the beginning.
24th June, 2008
Thanx Warren, it really helped me getting started with the templates. Works good as reference for me too ;-)
16th July, 2008
Warren,

I was directed here haviong just installed Umbraco manually and not having a sample site to learn Umbraco off. I believe you can help me with your Creative Website Wizard?

Regards,
Richard
17th July, 2008
Hello Richard,
Yes the best place is to download my website wizard package from the repoistory inside umbraco.

If you are using v3 this can be found by going to the Developer section and Right Clicking Macros and Selecting Import Package.

A new window will appear and select the option Browse Repository.

Find my package and follow the steps, if you have any further questions feel free to ask.

Warren
29th July, 2008
Arethe new master pages all going to render the ASPNET Form tag? That and the __VIEWSTATE tag are the most annoying things about ASP.NET and why Umbraco v3 is so good.
30th July, 2008
@dillorscroft I am no expert on this, but whatever Native ASP.NET masterpages do it will do in Umbraco.

If you have any more specific questions I recommend the forum.

Warren
08th September, 2008
Hi Warren,


Can you please explain how to work with Multiple ContentHolders?
Thanks & Regards,
Ammu
3rd November, 2008
Hey Warren, I really like your site. Very useful.

Do you know how easy the upgrade (3-4) process will be? Presumably it'll mean updating the templates by adding the new macro formats in place of the old ones?

Also, I'm going to have a go at getting your RSSFeed working in Umbraco 3 this PM. Any tips?
(I've tried the one Niel's RSSFeed (might be the same one) but it publishes node numbers rather than the name as the URL).

Cheers
George
3rd November, 2008
@George. Thanks I'm glad you like the site.

In regards to V3 to V4 upgrade its really smooth. When you upgrade they change it to the new format and markup for you. But as always you should check with a local DEV version before doing on a production site.

The RSS feed I use is an XSLT version that serves up the XML/RSS format - where as Niels is a package that produces a physical file everytime a new node is published I think.

It's upto you which method you prefer, but I feel the XSLT way is that you have soo much more control over the output.

Warren :)
04th October, 2009
Hello!

I'd like to introduce you

http://thesaltydroidnow.wordpress.com


cheers!
06th October, 2009
PARIS (AFP) – Norway takes the company inseparable make out in the annual United Nations charitable enlargement sign released Monday but China has made the biggest [url=http://www.zenrakeback.com]rakeback[/url] strides in improving the well-being of its citizens.
11th October, 2009
This backward stepping breakdown process is extremely important and continues until the designer comes to a set of very basic skills. ,
13th October, 2009
Currently, only KSK is supported, which indicates that the Zone Key bit and the Secure Entry Point bit are turned on. ,
22nd October, 2009
Care and compas- sion have to be number one. ,
23rd October, 2009
But maybe some folks have their reasons for making another rule. ,
27th November, 2009
[url=http://fcds-moodle.fcds.org/slim-fast-diet.php]buy slim fast [/url] slimfast diet [url=http://fcds-moodle.fcds.org/slim-fast-plan.php]help to lose weight [/url] grapefruit diet [url=http://fcds-moodle.fcds.org/slim-fast-coupons.php]slim fast meals [/url] slim fast food
16th December, 2009
[url=http://moodle.usd116.org/acai-burn-cost.php]acai berry berry benefit[/url] total cleanse and acai berry berry ripoff = [url=http://adsl.eb23-iammarestombar.edu.pt/moodle/acai-burn-work.php]acai berry berry diet warnings[/url] stores to find acai berry berry tablets = [url=http://ukvm.lt/virtualiaplinka/acai-supplements.php]acai berry berry ontario canada[/url] the acai burn = [url=http://vle.gloscol.ac.uk/acai-berry-dangers.php]free berry berry top 10[/url] fruitrients acai berry berry = [url=http://moodle.mckendree.edu/acai-superfood.php]acai berry berry 1 super food[/url] lyme disease and acai berry berry
16th December, 2009
[url=http://matrix.il.pw.edu.pl/~moodle/acai-burn-juice.php]manufacture acai berry[/url] acai berry burn where to buy in stores in canada = [url=http://moodle.spsbr.edu.sk/acai-berries.php]acai berry berry health issues[/url] reviews on acai berry berry power 500 = [url=http://moodle.mcs-bochum.de/order-acai-burn.php]orac ratings chart acai berry berry[/url] free berry berry at caesars palace stores = [url=http://catc.nctu.edu.tw/moodle/acai-diet.php]epassporte burn system[/url] acai berry berry meltaway tablets = [url=http://lidie3.uniandes.edu.co/moodle/acai-burn-where-to-buy.php]acai berry berry burn ingred[/url] acai berry berry perfect food
31st December, 2009
Sweet article, gonna subscribe.
12th January, 2010
I've been in vex last everything, but [url=http://teakrestoration.blogspot.com]Teak Refinishing[/url] helped me rather well!
2nd February, 2010
[url=http://www.gvboces.org/moodle/b/what-is-abilify-and-why-do-i-need-it.php]abilify pay with paypal[/url] abilify order online = [url=http://www.grunyi.net/gemtrex/moodle/b/abilify-patient-prescription-program.php]generic abilify cheap[/url] online doctors = [url=http://www.ehairprograms.com/moodle/b/stomach-problems-with-generic-abilify.php]buy cheap capsules online[/url] abilify cheap no prescription = [url=http://tcc.torpoint.cornwall.sch.uk/moodle/b/abilify-and-adderall-xr-for-adult-add.php]100mg online ordering[/url] purchasing abilify in the united kingdom = [url=http://moodle.iesemt.net/b/abilify-get-along-just-fine-ringtones.php]cheap abilify saturday delivery[/url] kup abilify
2nd February, 2010
[url=http://fcds-moodle.fcds.org/b/withdrawl-symptoms-from-generic-abilify.php]abilify cod[/url] abilify xr buy online cheap = [url=http://facultyweb.wcjc.edu:8080/moodle/b/generic-abilify-doctor-reddys-labs-2012.php]no prescription needed abilify websites[/url] cheap abilify for sale = [url=http://www.schoolbuddy.com/moodle/b/withdrawal-symptoms-from-generic-abilify.php]discount abilify generic[/url] buy discount abilify = [url=http://www.helloradice.net/moodle/b/abilify-anorexia-anxiety-11-year-old-boy.php]abilify discount without prescription[/url] 20 mg capsule = [url=http://www.aedc.qb.uson.mx/moodle/b/my-teen-has-been-taking-abilify-to-get-high.php]cod delivery abilify[/url] cheap no prescription abilify
2nd February, 2010
[url=http://sites.tisd.org/moodle/b/me-and-abilify-get-along-just-fine-ringtones.php]abilify natural[/url] online abilify = [url=http://seaside.brighton-hove.gov.uk/b/abilify-weight-gain-counteracted-by-adderall.php]can someone on amiloride take abilify[/url] cheap abilify overnight delivery = [url=http://moodle.ump.edu.my/b/where-can-i-get-abilify-50-mg-for-cheap-price.php]online order abilify[/url] abilify online cash on delivery = [url=http://moodle.trinityhigh.com/b/recommended-dosage-of-abilify-approved-by-fda.php]abilify flomax[/url] cheapest price for abilify = [url=http://moodle.nixonclassroom.com/b/can-i-take-a-combination-of-zyprexa-and-abilify.php]fda abilify reactions[/url] avarage age men taking abilify
2nd February, 2010
[url=http://moodle.fpks.org:8081/b/how-soon-after-taking-abilify-might-i-become-drowsy.php]buy cheap uk 100mg[/url] what is abilify and generic abilify = [url=http://moodle.clministry.com/b/mirtazapine-45-mg-does-it-work-good-with-abilify-10mg.php]order abilify online no rx prescription[/url] abilify cod saturday delivery = [url=http://fup.edu.co/moodle/b/how-long-does-it-take-to-get-abilify-out-of-your-system.php]abilify commercial[/url] recreational use of abilify = [url=http://www.schoolbuddy.com/moodle/b/how-long-does-it-take-for-abilify-to-get-out-of-your-system.php]tabs caps drug interactions[/url] what are the ingredients in abilify = [url=http://www.crondallmoodle.com/b/does-mirtazapine-45-mg-and-10mg-abilify-work-good-when-combine.php]abilify soft[/url] buy cheap abilify
21st February, 2010
Great site.
23rd February, 2010
computer reduced shelf scenarios partially long last ice
Post a comment »

Comment's have been disabled, due to getting hit badly with comment form spam

My Skill Set

This is a quick list of my skill set to date

  • XHTML
  • CSS
  • Photoshop (Slicing)
  • XSLT
  • ASP.NET
  • Umbraco .NET CMS

My del.icio.us

My Last.FM

I am listening to:

  • Ain't Pretending by CowbellOh Girl29 Jul 2010, 10:37
  • Just Want Your Love by CowbellOh Girl29 Jul 2010, 10:33
  • Oh Girl by CowbellOh Girl29 Jul 2010, 10:31
Warren Buckley is an umbraco MVP 2008/2009 Warren Buckley is an umbraco level 1 certified developer

Photo of Warren Buckley Warren Buckley is a Creative Web Specialist based in Leigh on Sea, Essex , UK.