Code section

The code section is suitable for sharing sample code and smaller projects.

How to start sharing your code

  • ContentArea item restrictions

    <p>I still use a validation attribute to restrict the content allowed in a contentArea.</p> <p>Its not as clever as the AvailableTypesAttribute, which actually prevent invalid blocks from being dragged into the contentarea.</p> <p></p> <p>But it...


    Posted by: DMurphy
    Posted: Dec 18 2014
    Downloads 0
    Comments (0)
    Rating:
  • ContentArea item limiting

    <p>There is probably a way to achieve this similar to the AvailableTypeAttribute... but the way I use to limit the number of items allowed in a content area is as follows:</p> <p>* ContentAreaItemsMaxAttribute</p> <pre class="brush:csharp;auto-lin...


    Posted by: DMurphy
    Posted: Dec 18 2014
    Downloads 0
    Comments (0)
    Rating:
  • Render LinkItem with additional html attributes

    <p>When rendering a LinkItem currently there is only 1 overload of HtmlHelper.ContentLink which takes a LinkItem but it doesn't allow you to specify any other html attributes like many other Html helper methods.</p> <p></p> <p>Instead of having to...


    Posted by: DMurphy
    Posted: Dec 04 2014
    Downloads 0
    Comments (0)
    Rating:
  • EPiServer Tab for Glimpse

    <p>We can add our custom Tab for Glimpse, to&nbsp;get the details of EPiServer Pages</p>


    Posted by: K Khan
    Posted: Oct 15 2014
    Downloads 23
    Comments (0)
    Rating:
  • Cloudinary Implementation in Blob

    Cloudinary(http://cloudinary.com/) is an end-to-end image management solution for Web and mobile applications and is a great solution for the clients with image processing needs. I like its features like Fast CDN delivery for better user experienc...


    Posted by: K Khan
    Posted: Sep 09 2014
    Downloads 20
    Comments (0)
    Rating:
  • Rendertemplate for imageresizer presets

    If you are using imageresizer with EPiServer you might want to use presets, at least I do. Here's a render template to make things easier to use them. public class ImageRenderer { [TemplateDescriptor(TagString = "Scaled")] public class...


    Posted by: Jeroen Stemerdink
    Posted: Jul 18 2014
    Downloads 1
    Comments (0)
    Rating:
  • Remove logging of 404-request from EPiServers logfiles

    When a user request a file or url that does not exist in a EPiServer-site they will get a 404 response back and that is fine. The problem is that EPiServer also report this as a Error to Log4Net with the error “1.2.5 Unhandled exception in ASP.NET...


    Posted by: Henrik Fransas
    Posted: Mar 25 2014
    Downloads 3
    Comments (1)
    Rating:
  • Itera.Core.Web

    Controllers that use tags as folders


    Posted by: Anders Hattestad
    Posted: Mar 18 2014
    Downloads 10
    Comments (1)
    Rating:
  • Presentation Addon

    A simple addon for creating powerpoint-like presentation in EPiServer built using MVC 4. Can easily be added to EPiServer 7 sites.  Files include nuget package that can be installed as an addon, full source and a demo presentation that include mor...


    Posted by: Daniel Ovaska
    Posted: Jan 08 2014
    Downloads 1
    Comments (0)
    Rating:
  • ImageResizing.Net integration for CMS7.5

    EPiServer CMS 7.5 introduces the Asset Manager and removes the previous VPP-based techniques for image management and storage. This is a great feature, but has broken what was a really simple integration with the great ImageResizing.Net product fr...


    Posted by: Martin Pickering
    Posted: Dec 07 2013
    Downloads 66
    Comments (24)
    Rating: