Event Handlers Archive
Recently, I have found myself wanting to know what pages are referencing certain other pages, or sub pages for that matter, while surfing around in the EPiServer edit mode. Having worked with control adapters to extend built-in EPiServer functionality quite a lot lately, I decided to create a simple one that would make my life easier. Code at GitHub as usual. There is really nothing …
A client was using CurrentPage.Changed.ToShortDateString() for displaying a Last updated date in the inner footer of their pages. They often, however, forgot to select the Mark page as changed-checkbox on the Settings tab, and asked me if it was possible to have it selected by default. Here is a simple way to do it. Global.asax.cs In your Global.asax.cs file, add an event handler to the …
Tinkering around with a small EPiServer tool plugin that I am building (will be found in a later post), I decided that I wanted to try out the PageTree control; I have not been using it that much, and wanted to know what it could offer me. Nice, easy to use, and lots of work already done. Sweet. What it did not give me however, …
A customer asked me to see what I could do for their XForm order notification e-mails today. Apparently the department handling their incoming orders was receiving really long e-mails with loads of superfluous information; this as every field in the XForm was being submitted to them, and not just the ones containing data. This is the default behaviour of the XForm functionality, which of course …