Transcript WikiPlus Customizations
WikiPlus customizations
Fine tune your WikiPlus solution
What’s on the agenda?
Branding and layout Modify the WikiPlus content type Customize the editor's toolbar Customize the following editor dropdowns – "Custom Links“ – "Content Snippets" – "Wiki markup" – "Paragraph Style" Customize Emoticons
What’s on the agenda?
Change the file size limit for upload Change the available libraries under the file managers
Branding and layout
All WikiPlus style sheet files are located under: – C:\Program Files\Common Files\Microsoft Shared\web server extensions\14\TEMPLATE\LAYOUTS\ KWizCom_WikiPlus\css WikiPlus uses the OOTB default master page located under: – C:\Program Files\Common Files\Microsoft Shared\web server extensions\14\TEMPLATE\LAYOUTS\default.master
Branding and layout
Defaultwiki.css contains the styles for the wiki site elements (Title, search, navigation, etc.) KWizCom_WikiPlus.css contains styles for the tag cloud web part, editor elements styles
Layout customization example
Customize the default style for tables in the WikiPlus content editor: – Locate ConfigFile.xml file under: C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\KWizCom_WikiPlus\RadControls\Editor – Add a new property called “TableLayoutCssFile” under the ‘Configuration’ container, The value of the property has to point to a CSS file* – Create the CSS file in the location specified in the “TableLayoutCssFile”
Layout customization example
– Find the SPEditorTools.js file under: C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\KWizCom_WikiPlus\RadControls\Editor – Add an entry under InsertTable like so: e.className= “MyClassTable” – Comment out the rest of the style definitions
Layout customization example
ConfigFile.xml: Relative URL to the CSS file location
Layout customization example
CSS folder: New table style definition CSS
CSS file:
Layout customization example
Layout customization example
SPEditorTools.js :
Modify the WikiPlus content type
Each WikiPlus library inherits the WikiPlus content type WikiPlus content type is available under the site collection content types Add or remove fields from the WikiPlus content type – Note adding a field will not automatically add it to a WikiPlus page view
Customize the editor's toolbar
The toolbar is configured using an XML ToolsFile, which defines: – The available buttons and their order – specific options (if any) for the respective tools (i.e. Fonts, Colors collection, etc.) The ToolsFile is located in: “C:\Program Files\Common Files\Microsoft Shared\web server extensions\14\TEMPLATE\LAYOUTS\KWizCom_Wikiplus\RadControls\Editor” folder, on your SharePoint server.
Customize toolbar dropdowns
Custom links dropdown: – contains a pre-defined list of internal/external links – To customize: • • Locate the
Customize toolbar dropdowns
Customize content snippets: – contains a pre-defined list of html snippets – To customize: • • Locate the
Update or add
Customize toolbar dropdowns
Customize Wiki markup dropdown: – contains a pre-defined list of wiki markup scripts – To customize: • • Locate the
Every
Customize toolbar dropdowns
Customize Paragraph style dropdown: – contains a pre-defined list of paragraph styles that can be applied to selected text – To customize: • • Locate the
Add a
Customize Emoticons
The emoticon icon which you to add emoticons on your wiki page You may want to add or remove the emoticons, or create your own collection, to do so: – Go to the top level site> View all site content – Open the “WikiPlus emoticons” library – Upload, edit or delete emoticons (The title is used as an alternative text for the emoticon)
Change the file size limit for upload
The editor includes a pre-defined uploaded file size The default maximum file size that you can upload is 4096kB, to customize: – Locate the relevant node inToolsFile.xml: • Image Manager: –
Change Available Libraries Under File Managers The editor includes pre-defined resource libraries which are available under the different file managers You may want to inset files from different locations File upload and delete actions can also be restricted for each manager (by specifying the restricted library path)
Change Available Libraries Under File Managers To customize the available libraries, or restrict upload\delete: – Locate the relevant node inToolsFile.xml and specify the relevant path Image Manager:
Demo
Customization demos
Visit KWizCom.com to learn more from the WikiPlus user guides