1 / 27

Leveraging Page Templates for Good and Evil

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.

hlewis
Download Presentation

Leveraging Page Templates for Good and Evil

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Conference Number: 805-309-0248Participant Code: 880-0006 Power HourSeptember 2012 Page TemplatesLeveraging Page Templates for Good and Evil

  2. Power Hour – September 2012 Agenda • Page TemplatesLeveraging Page Templates for Good and Evil • Survey Results • Webinar Schedule

  3. Power Hour – September 2012 Page TemplatesLeveraging Page Templatesfor Good and Evil

  4. Page Templates What are your goals for this session?

  5. 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!

  6. Page Templates Topics to cover • Resources • Design • Syntax • Page.asp Tour

  7. 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/

  8. Page Templates Design • Template • Slots you can put stuff in • Visibility controls • Values Collection • Values for each slot • Conditions • When should something be visible?

  9. 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

  10. Page Templates Template Design Header Exists Header Body Footer Exists Footer

  11. Page Templates Template Design Header Exists Conditions Header Header Exists Body Footer Exists Footer Exists Footer

  12. Page Templates Syntax – Page.asp and XSL • Page templates are defined with XML (XHTML, FOP, etc.) • Namespace urn:WebWorks-Page-Template-Schema • Prefix wwpage

  13. 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

  14. Page Templates Syntax – Page.asp • Conditions wwpage:condition="..." wwpage:condition wwpage:condition

  15. 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>

  16. Page Templates Syntax – XSL (pages.xsl, popups.xsl, …) • Conditions <wwpage:Condition name="_name_" />

  17. 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!

  18. Power Hour – September 2012 Survey Results

  19. Survey Results When to meet:

  20. Survey Results Voice Options:

  21. Survey Results Topics to cover:

  22. 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

  23. Power Hour – September 2012 Webinar Schedule

  24. Webinar Schedule Power Hour: • October 25th at 1:00pm Central • ePublisher DevelopmentExploring the publishing process Sign-up atwww.webworks.com/eSchool/Power_Hour/

  25. 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/

  26. 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/

  27. Power HourSeptember 2012 Page TemplatesLeveraging Page Templates for Good and Evil

More Related