XSLT & Arena Promotions A flexible approach to web promotions Nick Airdo Software Engineer Central Christian Church

Slides:



Advertisements
Similar presentations
HTML Basics Customizing your site using the basics of HTML.
Advertisements

Seattle Drupal Clinic Introduction to Drupal and Web Content Management.
Microsoft Office Illustrated Fundamentals Unit M: Creating a Presentation.
Introducing new web content management tools for Priority...
HyperContent 2.0 JA-SIG Winter Conference December 5, 2005 Alex Vigdor, Columbia University.
HTML and Web Page Design Presented by Frank H. Osborne, Ph. D. © 2005 ID 2950 Technology and the Young Child.
® IBM Software Group © 2006 IBM Corporation Additional AJAX Examples and Workshops This learning module provides additional AJAX use cases and examples.
World Wide Web1 Applications World Wide Web. 2 Introduction What is hypertext model? Use of hypertext in World Wide Web (WWW) – HTML. WWW client-server.
Homepage Layout Management. Note: This is our last Core Publisher training in the series! You will be checking in with your Station Relations Support.
Philly.NET Hands-On jQuery + Plug-ins Bill Wolff, Rob Keiser.
Displaying Content in Core Publisher. Training 1: Site Administration Training 2: Programs Training 3: Content Tagging Training 4: Creating Posts Training.
#RefreshCache JavaScript Tricks Things you may not have realized you could do Nick Airdo Señor Software Monkey Central Christian Church (AZ)
 jQuery Mobile An Introduction. What is jQuery Mobile  A framework built on top of jQuery, used for creating mobile web applications  Designed to make.
Drupal Workshop Introduction to Drupal Part 1: Web Content Management, Advantages/Disadvantages of Drupal, Drupal terminology, Drupal technology, directories.
Review of last Session Adding custom html Adding custom html HTML is the language that web servers understand, all web pages are created using HTML. HTML.
JQuery CS 268. What is jQuery? From their web site:
Branded Websites. Branded Website Training Click the “Edit Pencil” to edit the website Enter in your iBoomerang username and password.
HTML & CSS A brief introduction. OUTLINE 1.What is HTML? 2.What is CSS? 3.How are they used together? 4.Troubleshooting/Common problems 5.More resources.
Creating A Simple Web Page. Step 1- Open Dreamweaver & Create A New Page (File New) and blank.
PhpXperts What is jQuery Javascript Library Fast and concise Simplifies the interaction between HTML and JavaScript.
Getting Started with Expression Web 3
CIS 250 Advanced Computer Applications Web Publishing.
Ch6:creating consistent looking web sites. Master pages Master page defines a combination of fixed content and content place holder to hold the web page(.aspx)
2015 Webmaster Training. 1.Site Navigation RWD Structure Sharing content areas 2.Dynamic Content Updates News/Blog Containers Calendars – Priority, Standard.
Go to the MTSD Home Page In the URL add “/admin”
Simple Pages for Omeka Lauren Dzura LIS
Overview of Previous Lesson(s) Over View  ASP.NET Pages  Modular in nature and divided into the core sections  Page directives  Code Section  Page.
PowerPoint Basics “Just what are we trying to do with this software anyway?”
School World Mr. Folk, MS Teacher & Campus’ Webmaster Metzger Middle School.
Creating Effective School and PTA Websites Sam Farnsworth Utah PTA Technology Specialist
Thesis Presentation IV – Fall Midterm Review NewMediaArts art 249 :: interface design II week 15 :: a.
Advanced Level Course. Site Extras Site Extras consist of four categories: Stationeries Site Trash Designs Components.
How to develop your website Chapter Websites Denise R. E. Copeland
PUBLISHING ONLINE Chapter 2. Overview Blogs and wikis are two Web 2.0 tools that allow users to publish content online Blogs function as online journals.
HTML: Hyptertext Markup Language Doman’s Sections.
Seattle Drupal Clinic Introduction to Drupal Part 1: Web Content Management, Advantages/Disadvantages of Drupal, Drupal terminology.
ECA 228 Internet/Intranet Design I Intro to Markup.
Build Your Own Website Review of week 3 Editing your header Editing your header Creating and navigating to hidden pages Creating and navigating to hidden.
MS Power point Tutorial
Louisa Lambregts, Louisa Lambregts
Core Publisher: Station Administrator Tools. Training 1: Site Administration Training 2: Programs Training 3: Content Tagging Training 4: Creating Posts.
Creating Google Sites Laura Assem, Director of Technology.
User Interface Design using jQuery Mobile CIS 136 Building Mobile Apps 1.
 2002 Prentice Hall. All rights reserved. 1 Chapter 2 – Introduction to the Visual Studio.NET IDE Outline 2.1Introduction 2.2Visual Studio.NET Integrated.
