Not signed in (Sign In)

Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthorbeazleybub
    • CommentTimeNov 3rd 2009 edited
     
    I have been building my website as XHTML 1.0 Strict and really had a hard time finding any gallery script that was in compliance. I found Plogger and was like great! Finally, my quest for a reliable and W3C compliant gallery has come to the end!

    Until I ran a W3C Validation check. OH, NOOOOOOO! A warning and an error!

    Here's the good news! It was a very simple fix really, and I wanted to share the updates with you.

    For the first warning open ( your installation directory/index.php ) and edit.

    Find at line 25:

    <head>
    <?php the_plogger_head(); ?>
    </head>


    Replace with:

    <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
    <?php the_plogger_head(); ?>
    <title><?php echo get_head_title() ?></title>
    </head>


    For the second error open ( your installation directory/plog-includes/plog-functions.php ) and edit.

    Find at line 385:

    <div id="search-box">
    <input type="text" id="searchterms" name="searchterms" />
    <input class="submit" type="submit" value="'.plog_tr('Search').'" />
    </div>';
    if (!$config['use_mod_rewrite']) {
    $output .= "\n\t\t\t\t\t" . '<input type="hidden" name="level" value="search" />';


    Replace with:

    <div id="search-box">
    <input type="text" id="searchterms" name="searchterms" />
    <input class="submit" type="submit" value="'.plog_tr('Search').'" />';
    if (!$config['use_mod_rewrite']) {
    $output .= "\n\t\t\t\t\t" . '<input type="hidden" name="level" value="search" /></div>';



    Thats it! Your back in compliance!

    Thanks for a great script!

    Plogger has to be the best soulution I have found for a reliable and simple gallery!