The Patriot's Ball
Posted: Wed Dec 22, 2010 6:23 am
Here is a website that has just been finished with CMS Made Simple.
The Patriot's Conference & Historic Ball
First, I purchased the Columbia Theme from Themeforest.net:
http://themeforest.net/item/columbia-corporate-theme-with-product-showcase/124113
But it was not in HTML5, so I converted it using Paul Irish's HTML5 Boilerplate.
Dynamic Menu Sprite with TruetypeText Module
I wanted to use the Gaudy Trajan Font with this website, but it does not have a license for @font-face. Therefore I had to choose between using static menu sprites, or using TruetypeText with a menu template to make it dynamically generate the menu images and combine them into one sprite to conserve page loading time.
So, I successfully did this, and will be happy to share the menu template and style.
I could have just used the script that created the roll-over effect for the original theme, but I wanted to use css-transitions. So I did that, and you can see nice roll-over effect in Chrome and Safari. It is as smooth as Flash. I'm still working on a script to do the roll-over effect for other browsers, but it keeps dying in IE for some reason.
Accessible Music With Iframe
The client wanted music for this site that doesn't reload when the visitors click on another page. So I wanted to add it using the avplayer module, in a way that allowed the visitor to easily turn it off.
So the home page template is special, because it uses javascript to detect the window size, and then refreshes and adds a couple of url parameters if the user has javascript turned on. I used {$smarty.get.height} and {$smarty.get.width} to construct the iframe so it perfectly fits the window on the first try.
If the visitor clicks the X to turn off the music is sets a cookie. So my home page template also checks {$smarty.cookies.xmusic} so it doesn't reload the music if they turned it off. [ For some reason this behavior is not working in Chrome. And my div that contains the player and the X to turn it off cannot be seen in IE7, but it works in IE6 and IE8. ]
Script Deploy and Mod_Pagespeed
In order to optimize the download time for this website, I have installed mod_pagespeed on the server. Not all of the filters are turned on, but it takes the TruetypeText images and makes them inline.
I used ScriptDeploy to combine and compress the CSS and the Javascript.
I also used the supersizer plugin to optimize images in the History section which is running on the CGBlog module.
There are three problems I have not been able to solve yet:
1. The #player div and the X to turn it off is not visible in IE7.
2. The jquery to turn off the music doesn't work in Chrome.
3. The IE9 script is not fixing the png background images in IE6.
Any suggestions would be very welcome.
I have really enjoyed building this website in CMS Made Simple! I am very grateful to everyone who has participated in building this excellent content management system. It really is very powerful.
CMS Version
1.9.1
Installed Modules
CMSMailer
2.0
FileManager
1.0.3
MenuManager
1.7.2
ModuleManager
1.4
News
2.11
nuSOAP
1.0.2
Printing
1.1.1
Search
1.6.7
ThemeManager
1.1.3
TinyMCE
2.8.1
TemplateExternalizer
1.2
ScriptDeploy
0.8
CodeMirror
0.1.8
AdvancedContent
0.7.1
TruetypeText
2.1.1
Gallery
1.4.3
CGSimpleSmarty
1.4.7
CGExtensions
1.22.1
CGBlog
1.7.1
CGFeedMaker
1.0.11
CGCalendar
1.5.6
JQueryTools
1.0.10
FormBuilder
0.6.4
PHPMyAdmin
3.1.1
avplayer
1.3.1
SEOTools
1.1
The Patriot's Conference & Historic Ball
First, I purchased the Columbia Theme from Themeforest.net:
http://themeforest.net/item/columbia-corporate-theme-with-product-showcase/124113
But it was not in HTML5, so I converted it using Paul Irish's HTML5 Boilerplate.
Dynamic Menu Sprite with TruetypeText Module
I wanted to use the Gaudy Trajan Font with this website, but it does not have a license for @font-face. Therefore I had to choose between using static menu sprites, or using TruetypeText with a menu template to make it dynamically generate the menu images and combine them into one sprite to conserve page loading time.
So, I successfully did this, and will be happy to share the menu template and style.
I could have just used the script that created the roll-over effect for the original theme, but I wanted to use css-transitions. So I did that, and you can see nice roll-over effect in Chrome and Safari. It is as smooth as Flash. I'm still working on a script to do the roll-over effect for other browsers, but it keeps dying in IE for some reason.
Accessible Music With Iframe
The client wanted music for this site that doesn't reload when the visitors click on another page. So I wanted to add it using the avplayer module, in a way that allowed the visitor to easily turn it off.
So the home page template is special, because it uses javascript to detect the window size, and then refreshes and adds a couple of url parameters if the user has javascript turned on. I used {$smarty.get.height} and {$smarty.get.width} to construct the iframe so it perfectly fits the window on the first try.
If the visitor clicks the X to turn off the music is sets a cookie. So my home page template also checks {$smarty.cookies.xmusic} so it doesn't reload the music if they turned it off. [ For some reason this behavior is not working in Chrome. And my div that contains the player and the X to turn it off cannot be seen in IE7, but it works in IE6 and IE8. ]
Script Deploy and Mod_Pagespeed
In order to optimize the download time for this website, I have installed mod_pagespeed on the server. Not all of the filters are turned on, but it takes the TruetypeText images and makes them inline.
I used ScriptDeploy to combine and compress the CSS and the Javascript.
I also used the supersizer plugin to optimize images in the History section which is running on the CGBlog module.
There are three problems I have not been able to solve yet:
1. The #player div and the X to turn it off is not visible in IE7.
2. The jquery to turn off the music doesn't work in Chrome.
3. The IE9 script is not fixing the png background images in IE6.
Any suggestions would be very welcome.
I have really enjoyed building this website in CMS Made Simple! I am very grateful to everyone who has participated in building this excellent content management system. It really is very powerful.
CMS Version
1.9.1
Installed Modules
CMSMailer
2.0
FileManager
1.0.3
MenuManager
1.7.2
ModuleManager
1.4
News
2.11
nuSOAP
1.0.2
Printing
1.1.1
Search
1.6.7
ThemeManager
1.1.3
TinyMCE
2.8.1
TemplateExternalizer
1.2
ScriptDeploy
0.8
CodeMirror
0.1.8
AdvancedContent
0.7.1
TruetypeText
2.1.1
Gallery
1.4.3
CGSimpleSmarty
1.4.7
CGExtensions
1.22.1
CGBlog
1.7.1
CGFeedMaker
1.0.11
CGCalendar
1.5.6
JQueryTools
1.0.10
FormBuilder
0.6.4
PHPMyAdmin
3.1.1
avplayer
1.3.1
SEOTools
1.1