If you can't read please download the document
Upload
episerver-meetup-oslo
View
4.822
Download
3
Embed Size (px)
Citation preview
Lysbilde 1
Behind the sceneAnders Hattestad
Page 1 , 18.05.2010
Endres i topp-/bunntekstPage 2 , 18.05.2010Anders Hattestad
Vise eksemplerHvordan det er lst
Grupperer litt etter ulik teknikk
Oppsummere etterp
Endres i topp-/bunntekstPage 3 , 18.05.2010Hva skal vi g igjennom
Property/Page/Control Adapters
Endres i topp-/bunntekstPage 4 , 18.05.2010
Endres i topp-/bunntekstPage 5 , 18.05.2010Change create new page
Endres i topp-/bunntekstPage 6 , 20.05.2010PageAdaptors
Endres i topp-/bunntekstPage 7 , 18.05.2010Change existing properties
BeforeAfter
http://labs.episerver.com/en/Blogs/Anders-Hattestad/Dates/2009/4/Change-LinkCollection-with-PropertyDataControlAdapter/
Endres i topp-/bunntekstPage 8 , 20.05.2010PropertyDataControlAdapter
GuiPluging hack with no front code
Endres i topp-/bunntekstPage 9 , 20.05.2010
Endres i topp-/bunntekstPage 10 , 18.05.2010Manipulere edit view
Group properties together in edit modehttp://labs.episerver.com/en/Blogs/Anders-Hattestad/Dates/2010/3/Change-the-edit-page-for-the-editors/Plan:Make a new property that displays other propertiesHide properties from 1) Make CreateEditControls for new property
Endres i topp-/bunntekstPage 11 , 18.05.2010PropertyNiceEditMode
MyMatches:{PageStartPublish:DisplayName}{PageStopPublish:DisplayName}{PageStartPublish}{PageStopPublish}
Endres i topp-/bunntekstPage 12 , 20.05.2010Hide Properties used by PropertyNiceEditMode
Endres i topp-/bunntekstPage 13 , 18.05.2010Generic view/edit mode for property
Endres i topp-/bunntekstPage 14 , 20.05.2010
Edit mode for PropertyNiceEditMode
Endres i topp-/bunntekstPage 15 , 18.05.2010Change edit mode for Fetch data from
Attach to edit table and add code on PreRenderFind PropertyDataControls in tableFind inherit valueAdd a new column in row and show inherit value
Endres i topp-/bunntekstPage 16 , 18.05.2010Plan
Endres i topp-/bunntekstPage 17 , 20.05.20101)
Endres i topp-/bunntekstPage 18 , 20.05.20102)
Endres i topp-/bunntekstPage 19 , 18.05.20103)
Normal GuiPlugin
Endres i topp-/bunntekstPage 20 , 20.05.2010
Endres i topp-/bunntekstPage 21 , 18.05.2010GuiPlugIn (Area = PlugInArea.EditPanel
Endres i topp-/bunntekstPage 22 , 18.05.2010Page_Load will always trigger
Endres i topp-/bunntekstPage 23 , 18.05.2010Can use control ids as configuration
Endres i topp-/bunntekstPage 24 , 20.05.2010
Endres i topp-/bunntekstPage 25 , 18.05.2010Save properties
Endres i topp-/bunntekstPage 26 , 18.05.2010Subscribers
Endres i topp-/bunntekstPage 27 , 20.05.2010Admin plugin with markup fil in dll
Endres i topp-/bunntekstPage 28 , 20.05.2010Auto VPP
.../Itera/EPi/Subscription/AdminSubscription.ascx.../Subscription/AdminSubscription.ascx.../AdminSubscription.ascx
Inherit from PlugInAttribute static Start()Endres i topp-/bunntekstPage 29 , 18.05.2010
Endres i topp-/bunntekstPage 30 , 18.05.2010Add save logic
Endres i topp-/bunntekstPage 31 , 18.05.2010code
Endres i topp-/bunntekstPage 32 , 18.05.2010UrlSegment
Endres i topp-/bunntekstPage 33 , 18.05.2010Attach too CreatingUrlSegment
PageBase event
Endres i topp-/bunntekstPage 34 , 20.05.2010
Endres i topp-/bunntekstPage 35 , 18.05.2010Masterpage selector
Endres i topp-/bunntekstPage 36 , 18.05.2010Attach PageBase.PageSetup
Endres i topp-/bunntekstPage 37 , 18.05.2010Using MasterPage selector
UrlRewriter
Endres i topp-/bunntekstPage 38 , 18.05.2010
http://world.episerver.com/Blogs/Anders-Hattestad/Dates/2009/12/QueryRewriteProvider-replace-query-strings-with-paths/Endres i topp-/bunntekstPage 39 , 20.05.2010Change the url
Endres i topp-/bunntekstPage 40 , 18.05.2010Changing markup url to nice url
/Template/Page.aspx?id=54&quicksearchquery=test=>/en/Examples/Search/quicksearchquery_test/
Endres i topp-/bunntekstPage 41 , 20.05.2010Change incoming url to internal/en/Examples/Search/quicksearchquery_test//en/Examples/Search/=>/Template/Page.aspx?id=54&quicksearchquery=test&MayBe404=true1 gang pr request
Lower case urlsAlt 1) Save the url segment part as lower casehttp://blog.bigfinger.se/2010/4/22/seo-lowercase-urls-in-episerver-cms-6.aspxAlt 2) Just change the rendered part to lower case
Endres i topp-/bunntekstPage 42 , 18.05.2010Use right technic, dont over do it
VPP
Endres i topp-/bunntekstPage 43 , 19.05.2010
Vpp to server scaled imagesServer control to display images/flash/youtube/Endres i topp-/bunntekstPage 44 , 19.05.2010Itera.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
Use attributes
Endres i topp-/bunntekstPage 45 , 20.05.2010
Endres i topp-/bunntekstPage 46 , 18.05.2010Use GuiPlugin and properties(Itera.MultiProperty)
Endres i topp-/bunntekstPage 47 , 18.05.2010Use Plugin as method to add
Endres i topp-/bunntekstPage 48 , 18.05.2010Easy build in configuration
Oppsummering
Endres i topp-/bunntekstPage 49 , 18.05.2010
Global.asaxEndres i topp-/bunntekstPage 50 , 18.05.2010Koble seg p events
Global.asaxProperty/Page/Control Adapters
Endres i topp-/bunntekstPage 51 , 18.05.2010Koble seg p events
Global.asaxProperty/Page/Control AdaptersArv fra EPiServer PlugInAttribute, og bruke static Start()
Endres i topp-/bunntekstPage 52 , 18.05.2010Koble seg p events
Global.asaxProperty/Page/Control AdaptersArv fra EPiServer PlugInAttribute, og bruke static Start()GuiPluging hack with no front code
Endres i topp-/bunntekstPage 53 , 18.05.2010Koble seg p events
Global.asaxProperty/Page/Control AdaptersArv fra EPiServer PlugInAttribute, og bruke static Start()GuiPluging hack with no front code
CMS 6 have a new ModuleDependency attribute.
Endres i topp-/bunntekstPage 54 , 18.05.2010Koble seg p events
Forholdsvis likt fra 5-6Unntak Plugins are broken i CMS 6http://world.episerver.com/Blogs/Anders-Hattestad/Dates/2010/4/IteraMultiProperty-and-CMS-6/
Endres i topp-/bunntekstPage 55 , 18.05.2010CMS 6
there
TemplatePage.PageSetup Will trigger on all pages that inherit from PageBase (thats all of them)
EPiServer.DataFactorySaving/Saved/Plublish/DeleteFinishedLoadingChildren.Control PreRender, Load, Init.
Endres i topp-/bunntekstPage 56 , 18.05.2010Events
Endres i topp-/bunntekstPage 57 , 19.05.2010Debug events
http://labs.episerver.com/en/Blogs/Anders-Hattestad/Dates/2008/12/Page-events-what-events-are-registered/
GuiPlugin PropertyControl event
Embedded Resource, no front end hasselEmbed language files(http://thisisnothing.wordpress.com/2010/05/18/embedding-episerver-language-files/)
Endres i topp-/bunntekstPage 58 , 20.05.2010Change edit/admin
FriendlyUrlRewriter
Mange muligheter til manipulere visning og bruk av urler
http://localhost/Forside.no/Nyheter/http://localhost/no/3.Forside /4.Nyheter/http://iphone.localhost/Forside/ => other masterpage. NB host ikke key i cachehttp://rss.localhost/Forside/ => Forsides list as rss
Endres i topp-/bunntekstPage 59 , 19.05.2010URLer
http://labs.episerver.com/en/Blogs/Anders-Hattestad/Dates/2009/10/IteraMedia-a-easy-solution-for-media-files/
Thank youQuestions?Endres i topp-/bunntekstPage 60 , 18.05.2010