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 [...]
We do a lot of work with companies that need repeatable fields in their website for things like ingredients,Â instructions and just lists. Umbraco doesn’t have a nice way to do this out of the box but it can be done easily with a custom text repeater data type. We leverage theÂ TableEditorÂ from Imulus hereÂ https://github.com/imulus/TableEditor and the restrict things to be a one line repeater.
Firstly clone the TableEditor repo and add it to your Solution. Be sure to set the output of the TableEditor project so the dll ends up in your bin directory of your website. To do this right click on your new TableEditor Project and then click Properties. Then set the output path to [...]
I’ve worked on a number of different eCommerce websites over the past 12 years from small startups to nationalÂ brands which are household names. There are differences between the two into what you should track but the basics are the same and should always be practiced. If you make a tweak on a eCommerce site targeting say 18-24 year olds primarily on your home page instead ofÂ just everybody you may be able to make a 1-3% increase in sales. If you are Nike, that’s probably a fair bit and you’ve probably got everything else nailed so it’s a good choice. If you are Jill’s T-Shirt store, maybe you should look at focusing marketing on a specific channel which [...]
As I workÂ directly with businesses and site owners on a regular basis I always get asked the question “Google Analytics has so much data, what should I look at?”.
This is a great question because more often than not people focus on too much, too little, the wrong things or nothing and blame the website for notÂ achieving the goal they set out to do.
So, let’s talk about blog, news and informational sites. This covers everything from a small blog about cafe reviewsÂ in your neighborhood to worldwide news sites, the same principals apply. The goal of a blog/news site is to DRIVE ORGANIC TRAFFIC.Â I’m sorry about the bold and italics but I really want [...]