1.0.0 Wild Release

Rating: No reviews yet
Downloads: 668
Change Set: 16187
Released: Jun 13, 2012
Updated: Jun 19, 2012 by lordofscripts
Dev status: Stable Help Icon

Recommended Download

Application Binaries v1.0.0
application, 43K, uploaded Jun 19, 2012 - 668 downloads

Release Notes

Fixes

  • Original project source did not compile using current development frameworks (ASP.NET MVC3, Razor view engine, .NET 4.0). Deprecated calls were updated and other minor fixes.

Changes or Enhancements

  • theme Original sources required views to be multiplicated. For every single view you had to copy it entirely and "theme" it. Any change to the view content required changes on as many theme versions. A maintenance nightmare.
  • theme In addition to the Session variable (original) also support the theme attribute of the <system.web><pages> element in web.config for Razor view engine just as the Web Forms view engine does.
  • Master/Layout files are now expected in a more restricted set of locations. Too much freedom leads to chaos.
  • Visual themes are now in the /Content/Themes folder where styles and styled images are expected. Previously you needed a theme folder underneath each of the View controller folders.
  • The global Site.css contains only layout and no theme information (no colors, etc.)
  • Inside each theme folder (/Content/Theme/name) there can be a stylesheet that defines colors that compose the theme. The either complement the colorless global Site.css or define a whole new CSS class.
  • The theme stylesheet in /Content/Theme/name/ should have either the same name of the theme or the standard name. For example the "Green" theme has inside a stylesheet that can be named either "Green.css" OR "Site.css" to complement the global /Content/Site.css.
  • The master layouts are now in the Views/Shared/Themes folder. Under /Views/Shared/Themes there should be a folder for each of the themes the website supports. In this directory you put a Layout.cshtml file if the theme uses a different layout, if not leave it empty and it uses the /Shared/Layout.cshtml.
  • The session theme may override the theme defined in web.config
  • The theme switcher dropdownlist now preselects the default theme defined in web.config's pages element.
  • Both views and partial views can be localized. For example _Login.es.cshtml Index.nl.cshtml and the localization file is in the same folder as the default language file.
  • The Theme Switcher controller (original source) has been moved to a separate DLL.

Reviews for this release

No reviews yet for this release.