Url rewriter for a blog
Rewrites tags, dates and pages. Supports the format /Templates/Blog.aspx?id=3&epslanguage=en&year=2012&month=5&page=2&tag=episerver
Posted in EPiServer ● Tags urlrewriter, blog, friendly url
Rewrites tags, dates and pages. Supports the format /Templates/Blog.aspx?id=3&epslanguage=en&year=2012&month=5&page=2&tag=episerver
Posted in EPiServer ● Tags urlrewriter, blog, friendly url
If you add an EPiServer Property control to the PageLists ItemTemplate it handles CurrentPage as expected, you can also get the CurrentPage by the binding expression:
<%# Container.CurrentPage %>
Lets say you have an user control (.ascx) in the ItemTemplate instead, then the CurrentPage will be the actual page the PageList control is added to. We can workaround this by having a property in our user control and set it to Container.CurrentPage.PageLink and set each Property’s PageLink to it, but let’s make it a little bit more sophisticated.
CurrentPage is resolved by implementing IPageSource or ICurrentPage. But how do we implement them?
Posted in EPiServer ● Tags base class, user controls
One of our clients has an enterprise solution with several websites in the same EPiServer database and wanted to be able to publish some content just once and then the content would be reflected on each website. But sometimes they wanted to create local content as well in the same page structure which was created by the global content. Sometimes parts of the content shouldn’t be reflected on all sites, just selected ones.
The two latter requirements made the solution much more complex.
Posted in EPiServer ● Tags cross-publishing, mirroring