Creating New Page and Section Templates Robert Kiffe Senior Web Developer, OmniUpdate, Inc.

Slides:



Advertisements
Similar presentations
XML-XSL Introduction SHIJU RAJAN SHIJU RAJAN Outline Brief Overview Brief Overview What is XML? What is XML? Well Formed XML Well Formed XML Tag Name.
Advertisements

What is XML? a meta language that allows you to create and format your own document markups a method for putting structured data into a text file; these.
Today CSS HTML A project.
XHTML Basics.
SPECIAL TOPIC XML. Introducing XML XML (eXtensible Markup Language) ◦A language used to create structured documents XML vs HTML ◦XML is designed to transport.
XML: Managing Data Exchange Stylesheets. Lesson Contents CSS The basic XSL file XSL transforms Templates Sort Numbering Parameters and Variables Datatypes.
History Leading to XHTML
Intermediate Level Course. Text Format The text styles, bold, italics, underlining, superscript and subscript, can be easily added to selected text. Text.
Markup Languages Controlling the Display Of Web Content.
Creating a Well-Formed Valid Document. 2 Objectives Introducing XHTML Creating a Well-Formed Document Creating a Valid Document Creating an XHTML Document.
Understanding Page Template Components Lila Bronson Training Manager, OmniUpdate, Inc.
WikiPlus customizations
Tutorial 3: Adding and Formatting Text. 2 Objectives Session 3.1 Type text into a page Copy text from a document and paste it into a page Check for spelling.
1 Agenda Views Pages Web Parts Navigation Office Wrap-Up.
Advanced XSL Concepts Transforming External Data Sources Vinit Varghese Implementation Manager, OmniUpdate.
Chapter 9 Collecting Data with Forms. A form on a web page consists of form objects such as text boxes or radio buttons into which users type information.
Creating a Simple Page: HTML Overview
OU Campus Intermediate Training Workshop. Agenda Administrator Overview and Roles Administrator Controls Administrator Configuration Setting Up Access.
Configuring Social Media, Google Analytics, and Gadgets Lila Bronson Training Manager, OmniUpdate, Inc.
>To add a component via Page Editor, go to the View tab and check the Designing checkbox to enter Designing mode. >Next, simply click the Component button.
LATTICE TECHNOLOGY, INC. For Version 10.0 and later XVL Web Master Advanced Tutorial For Version 10.0 and later.
Chapter 5 Java Script And Forms JavaScript, Third Edition.
XP Tutorial 9New Perspectives on Creating Web Pages with HTML, XHTML, and XML 1 Working with XHTML Creating a Well-Formed Valid Document Tutorial 9.
Sodexo Tridion CMS Overview. 2 –Country.com Advanced Training v ■ What is Tridion CMS? ■ Websites ■ Inside Tridion CMS ■ How to create a page.
Overview of Previous Lesson(s) Over View  ASP.NET Pages  Modular in nature and divided into the core sections  Page directives  Code Section  Page.
10-1 aslkjdhfalskhjfgalsdkfhalskdhjfglaskdhjflaskdhjfglaksjdhflakshflaksdhjfglaksjhflaksjhf.
XP Dreamweaver 8.0 Tutorial 3 1 Adding Text and Formatting Text with CSS Styles.
These Questions are copied from
Visual Web Design Dreamweaver Level 2. Hospitality Restrooms Food and Drink Turn cell phones off or set to vibrate Smoking Comfort Breaks Class Hours.
Creating Feeds for News, Events, and More Vinit Varghese Implementation Manager.
Dreamweaver MX. 2 Overview of Templates n Templates represent a web page design or _______ that will be common to multiple pages. n There are two situations.
End-User Training Editing Content with JustEdit Brandon Scheirman Instructional Designer, OmniUpdate.
1 Introduction  Extensible Markup Language (XML) –Uses tags to describe the structure of a document –Simplifies the process of sharing information –Extensible.
Tutorial 6 Working with Web Forms. 2New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition Objectives Explore how Web forms interact with.
1 Introduction to XML XML stands for Extensible Markup Language. Because it is extensible, XML has been used to create a wide variety of different markup.
Building Faculty Directories, Profiles, and More with MultiEdit Robert Kiffe & Bradley Prasuhn Senior Web DeveloperImplementation Manager OmniUpdate, Inc.
XML Introduction. Markup Language A markup language must specify What markup is allowed What markup is required How markup is to be distinguished from.
Customizing Aspen Templates TEC04 Elizabeth Lucchese.
CSE 409 – Advanced Internet Technology Today you will learn  Styles  Themes  Master Pages Themes and Master Pages.
Tutorial 3 Adding and Formatting Text with CSS Styles.
Administrator Training Lila Bronson Training Manager, OmniUpdate.
Web Technologies Lecture 4 XML and XHTML. XML Extensible Markup Language Set of rules for encoding a document in a format readable – By humans, and –
Looking at various Rich Message options in KRAD Kuali University: Apply Now Lab : Rich Messages Lab Objectives Understand what Rich Messages are and how.
Tutorial 6 Working with Web Forms. 2New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition Objectives Explore how Web forms interact with.
Landscaper 101. Time Code AMC AMCNET HELP!!! Where do you go for help? –Upper right corner has a ? for the online help –This presentation.
Information Architecture 2 Primary Readings - Designing With Web Standards: Chapters 5-8 Designing With Web Standards Deliverables - Design Critiques due.
Transportation Agenda 77. Transportation About Columns Each file in a library and item in a list has properties For example, a Word document can have.
XSLT: How Do We Use It? Nancy Hallberg Nikki Massaro Kauffman.
Jackson, Web Technologies: A Computer Science Perspective, © 2007 Prentice-Hall, Inc. All rights reserved Chapter 7 Representing Web Data:
INTERNET APPLICATIONS CPIT405 Forms, Internal links, meta tags, search engine friendly websites.
XML Introduction to XML Extensible Markup Language.
HTML Tutorial. What is HTML HTML is a markup language for describing web documents (web pages) HTML documents are described by HTML tags Each HTML tag.
XML Notes taken from w3schools. What is XML? XML stands for EXtensible Markup Language. XML was designed to store and transport data. XML was designed.
HTML for web designing short course. What is an HTML File? HTML stands for Hyper Text Markup Language An HTML file must have an htm or html file extension.
Tutorial 6 Creating Reusable Assets and Forms. Objectives Session 6.1 – Explore the head content of a page – Add keywords to a page – Add a meta description.
Presented by Michael Davis & Morgan Bibbs XML & XSL
What is New with the Website?
This is the cover slide..
Unit 4 Representing Web Data: XML
Chapter 7 Representing Web Data: XML
What’s a _resource and What Does It Do?
Customizing Editable Regions and Building Templates
Using Templates and Library Items
5.00 Apply procedures to organize content by using Dreamweaver. (22%)
MAKING XSL-PCF PAGES FROM SCRATCH
EDITING EXISTING TEMPLATES
3rd Party Widgets & Custom Code
EXTENDING COMPONENTS AND TABLE TRANSFORMATIONS WITH XSL
HTML CS 4640 Programming Languages for Web Applications
ASSETS, SNIPPETS & COMPONENTS
Presentation transcript:

