Home arrow Services arrow News arrow Design arrow Anything but bashful

Anything but bashful

Published on Tuesday, 03 April 2007
It's time to get naked..

No style, no design, not even Javascript or Flash, just the raw information. April 5th is the . On this day this site will be without any style. This is all in an effort to promote web standards and good semantic markup. Its a day when web sites can show us what they are made of, the raw unstyled information. This is done in an effort to promote semantic and well formed markup and there will be a few design changes happening as a result. After all, as the entire point is to demonstrate good standards, why not make the good even better ?

Absalom Media is probably the first Joomla! based site to participate in the naked festivities, so here's what you need to do if you're Joomla! or Mambo based and want to join in from now on.

  1. Find your index.php file for your template
  2. Open it up in some form of web editor (Notepad, Textmate, Dreamweaver, Homesite)
  3. Find:

    <?php    if ($my->id) {
            include ("editor/editor.php");
  4. Add the following code after it:
        $start = date('U', mktime(-12,0,0,04,05,date(Y)));
        $end = date('U', mktime(36,0,0,04,05,date(Y)));
        $now = time();
      if ( $now >= $start && $now <= $end ) {
        <?php }
      else {
  5. Move all your CSS and Javascript to be directly after this new code i.e

      <link rel="stylesheet" href="templates/blah/css/template_css.css" type="text/css" />
      <link rel="stylesheet" href="templates/blah/css/menu.css" type="text/css" media="screen"/>
      <link rel="stylesheet" href="templates/blah/css/print.css" type="text/css" media="print" />

    Don't include items like textresizing Javascript or the RSS alternate link as part of the header in here, either. It would be bad to lose the feed from your site as part of this.
  6. Close off the logic with the following code:

     <?php }      
  7. Save and upload.
Your Joomla or Mambo template is now naked for the entire day, from now until the end of the Internet, for the full 48 hours across the world. Absalom Media is running a slight variant for localisation purposes.
blog comments powered by Disqus

“Probe, hypothesize, reprobe, rethink.”


Welcome to Absalom Media

Delivering web accessible websites

Absalom Media seeks to deliver industry best practice website usability and design for your budget.

As we are upgrading systems, login has been disabled.

Account management

As we are upgrading systems, account management has been temporarily disabled

What are you looking for?


Join us on Facebook

Follow us on Twitter

Talk to us on Skype

Generated in 0.50567 Seconds