550 likes | 564 Views
Explore Anders Hattestad's blog posts on EPiServer development, including property/page control adapters, PropertyDataControlAdapter, PropertyNiceEditMode, UrlRewriter, and more.
E N D
Behind the scene Anders Hattestad
Anders Hattestad Endres i topp-/bunntekst
Hva skal vi gå igjennom Endres i topp-/bunntekst Vise eksempler Hvordan det er løst Grupperer litt etter ulik teknikk Oppsummere etterpå
Property/Page/Control Adapters Endres i topp-/bunntekst
Change create new page Endres i topp-/bunntekst
PageAdaptors Endres i topp-/bunntekst
Change existing properties Before After http://labs.episerver.com/en/Blogs/Anders-Hattestad/Dates/2009/4/Change-LinkCollection-with-PropertyDataControlAdapter/ Endres i topp-/bunntekst
PropertyDataControlAdapter Endres i topp-/bunntekst
GuiPluging hack with no front code Endres i topp-/bunntekst
Manipulere edit view Group properties together in edit mode Plan: Make a new property that display’s other properties Hide properties from 1) Make CreateEditControls for new property http://labs.episerver.com/en/Blogs/Anders-Hattestad/Dates/2010/3/Change-the-edit-page-for-the-editors/ Endres i topp-/bunntekst
PropertyNiceEditMode • MyMatches: • {PageStartPublish:DisplayName} • {PageStopPublish:DisplayName} • {PageStartPublish} • {PageStopPublish} Endres i topp-/bunntekst
Hide Properties used by PropertyNiceEditMode Endres i topp-/bunntekst
Generic view/edit mode for property Endres i topp-/bunntekst
Edit mode for PropertyNiceEditMode Endres i topp-/bunntekst
Normal GuiPlugin Endres i topp-/bunntekst
GuiPlugIn (Area = PlugInArea.EditPanel Endres i topp-/bunntekst
Page_Load will always trigger Endres i topp-/bunntekst
Can use control id’s as configuration Endres i topp-/bunntekst
Save properties Endres i topp-/bunntekst
Subscribers Endres i topp-/bunntekst
Admin plugin with markup fil in dll Endres i topp-/bunntekst
Auto VPP .../Itera/EPi/Subscription/AdminSubscription.ascx .../Subscription/AdminSubscription.ascx .../AdminSubscription.ascx Endres i topp-/bunntekst
Inherit from PlugInAttribute static Start() Endres i topp-/bunntekst
Add save logic Endres i topp-/bunntekst
code Endres i topp-/bunntekst
UrlSegment Endres i topp-/bunntekst
Attach too CreatingUrlSegment Endres i topp-/bunntekst
PageBase event Endres i topp-/bunntekst
Masterpage selector Endres i topp-/bunntekst
Attach PageBase.PageSetup Endres i topp-/bunntekst
Using MasterPage selector Endres i topp-/bunntekst
UrlRewriter Endres i topp-/bunntekst
Change the url Endres i topp-/bunntekst http://world.episerver.com/Blogs/Anders-Hattestad/Dates/2009/12/QueryRewriteProvider-replace-query-strings-with-paths/
Changing markup url to nice url /Template/Page.aspx?id=54&quicksearchquery=test =>/en/Examples/Search/quicksearchquery_test/ Endres i topp-/bunntekst
Change incoming url to internal 1 gang pr request /en/Examples/Search/quicksearchquery_test/ /en/Examples/Search/ =>/Template/Page.aspx?id=54&quicksearchquery=test&MayBe404=true Endres i topp-/bunntekst
Use right technic, dont over do it Endres i topp-/bunntekst Lower case url’s Alt 1) Save the url segment part as lower casehttp://blog.bigfinger.se/2010/4/22/seo-lowercase-urls-in-episerver-cms-6.aspx Alt 2) Just change the rendered part to lower case
VPP Endres i topp-/bunntekst
Itera.Media http://labs.episerver.com/en/Blogs/Anders-Hattestad/Dates/2009/10/IteraMedia-a-easy-solution-for-media-files/ ../width_410.height_190.mode_FillAreaWithCrop.pos_Default.color_White.jpg ../width_200.height_92.mode_FillAreaWithCrop.pos_Default.color_White.jpg Endres i topp-/bunntekst Vpp to server scaled images Server control to display images/flash/youtube/…
Use attributes Endres i topp-/bunntekst
Use GuiPlugin and properties(Itera.MultiProperty) Endres i topp-/bunntekst
Use Plugin as method to add Endres i topp-/bunntekst
Easy build in configuration Endres i topp-/bunntekst
Oppsummering Endres i topp-/bunntekst
Koble seg på events Endres i topp-/bunntekst Global.asax
Koble seg på events Endres i topp-/bunntekst Global.asax Property/Page/Control Adapters
Koble seg på events Endres i topp-/bunntekst Global.asax Property/Page/Control Adapters Arv fra EPiServer PlugInAttribute, og bruke static Start()
Koble seg på events Endres i topp-/bunntekst Global.asax Property/Page/Control Adapters Arv fra EPiServer PlugInAttribute, og bruke static Start() GuiPluging hack with no front code
Koble seg på events Endres i topp-/bunntekst Global.asax Property/Page/Control Adapters Arv fra EPiServer PlugInAttribute, og bruke static Start() GuiPluging hack with no front code CMS 6 have a new ModuleDependency attribute.
CMS 6 there Endres i topp-/bunntekst • Forholdsvis likt fra 5-6 • Unntak Plugins are broken i CMS 6 • http://world.episerver.com/Blogs/Anders-Hattestad/Dates/2010/4/IteraMultiProperty-and-CMS-6/