Site Manager rocks!
-
Upload
gareth-saunders -
Category
Technology
-
view
104 -
download
0
description
Transcript of Site Manager rocks!
Site Manager rocks!This presentation goes up to 11
Gareth J M SaundersAssistant Information Architect/Web Manager
Chris GordonWeb Software Developer
T44U, Dublin - November 2009
Beta
Site Manager rocks!This presentation goes up to 11
Gareth J M SaundersAssistant Information Architect/Web Manager
Chris GordonWeb Software Developer
T44U, Dublin - November 2009
St AndrewsSt Andrews
St AndrewsSt Andrews
Founded 1413
Site Managerat St Andrews
December 2006 Installed Site Manager 5.1 (or 5.2)
May 2007 Launched first site
October 2008 Upgraded to Site Manager 6.0.0018
Summer 2009 Dev server installed with 6.2Soon? Upgrade live to 6.2
Currently 35 channels, inc. 11 RSS channels
“Could you ...?"A typical request
"We can do anything!"The University of St Andrews Web Team
"How would we do this ...?"Gareth
"We could use PHP ..."Steve
"Aye ... but is there any way we could get Site Manager to do it?"
Gareth
The answer is usually: YES
But occasionally the answer is no
Site Manager rocks!This presentation goes up to 11
Gareth J M SaundersAssistant Information Architect/Web Manager
Chris GordonWeb Software Developer
T44U, Dublin - November 2009
Top tipswhen rolling out sites using Site Manager
CaveatWe’re not experts, but these are the things we’ve found useful
1. Policies and proceduresThe exciting stuff first ...
Who is responsible for what?
Sign a partnership agreement
Thanks to Bill Mackintosh at the University of York for this advice
Naming conventions
Naming conventions
UPPERCASE, Mixed case or lowercase URLs? Per channel
Content e.g. webteam_about_garethjmsaunders
Styles and templates e.g. Divinity 1 Home
Media library categories Publish out as separate folders? TOOLS > CONFIGURATION
Media library items e.g. hr-policy-sickleave.pdf
Training and support
Development server
Going live policy ... test first
2. HacksIf it ain’t broke ... tweak it!
Hack #1: Firebug for Firefox http://getfirebug.com
CSS Selector navigation object
ProblemHow do I delete these?
CSS Selector navigation object
Hack!Use FirebugLocate the values in the codeDelete themUPDATE
Hack #2: Stylish for Firefox https://addons.mozilla.org/en-US/firefox/addon/2108
"Restyle the web with Stylish, a user styles manager."
Use Firebug to locate page elements Isolating the login input boxes
Stylish examples Log in screen
BeforeSmall login boxes
AfterWeb 2.0 treatment for the short-sighted
Stylish examples Site Hierarchy
BeforeVery subtle background colour on mouse-over hover
AfterHover more prominent
Stylish examples Media Library
BeforeThere is no media in which category?
AfterAh! that one!
Stylish examples Configuration
BeforeCentre-aligned headings
AfterLeft-aligned headingswith background-colour and hover-effect on rows
Hack #3: Greasemonkey for Firefox
JavaScript librariesCan be used with jQuery, MooTools, Prototype, Scriptaculous, etc.
WishlistHighlight any selected rows in User Management, Group Management, etc., or even move them to the top of the table to remove the need to scroll.
https://addons.mozilla.org/en-US/firefox/addon/748
"Allows you to customize the way a webpage displays using small bits of JavaScript..."
3. From design to T4Transferring your designs into Site Manager
Print out design onto A3 and mark-up by hand
Style elementsFind divide between header and footerRelated content required?Hard-coded elements
Navigation objectsShare existingCreate newWrite IDs onto diagram
Media elementsImagesCSSJavaScript
TemplatesShare existingCreate new
Use mind maps
Our uses include
Project management
Information architectureMigration (4,000+ pages)Re-architect 50+ sites
Page-level design
Design management
User permissions in T4
www.slideshare.com/garethjmsaunders/
4. Efficient codeImproving the Web one byte at a time
Duplicate standalone HTML code for quick mock-ups
TERMINALFOUR Site Manager Standalone HTML
Use version control
Efficient Work on different branches concurrently
Fail-safeRoll back quickly to an older version
Use frameworks
CSSBlueprint CSS960 Grid SystemYUI Grids
JavaScriptjQueryPrototype and ScriptaculousMooTools
PHPCakePHPSymphonyZend
Framework advantages v disadvantages
AdvantagesCross-browser supportFaster development timeWell-structured, modular codeCode consistencyVisual design cohesion
DisadvantagesOften non-semanticBloated code (may not need whole framework)LimitedInherit other people's bugsCan take time to learn
Optimize your code
Books
High Performance Web SitesSteve Souders (O'Reilly, 2007) ISBN 0-596-52930-9
Even Faster Web SitesSteve Souders (O'Reilly, 2009) ISBN 0-596-52230-4
Firebug add-ons
Yahoo! YSlowhttp://developer.yahoo.com/yslow/
Google Page Speedhttp://code.google.com/speed/page-speed/
5. Navigation objectsWhere do you want to go today?
Navigation objects
Site Manager 6.0
Related ContentRelated Content BranchBreadCrumbsCSS SelectorLink MenuReturn To IndexSection DetailsTop ContentBreadCrumb AdvancedLanguage SwitcherSection IteratorSite MapTop Stories
An average page
BreadCrumbs CSS Selector
Section Details
Content
Related Content Branch
Related Content
Link Menu
Where related content comes from
Advantages v disadvantages
AdvantagesSeparate content from designRestrict accessEasy to mirror information
DisadvantagesUsers often struggle to remember where to go to update information
Related Content navigation object
Use Child
Unique keyword
Related Content Branch navigation object
Use Child
Unique keyword
Predefined order in styles
rel_global_imagerel_imagerel_residencerel_global_contactsrel_contactrel_contentrel_global_contentrel_childrenrel_global_childrenrel_twitterrel_global_twitterrel_phprel_meeborel_global_openingtimesrel_openingtimesrel_rssfeedrel_global_applicationsrel_formsrel_global_forms...rel_global_internal_links
Main content ... everything else is related
Image carousel
Campaign buttons
Categories
Highlights
6. Alternate formattersReally useful ... if you can get your head around them
RSS feed link and autodiscovery
News
rel_rssfeed
Content uses the rssfeed template
Template has 2 formattersrelated/rsshead/rss
Two navigation objects in styles using each of the formatters
7. StatisticsWho, what, where, when ...
8. 404 Page not foundThese are not the droids you're looking for
www.st-andrews.ac.uk/error404/
How did I get here?
Site organsation
Search box
Popular pages
Help
www.abertay.ac.uk/error404/
How did I get here?
Site map
Search box
Feedback form
Recent changes
Help
www.strath.ac.uk/error404/
How did I get here?
Contact us
Search box
Most popular pages
Top search terms
9. PublishingHow not to be damned
Stagger the publish times of your channels
Otherwise ...
When do you schedule RSS publishing?
Hourly publishing schedule
Site Manager WWW
Transfer Manager
Approve by half past, live 50 minutes later
Transfer Manager
Site Manager WWW
The problem
If we schedule the RSS publish anywhere during those 50 minutes and a new News item has been approved after half-past then the RSS feed may publish out a link to a 404 depending on whether the HTML publish included it or not.
Example
09:30 HTML publish begins09:45 News item approved10:20 RSS feed published
with 404 link to latestnews item
11:20 News item finallypublished to HTML
+
Our solution
09:29 RSS publish to staging09:30 HTML publish to staging
10:09 Transfer all to live
+
10. htaccessApache experience
.htaccess - directory-level server configuration
.htaccess
Password protect require valid-user abc
Redirects redirect 301 /from /to
Error documents ErrorDocument 404 /errors/404
AddType AddType application/x-httpd .php
Password protect a directory
.htaccess
LDAP
require user abc1require user def2require user ghi3
/restricted
Publish as a channel?
AdvantagesCreate templateTight control on what information is enteredRestrict access to template
DisadvantagesChannels publish a file to every directory even if there is no content being published to that channel.
Channels also publish to 'empty' sections
Staff
Restricted
Students
Parents
.htaccess
.htaccess
.htaccess
.htaccess
Channel has only one piece of content
Every section is published to with blank .htaccess files
11. DeletedFor those users who don't understand what inactive means
Create a local deleted section within each site
Publish
Draft
Do not publish (hide)
Deleted
Content status: 4 values, 3 lights
Publish
Draft
Do not publish (hide)
Deleted
What's the difference between Expired and Inactive?
Expired
Inactive
How many of our users think of it
How TERMINALFOUR thinks of it
Expired
Inactive
Move content/sections you really want to delete
Purge only those items within a Deleted section
We salute you!For those about to use Site Manager
Thank you
Gareth J M [email protected]
Chris [email protected]
Questions, comments, suggestions, thoughts, ideas ...