Creating New Page and Section Templates Robert Kiffe Senior Web Developer, OmniUpdate, Inc.

Agenda Part 1 Background: OU Campus as a System Too Many Templates! Page ‘Tagging’ for Editable Regions Hands-On: ‘Tagging’ an HTML Page New Page Forms Hands-On: Creating New HTML Pages

Agenda Part 2 Background: The Move to XML/XSL What is a Publish Control File? Hands-On: Building a PCF Advanced New Page/Section Forms Hands-On: Creating New PCF Pages Hands-On: Creating New Sections Best Practices

BACKGROUND OU Campus as a System + Too Many Templates!

OU Campus as a System Basic Setup: two separate servers (Decoupled) Staging (OU Campus) Production (Web Server) OU Campus “Publishes” files to the web server using an (S)FTP connection. Published files are ‘stand-alone’ and do not require OU Campus to render.

Too Many Templates! XSL Templates New Page Templates Form Components: Image (GIF/PNG) TCF – Form for creating a new page/section TMPL – File template used for page creation PCF + XSL Interior Page One Column Two Column Etc… Design Templates HTML Layouts One Column Two Column Landing Homepage Etc…

PAGE TAGGING Editable Regions in OU Campus

Page Tagging: Overview Defines editable elements on a page Specialized Comment Tags or XML Nodes Original ‘comment’ format: New ‘comment’ format: New ‘node’ format: Unique to OU Campus Tags are utilized in “Preview” and especially “Edit” page states

Properties (now Parameters) Ex. … Defines editable elements outside traditional content areas Examples: Title ( Page Title ) Metadata Page Layout Options (PCF only) Form-like Data Entry (PCF only) Availability of properties can be restricted by group Extends the same page to be used for different uses

Region Dividers Ex. … Must close at the end of the region Multiple editable regions can be associated with a page, but “label” attribute must be unique Must include the following attributes: Label Group ‘Button’ identifier or ‘Path’ for include files Use “Path” attribute to define the path to a local file in ‘staging’, to simulate a server-side include

Editors Source Code Editor Example: Code … Must self-close (if node) Must be placed at the start of an editable region Two Types of WYSIWYG Editors (choice is set by administrators): Classic JustEdit (Just Released!) Important Attributes: wysiwyg = yes (default) | no (Source Editor) | asset (Asset Chooser) css-path = link to local CSS file to style editor contents css-menu = link to local text file to populate ‘styles dropdown’ wysiwyg-class = adds a CSS class inside ‘classic’ editor for styling purposes Additional attributes used depending on editor type

