1 / 55

Behind the Scenes: Anders Hattestad's Examples and Solutions

Explore Anders Hattestad's blog posts on EPiServer development, including property/page control adapters, PropertyDataControlAdapter, PropertyNiceEditMode, UrlRewriter, and more.

southerland
Télécharger la présentation

Behind the Scenes: Anders Hattestad's Examples and Solutions

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Behind the scene Anders Hattestad

  2. Anders Hattestad Endres i topp-/bunntekst

  3. Hva skal vi gå igjennom Endres i topp-/bunntekst Vise eksempler Hvordan det er løst Grupperer litt etter ulik teknikk Oppsummere etterpå

  4. Property/Page/Control Adapters Endres i topp-/bunntekst

  5. Change create new page Endres i topp-/bunntekst

  6. PageAdaptors Endres i topp-/bunntekst

  7. Change existing properties Before After http://labs.episerver.com/en/Blogs/Anders-Hattestad/Dates/2009/4/Change-LinkCollection-with-PropertyDataControlAdapter/ Endres i topp-/bunntekst

  8. PropertyDataControlAdapter Endres i topp-/bunntekst

  9. GuiPluging hack with no front code Endres i topp-/bunntekst

  10. 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

  11. PropertyNiceEditMode • MyMatches: • {PageStartPublish:DisplayName} • {PageStopPublish:DisplayName} • {PageStartPublish} • {PageStopPublish} Endres i topp-/bunntekst

  12. Hide Properties used by PropertyNiceEditMode Endres i topp-/bunntekst

  13. Generic view/edit mode for property Endres i topp-/bunntekst

  14. Edit mode for PropertyNiceEditMode Endres i topp-/bunntekst

  15. Normal GuiPlugin Endres i topp-/bunntekst

  16. GuiPlugIn (Area = PlugInArea.EditPanel Endres i topp-/bunntekst

  17. Page_Load will always trigger Endres i topp-/bunntekst

  18. Can use control id’s as configuration Endres i topp-/bunntekst

  19. Endres i topp-/bunntekst

  20. Save properties Endres i topp-/bunntekst

  21. Subscribers Endres i topp-/bunntekst

  22. Admin plugin with markup fil in dll Endres i topp-/bunntekst

  23. Auto VPP .../Itera/EPi/Subscription/AdminSubscription.ascx .../Subscription/AdminSubscription.ascx .../AdminSubscription.ascx Endres i topp-/bunntekst

  24. Inherit from PlugInAttribute static Start() Endres i topp-/bunntekst

  25. Add save logic Endres i topp-/bunntekst

  26. code Endres i topp-/bunntekst

  27. UrlSegment Endres i topp-/bunntekst

  28. Attach too CreatingUrlSegment Endres i topp-/bunntekst

  29. PageBase event Endres i topp-/bunntekst

  30. Masterpage selector Endres i topp-/bunntekst

  31. Attach PageBase.PageSetup Endres i topp-/bunntekst

  32. Using MasterPage selector Endres i topp-/bunntekst

  33. UrlRewriter Endres i topp-/bunntekst

  34. Change the url Endres i topp-/bunntekst http://world.episerver.com/Blogs/Anders-Hattestad/Dates/2009/12/QueryRewriteProvider-replace-query-strings-with-paths/

  35. Changing markup url to nice url /Template/Page.aspx?id=54&quicksearchquery=test =>/en/Examples/Search/quicksearchquery_test/ Endres i topp-/bunntekst

  36. 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

  37. 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

  38. VPP Endres i topp-/bunntekst

  39. 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/…

  40. Use attributes Endres i topp-/bunntekst

  41. Use GuiPlugin and properties(Itera.MultiProperty) Endres i topp-/bunntekst

  42. Use Plugin as method to add Endres i topp-/bunntekst

  43. Easy build in configuration Endres i topp-/bunntekst

  44. Oppsummering Endres i topp-/bunntekst

  45. Koble seg på events Endres i topp-/bunntekst Global.asax

  46. Koble seg på events Endres i topp-/bunntekst Global.asax Property/Page/Control Adapters

  47. Koble seg på events Endres i topp-/bunntekst Global.asax Property/Page/Control Adapters Arv fra EPiServer PlugInAttribute, og bruke static Start()

  48. 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

  49. 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.

  50. 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/

More Related