Blog entries tagged with Hacks

Codemania: Run EPiServer CMS in the Console

by: Allan Thræn

Back in the happy and fun filled days of EPiServer Day 2009, I was so privileged that I got to give a 1-hour talk entitled “ Codemania ” together with Mr. EPiServer himself, chief architect Magnus Stråle . At that day, most of my efforts to impres... [ Read full article ]

03 August 2009  6 Comments


Jumping on the page type bandwagon

by: Cristian Libardo

With the sun shining and the thermometer approaching body temperature I thought it was god time to have some fun. Quick from thought to action I fired up my trusty black warrior to explore another white spot on the map. My objective for the day wa... [ Read full article ]

17 July 2009  4 Comments


PageType Inheritance

by: Fredrik Tjärnberg

I have  been spending some late nights on a tool for providing inheritance like relations between PageTypes. PageType inheritance is one of the most frequent requests from the EPiServer developer community that’s been around… well basically...... [ Read full article ]

10 March 2009  13 Comments


Adding a Property to ALL Pagetypes

by: Allan Thræn

I just got a question on how to make sure that a given property existed (or was created) on all page types that the editor could use – even if new page types were to be created. As I’ve been unable to find any event that is fired when a new PageTy... [ Read full article ]

20 January 2009  3 Comments


Please dev's, you are making a framework. Don't use private/internal

by: Anders Hattestad

I admit it. I'm addicted to Reflector. I browse around a lot inside the EPiServer dll's. If you have there is a lot of cool and useful code inside the EPiServer dll's. Many places there are hidden pearls where a developer can extend the existing... [ Read full article ]

23 November 2008  15 Comments


Silently migrating users from EPiServer 4.x to CMS 5

by: Johan Olofsson

This is an effort to work around the problem with migrating EPiServer 4.x users to the new Membership/Role-provider architecture used by EPiServer CMS5 without having to reset all the users passwords. (Passwords are stored as a calculated hashed... [ Read full article ]

06 October 2008  3 Comments


StickyTabs for EPiServerCMS5

by: Johan Olofsson

Or: “an exercise in hacking EPiServers Edit mode!”   I’ve always found it a little awkward having to do repetitive tasks spanning more than one page in EPiServer’s Edit mode as the selected tab is reset to the default “View” tab when I click on a... [ Read full article ]

23 September 2008  4 Comments


Providing simple "metadata" for Properties

by: Johan Olofsson

Have you ever found the need for being able to specify metadata for EPiServer Property's? For example as in my current situation, developing code that interacts with Microsoft Dynamics CRM, being able to specify what "entity" (Contact, Account,... [ Read full article ]

12 September 2008  1 Comments


Friendly URL with no rebasing

by: Johan Olofsson

I got a question regarding EPiServer CMS friendly url rewriting about wether it is possible to make the rewritten url's relative to the site's root rather than the context of the requested page. If you look at the html source for a page rendered b... [ Read full article ]

01 July 2008  2 Comments


How to check if a Property is marked as Searchable

by: Allan Thræn

A couple of times I've been asked how to check if a property on a page is set to be Searchable. It can be very handy to know, if you are making a search engine integration - or any other kind of textual processing of EPiServer CMS content, for tha... [ Read full article ]

23 June 2008  1 Comments


Hack: Faking HttpContext under EPiServer CMS5

by: Johan Olofsson

In my previous posts, I showed how one can "fake" a web request by creating a HttpContext and then assign it to the writeable property HttpContext.Current. Now, there is a problem using this approach under the original release of EPiServer CMS5,... [ Read full article ]

23 June 2008  5 Comments


Hack: Getting the html from a PageData in EPiServer CMS5 Part2

by: Johan Olofsson

Ok, as you found out if you tried to use the html that was generated using the code in the previous post, you'd notice that all links were rendered in the good ol "classic" style: "templates/page.aspx?id=3&language=en" So, how can we fix that when... [ Read full article ]

18 June 2008  0 Comments


Hack: Getting the html from a PageData in EPiServer CMS5

by: Johan Olofsson

I've gotten some requests for sample code showing how to get the resulting html for a EPiServer PageData so I thought I would share some ideas I had around this. The question is: "I have got a PageData instance. Now how can I (server side) get the... [ Read full article ]

18 June 2008  13 Comments

Syndications


Archive


Tag cloud

EPiTrace logger