Please Note: Proofreading Not Done Yet
Total Page:16
File Type:pdf, Size:1020Kb
Please Note: Proofreading not done yet Table of Contents Objectives: ............................................................................................................. - 1 - Inspiration: .............................................................................................................. - 2 - Introduction ............................................................................................................ - 3 - Scope ..................................................................................................................... - 5 - Online Vcard Generator website as a CASE .......................................................... - 6 - What I excluded from. ............................................................................................ - 7 - How I Structured Book. .......................................................................................... - 9 - Introduction Umbraco CMS .................................................................................. - 12 - How Umbraco Works? ......................................................................................... - 13 - Node Id: ............................................................................................................ - 13 - Alias: ................................................................................................................. - 13 - Basic Requirements: ............................................................................................ - 14 - Installation of Umbraco CMS ................................................................................ - 17 - Database........................................................................................................... - 17 - Directory............................................................................................................ - 19 - Turn On IIS Service .......................................................................................... - 20 - IIS Set Up.......................................................................................................... - 21 - TESTING IIS ..................................................................................................... - 23 - Downloading Umbraco files: ............................................................................. - 25 - What to Download? ........................................................................................... - 25 - Unzip ZIP format ............................................................................................... - 27 - Install Umbraco step by step guide ................................................................... - 29 - Back End Working Environment ........................................................................... - 33 - Document Type: ................................................................................................... - 37 - Document Type for Developers: ........................................................................... - 37 - Visual Diagram for Document Type: ................................................................. - 38 - Document Type Generic Properties: ................................................................. - 39 - Document Type “Tabs ...................................................................................... - 42 - Document Type Structure: ................................................................................ - 44 - Document Type API: ......................................................................................... - 46 - Content: ................................................................................................................ - 49 - Creating Content: .............................................................................................. - 50 - Relations between Document Type and Content .............................................. - 52 - Explore content Properties: ............................................................................... - 53 - Content API: ...................................................................................................... - 55 - Templates: ........................................................................................................... - 57 - Template working Environment ......................................................................... - 58 - “Web Site Global Settings” Templates: ............................................................. - 62 - Template API: ................................................................................................... - 63 - XSLT: ................................................................................................................... - 65 - Xslt working environments: ............................................................................... - 66 - .NET Class Registration .................................................................................... - 67 - Xml File umbraco.config ................................................................................... - 68 - Relationship between Document Type and Umbraco.config Xml ..................... - 70 - Fetching data: ................................................................................................... - 71 - Xslt for Navigation: ......................................................................................... - 72 - New Xslt file for News List items. ................................................................... - 73 - Macro: .................................................................................................................. - 75 - Macro working Environments: ........................................................................... - 75 - Using Macro into templates:.............................................................................. - 77 - Instruction to Insert Macro in Content Area: ...................................................... - 78 - Macro API (Application Programming Interface) ............................................... - 80 - Extending Umbraco CMS ..................................................................................... - 82 - User Control: ..................................................................................................... - 82 - Before start coding: ........................................................................................... - 83 - Let‟s Begin to code: .......................................................................................... - 86 - CustomValidator for Name: ............................................................................... - 93 - Email Validation: ............................................................................................... - 94 - Phone Validation: .............................................................................................. - 94 - Step 1: Hold or Store Submitted Data ............................................................... - 96 - Step 2: Validate Data ........................................................................................ - 96 - Step 3- Image Upload and Save to Server: ...................................................... - 97 - Step 4: Generate Vcard: ................................................................................... - 98 - Step 5: Send attach Email with Vcard ............................................................... - 99 - What if server or SMTP fails to send email? ................................................... - 100 - Step 6: Store data to Database for later use ................................................... - 101 - Implement User Control: ................................................................................. - 104 - Create Macro to use User Control. ................................................................. - 106 - Extending Xslt Using .NET Class ....................................................................... - 108 - Registering .NET Class on config file .............................................................. - 111 - Modify Macro: ................................................................................................. - 114 - Page not Found Error: ........................................................................................ - 117 - Create Custom 404 error page. ...................................................................... - 117 - Modifying umbracoSettings.config file: ............................................................ - 118 - Conclusion: ........................................................................................................ - 120 - References: ........................................................................................................ - 121 - Extra files: .......................................................................................................... - 122 - Web grid.......................................................................................................... - 122 - File “VcardControl.ascx”.................................................................................. - 123 - Objectives: In “how to umbraco” book contains basic information about Umbraco site, using this book new developer will be able to develop Web site using Umbraco from scratch. Most of case I tried to explain using examples rather than theory. “how to Umbraco” will show the way to new developer so that new developer will be able to start building complex website