皮膚定義
皮膚的定義可以通過來種方法來建立:HTML或者ASCX(使用者控制項)。如果你是一個對ASP.NET並沒有多少瞭解web設計者,那麼HTML是最好的選擇。如果你對ASP.NET比較熟練,而且打算用VS.NET這樣的工具來建立皮膚那麼ASCX是你的第一選擇。基本上,這兩種方法的區別僅在於皮膚定義檔案尾碼以及對應使用者控制項標識符不同(詳細請查閱附錄A)
一般一個皮膚包最少需要兩個皮膚檔案,一個用來定義網站前台的布局,一個用來定義網站後台管理的布局。前台一般擁有各式各樣的內容控制項以及不同的布局欄目,而後台管理介面則僅有一些管理控制項放在一個單獨的欄目裡面。
Skin Definition
Skin definitions can be created using two different methods, HTML or ASCX ( user controls ). If you are a web designer with limited or no exposure to ASP.NET then the HTML option is best. On the other hand, if you are proficient in ASP.NET and plan on creating your skin in a tool such as VS.NET then ASCX is best. Basically the only difference between the two methods is the file extension of the skin definition file and the use of tokens versus actual user control tags ( defined in Appendix A ).
At a minimum there will likely be two skin files for each package – one which defines the layout of the public portal and one which defines the layout of the private admin area. The public portal has the ability to host multiple content controls in varied pane layouts whereas the private admin area can only host admin controls in a single pane per page.
DotNetNuke Skinning Whitepaper 翻譯記錄:
DotNetNuke Skinning Whitepaper 翻譯記錄(簡介部分)
DotNetNuke Skinning Whitepaper 翻譯記錄(術語與win用戶端程式部分)
DotNetNuke Skinning Whitepaper 翻譯記錄(技術部分)
DotNetNuke Skinning Whitepaper 翻譯記錄(定義部分--大廚師翻譯)
DotNetNuke Skinning Whitepaper 翻譯記錄(DotNetNuke部分)
DotNetNuke Skinning Whitepaper 翻譯記錄(總攬部分)
DotNetNuke Skinning Whitepaper 翻譯記錄(檔案組織部分--大廚師翻譯)
DotNetNuke Skinning Whitepaper 翻譯記錄(頁面處理部分)
DotNetNuke Skinning Whitepaper 翻譯記錄(皮膚包部分)
接下去要進入實質的實現部分了,大廚師將要翻譯的是皮膚的建立部分,這個部分有6頁word文檔,差不多可以單獨出來做一個文章了,辛苦大廚師了,我會跳過皮膚建立直接翻譯容器建立,肯定先於大廚師翻譯完呵呵:)大家繼續努力