270 likes | 283 Views
Learn how to use page templates effectively and creatively in your web projects. Explore the power and possibilities of page templates with practical examples and case studies.
E N D
Conference Number: 805-309-0248Participant Code: 880-0006 Power HourSeptember 2012 Page TemplatesLeveraging Page Templates for Good and Evil
Power Hour – September 2012 Agenda • Page TemplatesLeveraging Page Templates for Good and Evil • Survey Results • Webinar Schedule
Power Hour – September 2012 Page TemplatesLeveraging Page Templatesfor Good and Evil
Page Templates What are your goals for this session?
Page Templates What are your goals for this session? • Page templates as they relate to Reverb • I would like to put breadcrumbs in a separate frame so that they always remain in view • Details related specifically to Reverb, which I anticipate using in our next project Today +August 2012 Power HourReverb – Toolbar/Look-and-Feel Customizations Let’s talk about this one today!
Page Templates Topics to cover • Resources • Design • Syntax • Page.asp Tour
Page Templates Resources • Page Templates on wiki.webworks.comhttp://wiki.webworks.com/DevCenter/Documentation/PageTemplates • Power Hour – May 2010http://www.webworks.com/Recordings/2010/05/Power%20Hour%20-%20May%202010/
Page Templates Design • Template • Slots you can put stuff in • Visibility controls • Values Collection • Values for each slot • Conditions • When should something be visible?
Page Templates Template Design Value Collection Slot A Value for A Value for A Slot B Value for B Value for B Slot C Value for C Value for C Slot A Value for A
Page Templates Template Design Header Exists Header Body Footer Exists Footer
Page Templates Template Design Header Exists Conditions Header Header Exists Body Footer Exists Footer Exists Footer
Page Templates Syntax – Page.asp and XSL • Page templates are defined with XML (XHTML, FOP, etc.) • Namespace urn:WebWorks-Page-Template-Schema • Prefix wwpage
Page Templates Syntax – Page.asp • Content wwpage:content="..." wwpage:replace="..." Replace thewhole thing! wwpage:content wwpage:replace Stuff inside Change what’s on the inside Stuff inside
Page Templates Syntax – Page.asp • Conditions wwpage:condition="..." wwpage:condition wwpage:condition
Page Templates Syntax – XSL (pages.xsl, popups.xsl, …) • Replacements <wwpage:Replacement name="_name_" value="_value_" /> <wwpage:Replacement name="_name_">_value_ (can be text, XML, etc.) </wwpage:Replacement>
Page Templates Syntax – XSL (pages.xsl, popups.xsl, …) • Conditions <wwpage:Condition name="_name_" />
Page Templates Page.asp Tour • WarningComplex because there is only one • Could be simpler if broken out • Let’s do that while we take the tour!
Power Hour – September 2012 Survey Results
Survey Results When to meet:
Survey Results Voice Options:
Survey Results Topics to cover:
Survey Results Topics to cover: • High-level overview - Understanding where to find the main features for customizing XSLT code • XSLT basics and customizations using XSLT • How to embed a short video in WebWorks ePublisher
Power Hour – September 2012 Webinar Schedule
Webinar Schedule Power Hour: • October 25th at 1:00pm Central • ePublisher DevelopmentExploring the publishing process Sign-up atwww.webworks.com/eSchool/Power_Hour/
Webinar Schedule Show Me: • October 18th at 10:30am Central • Learn what the ePublisher platform can do for you • Repeats monthly on the 3rd Thursday Sign-up atwww.webworks.com/eSchool/Show_Me/
Webinar Schedule Study Hall: • October 10th at 1:00pm Central • Open forum for ePublisher users • Repeats monthly on the 2nd and last Wednesdays Join atwww.webworks.com/eSchool/Study_Hall/
Power HourSeptember 2012 Page TemplatesLeveraging Page Templates for Good and Evil