SlideShare uma empresa Scribd logo
1 de 37
Theme Customization
Worldwide Business Partner Technical Enablement 2016
Van Staub – North America Embedded Solution Partners
1
Agenda
review in a practical format Digital Experience’s:
• theme tooling
• theme capabilities
• experience converting WordPress themes
• available lab
• resources
Theme Overview
• page artifacts
• navigation
• search bar
• user settings
• footer
• branding
• static resources
Theme Overview
• layout of the components on a page
• skin artifacts
• border “around” a portlet or content
• flexible, granular settings
• code or libraries needed for this
page to function
• multi-channel delivery
Portal 8.5 Theme
• ships with one theme - called Portal
8.5
• same theme architecture since
7.0.0.2
• dynamic and static files
• toolbar isolation / authoring
experience
• theme optimization
(modularization)
• theme analyzing capabilities
• Dojo 1.9.x in the box, allowing
arbitrary frameworks, such as
Angular
• JQuery 1.10.x in the box
Customizing Themes:
Tooling
Theme Manager
• Theme Development portlets
(new in CF08)
• convenient alternative to
XmlAccess
• simpler, more intuitive
approach
• self service capability for DX-on-
Cloud customers
Theme Manager
create a theme
from a template.
copy, export, or
delete a theme
edit theme
properties
Web Developer Dashboard
• work with Script Portlet
applications, Themes, and
WCM design elements in a
simple UI
• click to push or watch/sync
applications and designs to a
local or remote Portal server
• use a simple UI to add and
edit your theme modules and
profiles
• run script applications locally
on test server
Web Developer Dashboard
Client machine: developer workstation
or integration/build server Portal Server
HTTP
Script apps: “sp push” / HTTP
Themes: DX Sync / WebDAV
WCM designs: Node.js / REST
HTTP
HTTP
Web Developer
Toolkit
Dashboard UI
or
Command line
Scripts in WCM
Themes in
WebDAV
WCM Designs
in WCM
Script files on local file system
Theme files on local file system
WCM design files on local file system
Node.js
Editors, build tools, compilers,
source code management, etc.
Theme Editor
• edit the static content of a
theme (HTML, CSS,
JavaScript, etc) directly in a
browser
• available as a downloadable
tech preview
Simple Theme
• minimal set of artifacts for an easy starting point and quick learning curve
• responsive design supports all mobile devices
• easily branded and customized using CSS/JS/HTML and editable via WebDAV
• several of generic dynamic content spots are available
• top navigation, mega menu, etc.
Theme Analyzer
• analysis and debugging tools available on Theme Development page
Customizing Themes:
Capabilities
Create New Theme
• create
“bootswatch”
theme from the
Simple Theme
template
• apply the
theme to a
page
update
branding
add padding
add a few
layout
templates
Styles
• styles define the aesthetics of the
page – essentially a cascading style
sheet
• applied dynamically using page
properties
• let’s re-use bootswatch Bootstrap
styles to provide options for users
no other styles
available in Simple
Theme
Styles
• download the Cerulean Bootstrap style
• create a styles.json file (because Simple doesn’t have one) using the DX
toolkit
Styles
• /Dev/bootswatch/system/styles.json
• /Dev/bootswatch/css
• /cerulean
• /bootstrap.min.css
• /thumbnail.png
• /cosmo
• /bootstrap.min.css
• /thumbnail.png
• /slate
• /bootstrap.min.css
• /thumbnail.png
{
localizationPackageName:'com.ibm.bundl
es', localizationBundleName:'Shelf',
identifier:'label', items: [
{'label':'Cerulean','id':'cerulean.css','url':'c
ss/cerulean/bootstrap.min.css','thumbna
il':ibmCfg.themeConfig.themeRootURI+'/c
ss/cerulean/thumbnail.png','help':''},
{'label':'Cosmo','id':'cosmo.css','url':'css/co
smo/bootstrap.min.css’,’thumbnail':ibmCfg
.themeConfig.themeRootURI+'/css/cosmo/
thumbnail.png','help':''},
{'label':'Slate','id':'slate.css','url':'css/slate/b
ootstrap.min.css','thumbnail':ibmCfg.them
eConfig.themeRootURI+'/css/slate/thumbn
ail.png','help':'’
}] }
this changed 
this did not 
Theme Templates
• a theme template (e.g. theme.html) defines the structure of the site
• contains both static and dynamic markup
• static reference example
• war: used to load static resources from a WAR file
• dynamic markup <a rel='dynamic-content' href='dyn-cs:id:…'/>
• modules are able to contribute dynamic content spots with the contribution
type dyn-cs from a plugin.xml
• beware localized templates; edit the NLS template inside
/<theme>/nls/theme_en.html
static
dynamic
/opt/IBM/WebSphere/PortalServer/theme/wp.theme.themes/simple/installedApps/SimpleTheme
.ear/SimpleTheme.war/themes/html/dynamicSpots
Theme Expression Logic
• simple access to:
• Portal models, meta data, resource
environment providers (REP), etc
• http://www-
01.ibm.com/support/knowledgecenter/SSH
RKX_8.5.0/mp/dev-
theme/themeopt_el_bean.dita
${wp.selectionModel.selected} = selected node
${wp.metadata[wp.selectionModel.selected]['someKey']}
= access page meta data
${wp.rep['WP GlobalThemeConfig']} = REP access
${wp.identification[node]} = retrieve node object id
${wp.themeList.current.metadata['someKey']} = access
theme meta data
${wp.ac[node].hasPermission[someRole]} = access
permissions
Skins
• skins are what is displayed around
a portlet
• helpful if you want to mark the
boundaries of a portlet or show
additional function in edit mode
Skins
just a bit more
padding
manually adding the style
to the skin html
Layouts
four new
layouts
Layouts
{'url':ibmCfg.themeConfig.themeWebDAVBaseURI+'layout-
templates/Bootstrap_1Column/','id':'Bootstrap_1Column','thu
mbnail':ibmCfg.themeConfig.themeRootURI+'/layout-
templates/Bootstrap_1Column/icon.png','titles':
[{'value':'Bootstrap: 1 column','lang':'en'}]},
Modules
• modules add resources to
page markup – like
additional Javascript
libraries or CSS
• simple modules can be
created using folder
structure
• more advanced modules
can be created using
plugin.xml or JSON
• deferred modules can be
loaded dynamically
Profiles
• profiles aggregate modules –
everything needed to successfully
use a page
Resources
digitalExperience
Developer Downloads
https://developer.ibm.com/digexp/downloads/
Web Toolkit for IBM
Digital Experience
https://github.com/OpenNTF/WebDevToolkitForDx
IBM Theme Editor for
IBM WebSphere
Portal
https://greenhouse.lotus.com/plugins/plugincatalog.nsf/assetDetails.xsp?action=editDocument&documentId=4E6461C014E
DEAC785257F20002B035F&cm_mc_uid=64973263975314642744284&cm_mc_sid_50200000=1464712288&Login
Developing Themes
for WebSphere Portal
8.5
https://www-10.lotus.com/ldd/portalwiki.nsf/xpViewCategories.xsp?lookupName=Developing Themes for WebSphere Portal
8.5
Bootstrap http://getbootstrap.com/
Bootswatch https://bootswatch.com/
Lab
• WP8.5_Lab_Theme_Customization
• Located in community
• Creating a custom theme and
changing the page logo
• Creating customized page styles
• Creating customized page layouts
• Understanding the new theme
optimization framework. This
includes the creation of custom
profiles and modules.
Thank You
37

Mais conteúdo relacionado

Mais procurados

WebNet Conference 2012 - Designing complex applications using html5 and knock...
WebNet Conference 2012 - Designing complex applications using html5 and knock...WebNet Conference 2012 - Designing complex applications using html5 and knock...
WebNet Conference 2012 - Designing complex applications using html5 and knock...
Fabio Franzini
 
SharePoint Saturday The Conference DC - How the bcs saved my marriage
SharePoint Saturday The Conference DC - How the bcs saved my marriageSharePoint Saturday The Conference DC - How the bcs saved my marriage
SharePoint Saturday The Conference DC - How the bcs saved my marriage
Liam Cleary [MVP]
 
More Best Practices With Share Point Solutions
More Best Practices With Share Point SolutionsMore Best Practices With Share Point Solutions
More Best Practices With Share Point Solutions
Alexander Meijers
 

Mais procurados (20)

WebNet Conference 2012 - Designing complex applications using html5 and knock...
WebNet Conference 2012 - Designing complex applications using html5 and knock...WebNet Conference 2012 - Designing complex applications using html5 and knock...
WebNet Conference 2012 - Designing complex applications using html5 and knock...
 
AIR - Framework ( Cairngorm and Parsley )
AIR - Framework ( Cairngorm and Parsley )AIR - Framework ( Cairngorm and Parsley )
AIR - Framework ( Cairngorm and Parsley )
 
SPCA2013 - Building Windows Client Applications for SharePoint 2013
SPCA2013 - Building Windows Client Applications for SharePoint 2013SPCA2013 - Building Windows Client Applications for SharePoint 2013
SPCA2013 - Building Windows Client Applications for SharePoint 2013
 
[Wilen] Enriching conversations with your data in Microsoft Teams
[Wilen] Enriching conversations with your data in Microsoft Teams[Wilen] Enriching conversations with your data in Microsoft Teams
[Wilen] Enriching conversations with your data in Microsoft Teams
 
JavaScript and jQuery for SharePoint Developers
JavaScript and jQuery for SharePoint DevelopersJavaScript and jQuery for SharePoint Developers
JavaScript and jQuery for SharePoint Developers
 
SharePoint Saturday The Conference DC - How the bcs saved my marriage
SharePoint Saturday The Conference DC - How the bcs saved my marriageSharePoint Saturday The Conference DC - How the bcs saved my marriage
SharePoint Saturday The Conference DC - How the bcs saved my marriage
 
A 20 minute introduction to AngularJS for XPage developers
A 20 minute introduction to AngularJS for XPage developersA 20 minute introduction to AngularJS for XPage developers
A 20 minute introduction to AngularJS for XPage developers
 
tTecniche di sviluppo mobile per share point 2013 e office 365
tTecniche di sviluppo mobile per share point 2013 e office 365 tTecniche di sviluppo mobile per share point 2013 e office 365
tTecniche di sviluppo mobile per share point 2013 e office 365
 
Know, Share, Do - Custom Apps
Know, Share, Do - Custom AppsKnow, Share, Do - Custom Apps
Know, Share, Do - Custom Apps
 
Industrial training seminar ppt on asp.net
Industrial training seminar ppt on asp.netIndustrial training seminar ppt on asp.net
Industrial training seminar ppt on asp.net
 
Xcc layout-options
Xcc layout-optionsXcc layout-options
Xcc layout-options
 
1 app 2 developers 3 servers
1 app 2 developers 3 servers1 app 2 developers 3 servers
1 app 2 developers 3 servers
 
Apps for SharePoint
Apps for SharePointApps for SharePoint
Apps for SharePoint
 
Flex Introduction
Flex Introduction Flex Introduction
Flex Introduction
 
ECS19 - Vesa Juvonen - SharePoint and Office 365 Development PowerClass
ECS19 - Vesa Juvonen - SharePoint and Office 365 Development PowerClassECS19 - Vesa Juvonen - SharePoint and Office 365 Development PowerClass
ECS19 - Vesa Juvonen - SharePoint and Office 365 Development PowerClass
 
Apps for SharePoint 2013
Apps for SharePoint 2013Apps for SharePoint 2013
Apps for SharePoint 2013
 
Chris O'Brien - Modern SharePoint sites and the SharePoint Framework - reference
Chris O'Brien - Modern SharePoint sites and the SharePoint Framework - referenceChris O'Brien - Modern SharePoint sites and the SharePoint Framework - reference
Chris O'Brien - Modern SharePoint sites and the SharePoint Framework - reference
 
Share point 2013 and sql server 2012 what to choose
Share point 2013 and sql server 2012   what to chooseShare point 2013 and sql server 2012   what to choose
Share point 2013 and sql server 2012 what to choose
 
Architecting Lightning Components for Community Builder
Architecting Lightning Components for Community BuilderArchitecting Lightning Components for Community Builder
Architecting Lightning Components for Community Builder
 
More Best Practices With Share Point Solutions
More Best Practices With Share Point SolutionsMore Best Practices With Share Point Solutions
More Best Practices With Share Point Solutions
 

Destaque

Custom theme creation for Websphere Portal 8
Custom theme creation for Websphere Portal 8Custom theme creation for Websphere Portal 8
Custom theme creation for Websphere Portal 8
michele buccarello
 
Victoria BC Drupalcamp Presentation - Drupal Development Evolved!
Victoria BC Drupalcamp Presentation - Drupal Development Evolved!Victoria BC Drupalcamp Presentation - Drupal Development Evolved!
Victoria BC Drupalcamp Presentation - Drupal Development Evolved!
chrisshattuck
 
NEPHP '12: Create a RESTful API
NEPHP '12: Create a RESTful APINEPHP '12: Create a RESTful API
NEPHP '12: Create a RESTful API
Andrew Curioso
 
OAuth In The Real World : 10 actual implementations you can't guess
OAuth In The Real World : 10 actual implementations you can't guessOAuth In The Real World : 10 actual implementations you can't guess
OAuth In The Real World : 10 actual implementations you can't guess
Mehdi Medjaoui
 
Angular meteor for angular devs
Angular meteor for angular devsAngular meteor for angular devs
Angular meteor for angular devs
Arc & Codementor
 

Destaque (20)

IBM Watson Work Services Development
IBM Watson Work Services DevelopmentIBM Watson Work Services Development
IBM Watson Work Services Development
 
Dia administrador de Sistemas
Dia administrador de SistemasDia administrador de Sistemas
Dia administrador de Sistemas
 
Custom theme creation for Websphere Portal 8
Custom theme creation for Websphere Portal 8Custom theme creation for Websphere Portal 8
Custom theme creation for Websphere Portal 8
 
Open source in government
Open source in governmentOpen source in government
Open source in government
 
Open Source for Government - PSEICT Conference - British Council Case Study u...
Open Source for Government - PSEICT Conference - British Council Case Study u...Open Source for Government - PSEICT Conference - British Council Case Study u...
Open Source for Government - PSEICT Conference - British Council Case Study u...
 
Style guides in drupal development workflows
Style guides in drupal development workflowsStyle guides in drupal development workflows
Style guides in drupal development workflows
 
Succeeding at Digital Government the Open Source Way
Succeeding at Digital Government the Open Source WaySucceeding at Digital Government the Open Source Way
Succeeding at Digital Government the Open Source Way
 
Victoria BC Drupalcamp Presentation - Drupal Development Evolved!
Victoria BC Drupalcamp Presentation - Drupal Development Evolved!Victoria BC Drupalcamp Presentation - Drupal Development Evolved!
Victoria BC Drupalcamp Presentation - Drupal Development Evolved!
 
Migration to IBM SmartCloud Notes
Migration to IBM SmartCloud Notes Migration to IBM SmartCloud Notes
Migration to IBM SmartCloud Notes
 
NEPHP '12: Create a RESTful API
NEPHP '12: Create a RESTful APINEPHP '12: Create a RESTful API
NEPHP '12: Create a RESTful API
 
MongoDB - The database strikes back
MongoDB - The database strikes back MongoDB - The database strikes back
MongoDB - The database strikes back
 
OAuth In The Real World : 10 actual implementations you can't guess
OAuth In The Real World : 10 actual implementations you can't guessOAuth In The Real World : 10 actual implementations you can't guess
OAuth In The Real World : 10 actual implementations you can't guess
 
Tomboy Web Sync Explained
Tomboy Web Sync ExplainedTomboy Web Sync Explained
Tomboy Web Sync Explained
 
Angular meteor for angular devs
Angular meteor for angular devsAngular meteor for angular devs
Angular meteor for angular devs
 
VMUG - Using PowerShell to call RESTful APIs
VMUG - Using PowerShell to call RESTful APIsVMUG - Using PowerShell to call RESTful APIs
VMUG - Using PowerShell to call RESTful APIs
 
The never-ending REST API design debate -- Devoxx France 2016
The never-ending REST API design debate -- Devoxx France 2016The never-ending REST API design debate -- Devoxx France 2016
The never-ending REST API design debate -- Devoxx France 2016
 
The Present Future of OAuth
The Present Future of OAuthThe Present Future of OAuth
The Present Future of OAuth
 
Joker'15 Java straitjackets for MongoDB
Joker'15 Java straitjackets for MongoDBJoker'15 Java straitjackets for MongoDB
Joker'15 Java straitjackets for MongoDB
 
VMUG - Picking Up New Skills - Tips and Tricks to Build Your Technical Tool C...
VMUG - Picking Up New Skills - Tips and Tricks to Build Your Technical Tool C...VMUG - Picking Up New Skills - Tips and Tricks to Build Your Technical Tool C...
VMUG - Picking Up New Skills - Tips and Tricks to Build Your Technical Tool C...
 
MongoDB Workshop
MongoDB WorkshopMongoDB Workshop
MongoDB Workshop
 

Semelhante a IBM Digital Experience Theme Customization

Challenges of Simple Documents: When Basic isn't so Basic - Cassandra Targett...
Challenges of Simple Documents: When Basic isn't so Basic - Cassandra Targett...Challenges of Simple Documents: When Basic isn't so Basic - Cassandra Targett...
Challenges of Simple Documents: When Basic isn't so Basic - Cassandra Targett...
Lucidworks
 

Semelhante a IBM Digital Experience Theme Customization (20)

Wp8.5 p06 themes basics
Wp8.5 p06 themes basicsWp8.5 p06 themes basics
Wp8.5 p06 themes basics
 
Develop Engaging and High Performance Portal Themes That Power Exceptional Di...
Develop Engaging and High Performance Portal Themes That Power Exceptional Di...Develop Engaging and High Performance Portal Themes That Power Exceptional Di...
Develop Engaging and High Performance Portal Themes That Power Exceptional Di...
 
itPage LDC 09 Presentation
itPage LDC 09 PresentationitPage LDC 09 Presentation
itPage LDC 09 Presentation
 
Drupal: an Overview
Drupal: an OverviewDrupal: an Overview
Drupal: an Overview
 
Documenting metadata application profiles and vocabularies
Documenting metadata application profiles and vocabulariesDocumenting metadata application profiles and vocabularies
Documenting metadata application profiles and vocabularies
 
dmBridge & dmMonocle
dmBridge & dmMonocledmBridge & dmMonocle
dmBridge & dmMonocle
 
Asp.Net 3 5 Part 1
Asp.Net 3 5 Part 1Asp.Net 3 5 Part 1
Asp.Net 3 5 Part 1
 
Challenges of Simple Documents: When Basic isn't so Basic - Cassandra Targett...
Challenges of Simple Documents: When Basic isn't so Basic - Cassandra Targett...Challenges of Simple Documents: When Basic isn't so Basic - Cassandra Targett...
Challenges of Simple Documents: When Basic isn't so Basic - Cassandra Targett...
 
WordPress Themes and Plugins
WordPress Themes and PluginsWordPress Themes and Plugins
WordPress Themes and Plugins
 
Responsive themeworkshop wcneo2016
Responsive themeworkshop wcneo2016Responsive themeworkshop wcneo2016
Responsive themeworkshop wcneo2016
 
From WordPress With Love
From WordPress With LoveFrom WordPress With Love
From WordPress With Love
 
Office 365 Saturday (Sydney) - SharePoint framework – build integrated user e...
Office 365 Saturday (Sydney) - SharePoint framework – build integrated user e...Office 365 Saturday (Sydney) - SharePoint framework – build integrated user e...
Office 365 Saturday (Sydney) - SharePoint framework – build integrated user e...
 
Static Site Generators: what they are and when they are useful
Static Site Generators: what they are and when they are usefulStatic Site Generators: what they are and when they are useful
Static Site Generators: what they are and when they are useful
 
Bb Tour ANZ 2017 - Workshop - Enhancing Learn CSS
Bb Tour ANZ 2017 - Workshop - Enhancing Learn CSSBb Tour ANZ 2017 - Workshop - Enhancing Learn CSS
Bb Tour ANZ 2017 - Workshop - Enhancing Learn CSS
 
A11y Conference Talk: Building an Accessible WordPress Theme
A11y Conference Talk: Building an Accessible WordPress ThemeA11y Conference Talk: Building an Accessible WordPress Theme
A11y Conference Talk: Building an Accessible WordPress Theme
 
Enterprise WordPress - Performance, Scalability and Redundancy
Enterprise WordPress - Performance, Scalability and RedundancyEnterprise WordPress - Performance, Scalability and Redundancy
Enterprise WordPress - Performance, Scalability and Redundancy
 
Intro JavaScript
Intro JavaScriptIntro JavaScript
Intro JavaScript
 
WCBos13 intermediate workshop
WCBos13 intermediate workshopWCBos13 intermediate workshop
WCBos13 intermediate workshop
 
Child Themes and CSS in WordPress
Child Themes and CSS in WordPressChild Themes and CSS in WordPress
Child Themes and CSS in WordPress
 
025444215.pptx
025444215.pptx025444215.pptx
025444215.pptx
 

Último

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Último (20)

Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 

IBM Digital Experience Theme Customization

  • 1. Theme Customization Worldwide Business Partner Technical Enablement 2016 Van Staub – North America Embedded Solution Partners 1
  • 2. Agenda review in a practical format Digital Experience’s: • theme tooling • theme capabilities • experience converting WordPress themes • available lab • resources
  • 3. Theme Overview • page artifacts • navigation • search bar • user settings • footer • branding • static resources
  • 4. Theme Overview • layout of the components on a page • skin artifacts • border “around” a portlet or content • flexible, granular settings • code or libraries needed for this page to function • multi-channel delivery
  • 5.
  • 6.
  • 7. Portal 8.5 Theme • ships with one theme - called Portal 8.5 • same theme architecture since 7.0.0.2 • dynamic and static files • toolbar isolation / authoring experience • theme optimization (modularization) • theme analyzing capabilities • Dojo 1.9.x in the box, allowing arbitrary frameworks, such as Angular • JQuery 1.10.x in the box
  • 9. Theme Manager • Theme Development portlets (new in CF08) • convenient alternative to XmlAccess • simpler, more intuitive approach • self service capability for DX-on- Cloud customers
  • 10. Theme Manager create a theme from a template. copy, export, or delete a theme edit theme properties
  • 11. Web Developer Dashboard • work with Script Portlet applications, Themes, and WCM design elements in a simple UI • click to push or watch/sync applications and designs to a local or remote Portal server • use a simple UI to add and edit your theme modules and profiles • run script applications locally on test server
  • 12. Web Developer Dashboard Client machine: developer workstation or integration/build server Portal Server HTTP Script apps: “sp push” / HTTP Themes: DX Sync / WebDAV WCM designs: Node.js / REST HTTP HTTP Web Developer Toolkit Dashboard UI or Command line Scripts in WCM Themes in WebDAV WCM Designs in WCM Script files on local file system Theme files on local file system WCM design files on local file system Node.js Editors, build tools, compilers, source code management, etc.
  • 13. Theme Editor • edit the static content of a theme (HTML, CSS, JavaScript, etc) directly in a browser • available as a downloadable tech preview
  • 14. Simple Theme • minimal set of artifacts for an easy starting point and quick learning curve • responsive design supports all mobile devices • easily branded and customized using CSS/JS/HTML and editable via WebDAV • several of generic dynamic content spots are available • top navigation, mega menu, etc.
  • 15. Theme Analyzer • analysis and debugging tools available on Theme Development page
  • 17. Create New Theme • create “bootswatch” theme from the Simple Theme template • apply the theme to a page
  • 18. update branding add padding add a few layout templates
  • 19. Styles • styles define the aesthetics of the page – essentially a cascading style sheet • applied dynamically using page properties • let’s re-use bootswatch Bootstrap styles to provide options for users no other styles available in Simple Theme
  • 20. Styles • download the Cerulean Bootstrap style • create a styles.json file (because Simple doesn’t have one) using the DX toolkit
  • 21.
  • 22. Styles • /Dev/bootswatch/system/styles.json • /Dev/bootswatch/css • /cerulean • /bootstrap.min.css • /thumbnail.png • /cosmo • /bootstrap.min.css • /thumbnail.png • /slate • /bootstrap.min.css • /thumbnail.png { localizationPackageName:'com.ibm.bundl es', localizationBundleName:'Shelf', identifier:'label', items: [ {'label':'Cerulean','id':'cerulean.css','url':'c ss/cerulean/bootstrap.min.css','thumbna il':ibmCfg.themeConfig.themeRootURI+'/c ss/cerulean/thumbnail.png','help':''}, {'label':'Cosmo','id':'cosmo.css','url':'css/co smo/bootstrap.min.css’,’thumbnail':ibmCfg .themeConfig.themeRootURI+'/css/cosmo/ thumbnail.png','help':''}, {'label':'Slate','id':'slate.css','url':'css/slate/b ootstrap.min.css','thumbnail':ibmCfg.them eConfig.themeRootURI+'/css/slate/thumbn ail.png','help':'’ }] }
  • 23. this changed  this did not 
  • 24. Theme Templates • a theme template (e.g. theme.html) defines the structure of the site • contains both static and dynamic markup • static reference example • war: used to load static resources from a WAR file • dynamic markup <a rel='dynamic-content' href='dyn-cs:id:…'/> • modules are able to contribute dynamic content spots with the contribution type dyn-cs from a plugin.xml • beware localized templates; edit the NLS template inside /<theme>/nls/theme_en.html
  • 26. Theme Expression Logic • simple access to: • Portal models, meta data, resource environment providers (REP), etc • http://www- 01.ibm.com/support/knowledgecenter/SSH RKX_8.5.0/mp/dev- theme/themeopt_el_bean.dita ${wp.selectionModel.selected} = selected node ${wp.metadata[wp.selectionModel.selected]['someKey']} = access page meta data ${wp.rep['WP GlobalThemeConfig']} = REP access ${wp.identification[node]} = retrieve node object id ${wp.themeList.current.metadata['someKey']} = access theme meta data ${wp.ac[node].hasPermission[someRole]} = access permissions
  • 27.
  • 28. Skins • skins are what is displayed around a portlet • helpful if you want to mark the boundaries of a portlet or show additional function in edit mode
  • 29. Skins
  • 30. just a bit more padding manually adding the style to the skin html
  • 33. Modules • modules add resources to page markup – like additional Javascript libraries or CSS • simple modules can be created using folder structure • more advanced modules can be created using plugin.xml or JSON • deferred modules can be loaded dynamically
  • 34. Profiles • profiles aggregate modules – everything needed to successfully use a page
  • 35. Resources digitalExperience Developer Downloads https://developer.ibm.com/digexp/downloads/ Web Toolkit for IBM Digital Experience https://github.com/OpenNTF/WebDevToolkitForDx IBM Theme Editor for IBM WebSphere Portal https://greenhouse.lotus.com/plugins/plugincatalog.nsf/assetDetails.xsp?action=editDocument&documentId=4E6461C014E DEAC785257F20002B035F&cm_mc_uid=64973263975314642744284&cm_mc_sid_50200000=1464712288&Login Developing Themes for WebSphere Portal 8.5 https://www-10.lotus.com/ldd/portalwiki.nsf/xpViewCategories.xsp?lookupName=Developing Themes for WebSphere Portal 8.5 Bootstrap http://getbootstrap.com/ Bootswatch https://bootswatch.com/
  • 36. Lab • WP8.5_Lab_Theme_Customization • Located in community • Creating a custom theme and changing the page logo • Creating customized page styles • Creating customized page layouts • Understanding the new theme optimization framework. This includes the creation of custom profiles and modules.