Intro to jQuery. What is jQuery? A JavaScript library Lightweight (about 31KB for the minified version) Simplifies HTML document traversing (DOM), event.
SHAREPOINT & JQUERY. Hi, my name and I am a product manager at lightning tools. I have been working with SharePoint for 5 years.
| imodules.com How to Use Encompass like an iModules Designer Presented by Craig Juneau, Erin Messel & John Stringer iModules Design Team.
Jeopardy Tabs commands Types of slide Show Effects Mis. Q $100 Q $200 Q $300 Q $400 Q $500 Q $100 Q $200 Q $300 Q $400 Q $500 Final Jeopardy.
: Information Retrieval อาจารย์ ธีภากรณ์ นฤมาณนลิณี
Fundamentals of Web DevelopmentRandy Connolly and Ricardo Hoar Textbook to be published by Pearson Ed in early Bootstrap.
EKTRON QUICK START GUIDEEKTRON QUICK START GUIDE Version 1.0 Copyright 2013 WebSolutions Technology, Inc. Fuller June 7, 2013.
Here are some things you can do while you wait 1.Open your omeka.net site in your browser (e.g. 2.Open.
DYNAMIC FAQ AND DOCUMENTATION PAGES IN SHAREPOINT A modern, reusable, and easy-to-use model.
HTML Introduction HTML Editors HTML Basic HTML Elements HTML Attributes HTML Headings HTML Paragraphs HTML Formatting HTML Links HTML Head HTML CSS HTML.
Quincy School District Joomla Overview August 24, 2009.
Making the website. Get your folders sorted first Create a new folder in “N” called “My hockey website” Create folders inside called “Documents”, “images”
New and upcoming features in Sitekit CMS
MS PowerPoint.
Create and edit web pages 4
Walk on the Client Side take a… Nick Airdo Software Engineer
Presentation Nuggets an alternative to MVC.
Tutorial 6 Topic: jQuery and jQuery Mobile Li Xu
PowerPoint Xpress Start
Chapter 2 – Introduction to the Visual Studio .NET IDE
1. Select the corporate promotions you want to have and their specific date. 2. Select the icon for the promotions you want. Move it to the calendar. (See.
Type your event details here
Type your event details here
1. Select the corporate promotions you want to have and their specific date. 2. Select the icon for the promotions you want. Move it to the calendar. (See.
Community Keys key features you should know about Nick Airdo
Presentation transcript:

XSLT & Arena Promotions A flexible approach to web promotions Nick Airdo Software Engineer Central Christian Church #RefreshCache

The Goal

Promotion Thumbnail Display Tenth Avenue North We’re excited to host Tenth Avenue North’s “The Light Meets the Dark Fall Tour” along with Addison Road and Matt Maher! Find Out More

CSS for Styling & Layout promotionThumbItemStyle - the TD style which contains the promotionThumb for the odd rows promotionThumbAltItemStyle - same as above, but for alternating rows promotionThumb - DIV container that holds the: –image (promotionThumbImg) –title (promotionThumbTitle) –summary text (promotionThumbSummary) –more info box (promotionThumbMoreInfo) promotionThumbImg - wraps the thumbnail image promotionThumbTitle - wraps the title and is also a link so it has associated "a" and "a:hover" styles. promotionThumbSummary - wraps the summary text promotionThumbMoreInfo - wraps the "more info" text and is also a link so it has associated "a" and "a:hover" styles.

Found several cool slideshow plug-ins… …but many expect that you control the markup featureShow

Final XHTML Tenth Avenue North We’re excited to host Tenth Avenue North’s “The Light Meets the Dark Fall Tour” along with Addison Road and Matt Maher!

PromotionsViaXSLT was Born Has most of the standard features plus: weighted randomize image effects…

Arena’s CachedBlob Image Effects

PromotionsViaXSLT is Born Has most of the standard features plus: use alternate Document/Media Type weighted (by priority) randomized image effects… cache results (configurable) use Person’s campus option priority level filtering configurable XSLT file

My XSLT

My XSLT (cont.)

Module’s XML Output (If you’re writing your own XSL, this is all you need to worry about )

this slide intentionally left blank

Contribute Now that we have a true shared repository… –It’s our intention to begin donating certain modules to the RC community so that you guys can edit, add features, fix bugs, etc.

One More Thing…

Promotions Via WS was Born Needed a way to fetch promotions via AJAX Wrote a jQuery plug-in with a Module interface –Fetches via WS webservices/custom/cccev/web2/promotionservice.asmx –Fetch in response to “CAMPUS_UPDATED” event –Module uses micro-templating (type=text/html)

Recall: Event Pooling CALENDAR_INFO_CHANGED : triggered by a component when filters or other input utilized by a calendar are changed. CALENDAR_VIEW_CHANGED : Indicates that a calendar view has changed. This is triggered by a calendar view module. CAMPUS_UPDATED : Indicates that a person's selected campus has been changed (completed). CAMPUS_UPDATING : Indicates that a person's selected campus is being changed. This is triggered by a component responsible for changing and/or recording a change with a person's selected campus. CONTENT_RENDERED : Indicates that page content has changed and is ready for post processing. For example, this event would typically be bound to a cufon type module that needs to update the font canvas.cufon TOPICS_UPDATED : Indicates that a person's selected Arena Topic Areas has been changed (completed). This is triggered by a component responsible for changing and/or recording a change with a person's preferred topics. TOPICS_UPDATING : Indicates that a person's selected campus is being changed. This is triggered by a component responsible for changing and/or recording a change with a person's selected campus. USER_LOGGED_IN : Indicates that a person's has completed logging into the site. Note: The "*_UPDATING" events are useful for binding to when you wish to fade out or hide some content area that is being changed in order to give the viewer a visual clue that some action is going to have an effect on.

John Resig’s JS Micro Templating {%= title %} {%= summary %} $("#promotion-template").render( promotions ).appendTo( aPlaceholderElem ); my JSON array

via the Module & it’s Settings module settings

module settings (cont.) function onSuccessCallback(result) { $("#feature-nav-prev").unbind('click'); $("#feature-nav-next").unbind('click'); $("#feature").featureShow({ prevId: 'feature-nav-prev', nextId: 'feature-nav-next', auto: true, continuous: true, speed: 2000, pause: 9000, textMaxWidth: 500 }); } < > function onSuccessCallback(result) { $("#feature-nav-prev").unbind('click'); $("#feature-nav-next").unbind('click'); $("#feature").featureShow({ prevId: 'feature-nav-prev', nextId: 'feature-nav-next', auto: true, continuous: true, speed: 2000, pause: 9000, textMaxWidth: 500 }); } < >

module settings (cont.) You can define an On Success Callback which will be called after the results are rendered

module settings (cont.) Your micro-template goes into the module details section

included in jQuery 1.5 core Oct 4 th, MS Templates plugin officially accepted But will be included in upcoming 1.5 core Templating syntax is slightly different: {{tmpl "summaryTemplate"}} Director: ${Director}

A RANDOM TIP And now for something completely different…

Hacking Admin Modules ™ Add this inside your standard UserControls/Admin/moduleinstancelist.ascx $(document).ready(function() { $("[id$='tbDetails']").autoResize({ // On resize: onResize : function() { $(this).css({opacity:0.8}); }, // After resize: animateCallback : function() { $(this).css({opacity:1}); }, // Quite slow animation: animateDuration : 300, // More extra space: extraSpace : 20 }); $("[id$='tbDetails']").focus(function() { $("[id$='tbDetails']").attr('Rows', 20 ); // set to 20 rows at first }); * in your swag bag

Hacking Admin Modules ™ To get a auto resizing Module Details textbox:

References Image Effects jQuery Templates