Login

Blog entries tagged with EPiServer CMS 5

Jul
18

Implementing the FCKEditor

Posted by: Erik Nordin

One of our customers really needed an editor that would work for FireFox when they are Mac-users, so I tried to implement the FCKEditor which EPiServer has an howto about: http://world. episerver.... [Read full article]

0 Comments

Jun
27

Using XForms to store information

Posted by: Erik Nordin

At the moment I’m adding some functionallity to vinsprit. se, so that a visitor can add products, that aren’t in the regular assortment, to a cart and by a simple click send this cart by fax to the closest Systembolag. A pretty nice feature. The... [Read full article]

0 Comments

Jun
25

MultiPage Property to EPiServer 5

Posted by: Erik Nordin

I know there is a great MultiPage Property on EPiCode, but sometimes I want to use a bit more simple MultiPage picker, and not be able to choose to link documents and other pages etc. So when I had some spare time a few weeks ago, I wrote my own... [Read full article]

0 Comments

Jun
09

Prepopulate fields when creating page

Posted by: Erik Nordin

Made a joblisting about a month ago, the site I made it for is a globalized site with three different languages (so far). Every work ad needs a start- and a stop-publish date, and the work ad is first created in one language, then translated by some... [Read full article]

0 Comments

Apr
29

Trouble loading virtual file with spaces

Posted by: Erik Nordin

Had some trouble loading a vitrual file containing spaces. The problem was apperently that some characters were urlencoded, a simple Server. UrlDecode(CurrentPage["DocumentPath"]) solved the problem. [Read full article]

0 Comments

Apr
29

Get LinkURL to another language

Posted by: Erik Nordin

I’ve had some problem to link to a page to another language then the current language. Even though I have a PageData-object with anouther languagebranch, it stills makes a link to the current language. My own solution, building a url by CurrentPage.... [Read full article]

0 Comments

Apr
28

Get file size from a virtual file in EPiServer

Posted by: Erik Nordin

VirtualFile file = System. Web. Hosting. HostingEnvironment. VirtualPathProvider. GetFile( CurrentPage["FilePath"]. ToString() ); UnifiedFile f = file as UnifiedFile; return f. Length / 1024 + ” kb”; [Read full article]

0 Comments

Apr
18

New AppSettings/Dynamic List (one option) and AppSettingsMultiple/Dynamic list (Multiple options) in EPiServer CMS 5

Posted by: Erik Nordin

The new properties AppSettings and AppSettingsMultiple in EPiServer CMS 5 is a pretty nice feature, but when yesterday when I tried to implement it, I had a hard time finding out how to do it. But finally I did. First of all, in edit mode,... [Read full article]

0 Comments

Mar
25

Sort a pagedatacollection via property

Posted by: Erik Nordin

new FilterPropertySort(”PageName”, FilterSortDirection. Descending). Filter(children); [Read full article]

0 Comments

EPiTrace logger