Installing Umbraco is pretty simple but it’s always good to have a reference as general it isn’t something you do too often. This tutorial aims to step you through how to install Umbraco on your local computer so if there is anything I have missed please comment below.
What you need A Windows PC (mine is running Windows 10) Microsoft Visual Studio (I use the Community Edition because it’s free, you can find it here https://www.visualstudio.com/en-us/products/visual-studio-community-vs.aspx) Microsoft SQL Server with Tools (I use the 2014 version which can be found here https://www.microsoft.com/en-au/download/details.aspx?id=42299) Microsoft .NET 4.5 [...]Almost every web developer I know at some point or another has forgot to block search engines and had a test site rank in Google. Well here is a quick way to set it up once and it is configured correctly the Robots.txt file in Ruby on Rails for development, testing and production.
1. In a common controller such as Pages Controller or Home Controller create an action called robots with the following content: [crayon-62bdd443348f5257718879/] 2. Create your robots.txt files based on environment. Put each one of these in the config/ [...]
I’ve never had to use conditional logic in Umbraco forms before but as soon as I did, it didn’t work as it looks like there is a Umbraco 7 forms logic bug. It appeared that I’ve setup everything in the backend correctly but I was getting an error saying:
“jquery Unexpected end of input”
Sounds simple enough but took me a little bit of time to find.
In \Views\Partials\Forms\Scripts.cshtml on line 11 these is this line of code:
<input type=”hidden” id=”values_@Model.FormClientId” value=”@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(Model.Pages.SelectMany(p => p.Fieldsets).SelectMany(fs [...]