Side Topic: ‘Styles Dropdown’ Text file that is used for adding ‘classes’ to HTML objects in the WYSIWYG “block” setting will apply the class to the parent ‘block-level’ tag (ex. Paragraph, Divider (div), Image, etc.) Non-”block” (leaving blank) will default the class to being “in-line”, which means the WYSIWYG will wrap highlighted content in a SPAN with selected class Format:.class[TAB]Friendly Name[TAB]block(optional) Examples:.blueBlueTitleblock.highlightText Highlight Example Output (‘Highlighted’ was selected): Blue Title, Highlighted

MultiEdit Regions Text Field Example: Mathematics Allows for form-like content entry For more information, see: Building Faculty Directories, Profiles, and More with MultiEdit by Robert Kiffe & Bradley Prasuhn Thursday, 8-10 AM (Pacific Room)

Additional Tags Direct Edit Button: Full-page Source Editor Button: DateTime Stamp:

Hands-On: Tagging an HTML Page

NEW PAGE FORMS Creating New Pages in OU Campus

Template Structure

Template Control File (TCF)

Terminology TCF = Template Control File Can contain 4 lists: Variable List – Data Entry Directory List – Folder Creation Template List – File Creation Navigation List – Navigation Updates May use multiple TMPLs to create multiple files Multiple TCFs can reference a single TMPL May be used to pass Access Settings Can create RSS items Can only be edited in “Source Editor”

Terminology TMPL = Template Used to create *any* file type Can use ‘echo’ variable statements to collect data entered in TCF Ex. Fill out with as much or little starting data (or content) as desired. Can only be edited in “Source Editor”

Hands-On: Creating New HTML Pages

BACKGROUND The Move to XML / XSL

Advantages of XML / XSL Separates ‘Content’ from ‘Design’ XSL logic (scripting) can replace most Server Side coding Allows for adjustable layouts and optional features Required for LDP Galleries, LDP Forms, and PDF output Can be used to create multiple output ‘products’ for each page

XML eXtensible Markup Language In OU Campus PCF and XSL = XML Syntax Adheres to strict structure Contains custom element Main requirements Entities and markup are to be defined properly Requires a root element All tags must properly close Tags and attributes are case sensitive and must be properly quoted Elements must be properly nested

XSL eXtensible Stylesheet Language Transforms data into styled page Must be formatted in XML structure Will contain HTML structure, links to CSS, and client-side or server-side code Utilizes XPath syntax; ‘directions’ to content in PCF, and utility functions (like ‘string-length’) Are not published – changes are immediately available on staging Back up files before editing!

WHAT IS A PUBLISH CONTROL FILE? Converting to XML/XSL

PCF

Terminology PCF = Publish Control File An XML file, specialized for OU Campus Arbitrary extension name for pages in Staging Server Contains PCF stylesheet declaration(s) (XSL declaration) Contains parameters for Page Properties and metadata Contains tagging for: Editable regions Custom CSS/instructions for WYSIWYG Editor MultiEdit tagging

PCF Transformation Process (HTML, PHP, ASP...) CONTENTSTRUCTURE

Prologue XML declaration What version Encoding PCF-stylesheet declaration What XSL is transforming data What extension should be appended

Doctype Definition Called DTD Defines the root element Provides the entities and markup

Additional Parameters (Properties) Example: Admissions Must be placed inside “ouc:properties” tags Form-based data entry, typically used for layout settings Types: Text, Filechooser, Select, Radio, Checkboxes, DateTime Picker Availability of properties can be restricted by group Important Attributes: “name” - must be unique “prompt” - is the ‘label’ “alt” - is the help-text description “type” - (self-explanatory) defaults to ‘text’ “group” - defines group access to see field in ‘properties’ (defaults to ‘None’)

Hands-On: Building a PCF Page

NEW PAGE & SECTION FORMS Advanced

New Page Components Template Structure

Template Inheritance Skin: In OMNI-INF Shared across all accounts and sites Account: In OMNI-INF Shared across all sites Site: In OMNI-INF or Directory in Pages view

Hands-On: Creating New PCF Pages, Creating New Sections

Best Practices and Reminders Repurpose content when possible Share templates across sites when possible Use Template Groups to limit where certain files can be created, and to help reduce template ‘clutter’ Follow clear naming conventions and use hyphens Create contextual TCF image icons Utilize the Styles drop-down Plan out access settings and binary management Encourage and use the WYSIWYG Editor – It “repairs” HTML errors Always close tags/nodes For more in-depth information:

Q&A

Thank You! Don’t forget to take our survey outc15.com/surveys