SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Member
    Join Date
    May 2009
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Exclamation Help! Coding problem.

    Hey there, I'm using a new Blogger template. So far everything works great except the tabs on the left side. You see two "undefined"s written instead of the date that's supposed to be there. I've tried looking through the code and fixing it but I just can't figure it out. Perhaps someone more experienced can take a looksy at the code. I'd really really appreciate it. Thanks!

    <snip/>

    Here's what I'm working with on Blogger:

    Code HTML4Strict:
    <?xml version="1.0" encoding="UTF-8" ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns='http://www.w3.org/1999/xhtml' xmlns:b='http://www.google.com/2005/gml/b' xmlns:data='http://www.google.com/2005/gml/data' xmlns:expr='http://www.google.com/2005/gml/expr'>
      <head>
        <b:include data='blog' name='all-head-content'/>
        <title><data:blog.pageTitle/></title>
        <b:skin><![CDATA[/*
     
    -----------------------------------------------
    Theme Name: Color Paper
    Theme URI: http://www.freethemelayouts.com
    Description: Designed by <a href='http://freethemelayouts.com'>FTL</a>.<br> This work is licensed <a href='http://creativecommons.org/licenses/by-sa/3.0/'>Creative Commons Attribution-Share Alike 3.0 License.</a> This means you may use it and make any changes you like. However, credit links must remain on footer for legal use.
    Version: 1.0.0
    Author: FTL/DreamTemplate.com
    Author URI: http://www.freethemelayouts.com
     
    Converted to blogger template by FalconHive.com
    Theme URI: http://www.falconhive.com/2008/12/blogger-template-color-paper.html
    Version: 1.00
    Date: 23 December 2008
    Author URI: http://www.falconhive.com
    ----------------------------------------------- */
     
    #navbar-iframe {
       height:0px;
       visibility:hidden;
       display:none;
    }
     
    /* 00 - GLOBAL ELEMENTS
    /* ----------------------------------------------*/
    body {
    margin:0; padding:0;
    width:auto; height:auto;
    background:#29231d url(http://2.bp.blogspot.com/_kMUpUqMmduA/SVsIMdHP6yI/AAAAAAAABGU/4BZisJCAdEQ/s1600/background.gif) repeat-x top center;
    font:normal 0.75em Georgia, "Times New Roman", Times, serif; color:#6c6159;
    line-height:160%;
    }
     
    img {
    border:0;
    }
     
    blockquote, .box {
    margin:0; padding:10px 20px;
    background:#f1eddb;
    border:1px solid #e0d9b9;
    font:1.25em Georgia, "Times New Roman", Times, serif; color:#928071;
    }
     
    /* 01 - TYPOGRAPHY
    /* ----------------------------------------------*/
     
    h1 {
     
    }
     
    /* If your blog title/name is too large, you can reduce font size here */
    #logo h1 {
     
    font:bolder 25pt arial, sans-serif; color: #edeabc;
    margin-left: 21px;
    margin-top: -4px;
    }
     
    h2 {
    /* Does not display */
    }
    #logo h2 {
    display:none;
    text-indent:-9999px;
    }
     
    h3 {
    margin:0; padding:0;
    font:bold 2.50em Arial, Helvetica, sans-serif; color:#3b3632;
    }
     
    h3.page-title {
    margin:0; padding:0 0 20px 0;
    font-size:2.50em;
    background:url(http://img386.imageshack.us/img386/3405/pagetitledividerda9.png) no-repeat bottom center;
    }
     
    h4 {
    margin:0; padding:0;
    font:bold 2.00em Georgia, "Times New Roman", Times, serif; color:#64847E;
    }
     
    h5 {
    margin:0 0 10px 0; padding:0;
    font:2.00em Georgia, "Times New Roman", Times, serif; color:#64847E;
    }
     
    a:link,  a:visited {
    font-weight:bold; color:#3b3632;
    text-decoration:none; }
     
    a:active, a:hover { font-weight:bold; color:#64847E;
    text-decoration:none; }
     
    h3 a, h4 a {
    color:#64847E;
    }
     
    .post-meta a {
    font:bold 1em Arial, Helvetica, sans-serif; color:#989797;
    }
     
    #navigation a {
    font:normal 1em Georgia, "Times New Roman", Times, serif; color:#c4c4c3;
    }
     
    .footer-pages li a:link, .footer-pages li a:active, .footer-pages li a:visited {
    font:bold 1.20em Arial, Helvetica, sans-serif; color:#FFF;
    }
     
    #right-content li ul.tabs li a {
    margin:0; padding:2px 15px;
    width:auto; height:auto;
    line-height:35px;
    background:none;
    display:block; outline:0;
    font-weight:bold; color:#453c2f;
    }
     
    #right-content li ul.tabs li a:hover, #right-content li ul.tabs li a.active {
    background:#64847E;
    }
     
    #right-col .content a:link, #right-col .content a:active, #right-col .content a:visited {
    margin:0; padding:0 0 0 20px;
    font:normal 1.00em Georgia, "Times New Roman", Times, serif; color:#706c65;
    background:url(http://2.bp.blogspot.com/_kMUpUqMmduA/SVsIME8YlnI/AAAAAAAABGE/oR6O4lN_fPc/s1600/arrow.gif) no-repeat left center; display:block;
    }
     
    #right-content ul li, #right-content ul li a {
    margin:0; padding:0 0 0 12px;
    font:normal 1em Arial, Helvetica, sans-serif; color:#797a67;
    }
     
    .post-meta-single a {
    font-weight:normal; color:#c27127;
    }
     
    a:hover {
    text-decoration:none;
    }
     
    #navigation a:hover, #navigation li.current_page_item a {
    /* Loaded from external sheet */
    }
     
    #right-col .content a:hover {
    background:url(http://3.bp.blogspot.com/_kMUpUqMmduA/SVsIMH8dtXI/AAAAAAAABGM/gJPhzMCXLCw/s1600/arrow-hover.gif) no-repeat left center;
    color:#4b463d;
    }
     
    #right-content li ul.tabs li a:hover {
    /* Loaded from external sheet */
    }
     
    #right-content ul li a:hover {
    color:#64847E;
    text-decoration:none;
    }
     
    /* Universal Styles */
    .small {
    font-size:0.83em;
    }
     
    .medium {
    font-size:0.95em;
    }
     
    .large {
    font-size:1.25em;
    }
     
    .extralarge {
    font-size:2.00em;
    }
     
    .orange, .orange a {
    color:#d17226;
    }
     
    .orange, .orange a {
    color:#d17226;
    }
     
    .teal, .teal a {
    color:#84aaa3;
    }
     
    .green, .green a {
    color:#a7b526;
    }
     
    .orange, .orange a {
    color:#d38234;
    }
     
    .pink, .pink a {
    color:#cd5761;
    }
     
    .purple, .purple a {
    color:#8a8a8a;
    }
     
    .bluegray, .bluegray a {
    color:#959999;
    }
     
    .light, .light a {
    color:#a99b90;
    }
     
    .dark, .dark a {
    color:#413b37;
    }
     
    .weight-normal, .weight-normal a {
    font-weight:normal;
    }
     
    .weight-bold, .weight-bold a {
    font-weight:bold;
    }
     
    .verdana {
    font-family:Verdana, Arial, Helvetica, sans-serif;
    }
     
    .georgia {
    font-family:Georgia, "Times New Roman", Times, serif;
    }
     
    .inline {
    display:inline;
    }
     
    .block {
    display:block;
    }
     
    /* Misc */
    #featured p {
    font-size:1.14em;
    }
     
    /* Buttons */
    .btn, a.btn:link, a.btn:active, a.btn:visited, .submit {
    text-align:center;
    font:bold 1em Arial, Helvetica, sans-serif; color:#FFF;
    line-height:24px; 
    }
     
    .box {
    font-size:0.75em;
    }
     
    .btn-footer, a.btn-footer:link, a.btn-footer:active, a.btn-footer:visited {
    font-weight:bold; font-size:1.10em;
    }
     
    .post-meta, .post-meta-single {
    font:0.92em Arial, Helvetica, sans-serif; color:#989797;
    }
     
    .post-meta-single {
    font:normal 1.17em Georgia, "Times New Roman", Times, serif; color:#6c6159;
    }
     
    .tags {
    margin:5px 0 0 0;
    font:0.73em Arial, Helvetica, sans-serif; color:#827c78;
    display:block;
    }
     
    .tags a {
    font:0.83em Arial, Helvetica, sans-serif; color:#827c78;
    font-size:1em;
    }
     
    .post-date {
    text-align:center;
    }
     
    .month {
    margin:0 0 -5px 0; padding:5px 0 0 0;
    font:normal 0.92em Georgia, "Times New Roman", Times, serif; color:#737852;
    text-transform:uppercase;
    }
     
    .day {
    font:italic 1.75em Georgia, "Times New Roman", Times, serif; color:#737852;
    }
     
    #right-col {
    font:1em Arial, Helvetica, sans-serif; color:#797a67;
    line-height:130%;
    }
     
    #footer {
    font:normal 0.83em Arial, Helvetica, sans-serif; color:#dce7c0;
    }
     
     
    /* 02 - STRUCTURE
    /* ----------------------------------------------*/
     
    .clearfix:after {
    content: " ";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
    }
     
    .clearfix {
    display: inline-block;
    }
     
    html[xmlns] .clearfix {
    display: block;
    }
     
    * html .clearfix {
    height: 1%;
    }
     
    .left, .alignleft {
    float:left;
    }
     
    .right, .alignright {
    float:right;
    }
     
    #main {
    margin:0; padding:0;
    width:100%; height:100%;
    background:url(http://4.bp.blogspot.com/_kMUpUqMmduA/SVsJ1e8p6ZI/AAAAAAAABJM/SF21UOa4X_w/s1600/main-back.gif) no-repeat top center;
    position:relative;
    }
     
    #main-top {
    margin:0; padding:0;
    width:100%; height:100%;
    background:url(http://1.bp.blogspot.com/_kMUpUqMmduA/SVsJ1iRxjDI/AAAAAAAABJU/nCtuJ9glwJo/s1600/main-top.gif) no-repeat top center;
    position:relative;
    }
     
    #container {
    margin:0 auto; padding:0;
    width:955px; height:auto;
    }
     
    #content-back {
    margin:40px 0 0 0; padding:0;
    width:955px; height:auto;
    background:url(http://3.bp.blogspot.com/_kMUpUqMmduA/SVsINbrIWFI/AAAAAAAABHk/u3JPvfLkAhw/s1600/content-back.gif) repeat-y top center;
    overflow:visible;
    }
     
    #content-bottom {
    margin:0; 
    width:955px; height:auto;
    background:url(http://2.bp.blogspot.com/_kMUpUqMmduA/SVsINZCrkrI/AAAAAAAABHs/2KGY2yyr314/s1600/content-bottom.gif) no-repeat bottom right;
    float:left; 
    }
     
    #left-col {
    margin:0; padding:0;
    width:640px; height:auto;
    float:left;
    }
     
    #right-col {
    margin:-5px 0 0 0; padding:0;
    width:315px; height:auto;
    background:url(http://3.bp.blogspot.com/_kMUpUqMmduA/SVsJ1QPUMfI/AAAAAAAABJE/hVwIRbbg2j0/s1600/logo-back.png) no-repeat top center;
    float:right; position:relative;
    }
     
    #navigationed {
    margin:0 auto; padding:0;
    width:955px; height:87px;
    }
     
    #footer {
    margin:0 0 0 18px; padding:0;
    width:937px; height:101px;
    background:url(http://1.bp.blogspot.com/_kMUpUqMmduA/SVsIN_MU93I/AAAAAAAABIM/6qlY4a9iYyo/s1600/footer.gif) no-repeat bottom center;
    }
     
    #footer-back {
    margin:0; padding:0;
    width:100%; height:auto;
    background:url(http://3.bp.blogspot.com/_kMUpUqMmduA/SVsIOVdUJDI/AAAAAAAABIc/cqLn6XBQlAk/s1600/footer-repeat.gif) repeat-x bottom center;
    }
     
    #footer-bg {
    margin:0; padding:0 0 40px 0;
    width:100%; height:auto;
    background:url(http://2.bp.blogspot.com/_kMUpUqMmduA/SVsIOFWoTLI/AAAAAAAABIU/Pzz8JU50GiY/s1600/footer-back.gif) no-repeat bottom center;
    }
     
    /* 00 - HEADER
    /* ----------------------------------------------*/
     
    #navigation {
    margin:40px 0 0 7px; padding:5px 0;
    list-style:none; display:inline-block !important; display:inline;
    background:url(http://4.bp.blogspot.com/_kMUpUqMmduA/SVsJ1vSUV7I/AAAAAAAABJc/Viro3KRKga0/s1600/navigation.gif) no-repeat;
    }
     
    #navigation li {
    margin:0 12px; padding:0;
    float:left;
    }
     
    /* 00 - LEFT COLUMN
    /* ----------------------------------------------*/
     
    #colors {
    margin:-22px 0 0 0; padding:0;
    width:7px; height:192px;
    float:left; position:relative;
    }
     
    #featured {
    margin:-35px 0 -13px 0; padding:0;
    width:632px; height:358px;
    background:url(http://1.bp.blogspot.com/_kMUpUqMmduA/SVsINrSxBZI/AAAAAAAABH8/tT6oxJE18rA/s1600/featured.png) no-repeat top center;
    float:right; overflow:visible; position:relative;
    }
     
    #page-title {
    margin:-35px 0 -13px 0; padding:0;
    width:632px; height:238px;
    background:url(http://3.bp.blogspot.com/_kMUpUqMmduA/SVsJ12pOuCI/AAAAAAAABJk/5ihUgobv1Kk/s1600/page-title.png) no-repeat top center;
    float:right; overflow:visible; position:relative;
    }
     
    .featured-content {
    margin:0; padding:30px 40px 30px 35px;
    width:auto; height:237px;
    }
     
    .page-title-content {
    margin:0; padding:18px 20px 20px 20px;
    width:auto; height:117px;
    }
     
    .page-title-image {
    margin:0 20px 0 0; padding:0;
    width:124px; height:150px;
    float:left;
    }
     
    .page-title-image img {
    margin:0; padding:2px;
    border:1px solid #c3ba94;
    }
     
    .page-title-text {
    margin:0; padding:0;
    width:448px; height:auto;
    float:left;
    }
     
    .left-content {
    margin:0 35px 0 50px;
    /* Put it above the featured shadow. */
    position:relative; z-index:2;
    }
     
    .post {
    margin:0 0 25px 0; padding:0 0 35px 0;
    background:url(http://1.bp.blogspot.com/_kMUpUqMmduA/SVsJ2Ig7qYI/AAAAAAAABJs/D6E0pz-AylI/s1600/post.gif) no-repeat bottom left;
    }
     
    .post-meta {
    margin:30px 0 0 0; padding:0;
    }
     
    .post-meta-single {
    margin:16px 0 0 0; padding:0;
    }
     
    .post img {
    margin:10px;
    }
     
    img.wp-smiley {
    margin:0;
    float:none;
    }
     
    .post-date {
    margin:10px 0 -20px -85px; padding:0;
    width:53px; height:45px;
    background:url(http://1.bp.blogspot.com/_kMUpUqMmduA/SVsINl5FSWI/AAAAAAAABH0/l0H1YXF5t20/s1600/date.gif) no-repeat top center;
    position:absolute; position:relative; float:left; 
    display:inline; 
    }
     
    .pagination {
    margin:0 0 20px 0; padding:0;
    width:auto; height:auto;
    text-align:center;
    }
     
    .pagination a {
    margin:0 8px;
    font:normal 1em Georgia, "Times New Roman", Times, serif;
    line-height:26px;
    }
     
     
    /* 00 - RIGHT COLUMN
    /* ----------------------------------------------*/
     
    #logo {
    margin:0; padding:55px 0 0 0;
    width:auto; height:88px;
    }
     
    #logo img {
    margin:0 auto; display:block;
    }
     
    #right-content {
    margin:0; padding:0;
    list-style:none;
    }
     
    #right-content li {
    margin:0; padding:15px 30px 30px 20px;
    width:auto; height:auto;
    background:url(http://img386.imageshack.us/img386/2208/sidebardividernx1.gif) no-repeat bottom right;
    }
     
    #right-content ul {
    margin:0; padding:15px 30px 30px 20px;
    width:auto; height:auto;
    background:url(http://img386.imageshack.us/img386/2208/sidebardividernx1.gif) no-repeat bottom right;
    }
     
    #right-content li ul {
    margin:0; padding:0;
    width:auto; height:auto;
    list-style:none;
    }
     
    #right-content ul li {
    margin:0 0 0 -13px; padding:11px 0;
    width:auto; height:auto;
    background:url(http://1.bp.blogspot.com/_kMUpUqMmduA/SVsJ2hVJZAI/AAAAAAAABKE/0mJIecbxf3E/s1600/sidebar-list-divider.gif) no-repeat bottom left;
    list-style:none;
    }
     
    #right-content h2 {
    margin:0; padding:15px 30px 0px 20px;
    font:normal 2.00em Georgia, "Times New Roman", Times, serif; color:#64847E;
    }
     
    #ArchiveList {
    margin:0; padding:15px 30px 30px 20px;
    width:auto; height:auto;
    background:url(http://img386.imageshack.us/img386/2208/sidebardividernx1.gif) no-repeat bottom right;
    }
     
    #ArchiveList ul {
    background: none;
    }
     
    .ads img {
    margin:0 3px;
    }
     
    /* Tabs */
     
    #tabs {
    margin:-3px 0 0 0; padding:12px 15px 40px 15px;
    width:auto; height:auto;
    background:#f9f9e6 url(http://3.bp.blogspot.com/_kMUpUqMmduA/SVsJ2uajYII/AAAAAAAABKM/jdfljwttakE/s1600/tabs.gif) no-repeat bottom center;
    }
     
    #right-content li ul.tabs {  
    margin:0; padding:0; 
    }  
     
    #right-content li ul.tabs li {
    margin:0; padding:0;
    list-style:none;
    width:33.33% !important; width:32%; height:auto;
    display:inline; float:left; text-align:center;
     
    }
     
    #right-content li #popular li, #right-content li #comments li, #right-content li #featureded li {
    margin:15px 0; padding:0;
    background:none;
    }
     
    #right-content li #content_2, #right-content li #content_3 { 
    display:none; 
    }
     
    #flickr {
    background:none;
    }
     
    #flickr img {
    margin:5px 5px 0 0; padding:3px;
    float:left;
    background:url(http://1.bp.blogspot.com/_kMUpUqMmduA/SVsIN94slHI/AAAAAAAABIE/lQikb1HTlFY/s1600/flickr.gif) no-repeat top center;
    border:1px solid #dcdab8;
    }
     
     
    /* 00 - FOOTER
    /* ----------------------------------------------*/
     
    #footer p {
    margin:0; padding:5px 0 0 30px;
    }
     
    #footer div {
    float:left;
    width:500px;
    }
     
    .footer-pages {
    margin:0; padding:25px 30px 0 30px;
    list-style:none;
    }
     
    .footer-pages li {
    margin:0 0 0 10px; padding:0 0 0 10px;
    float:left;
    border-left:1px solid #c7d37c;
    }
     
    .footer-pages li.first {
    margin:0; padding:0;
    float:left;
    border-left:0;
    }
     
    /* 00 - COMMENTS
    /* ----------------------------------------------*/
     
    .commentlist {
    margin:0; padding:0;
    width:auto; height:auto;
    list-style:none;
    }
     
    .commentlist li {
    margin:0; padding:20px;
    width:auto; height:auto;
    background:url(http://1.bp.blogspot.com/_kMUpUqMmduA/SVsINKo7NGI/AAAAAAAABHU/gEXD-CIoNiI/s1600/comments-divider.gif) repeat-x bottom center;
    }
     
    .commentlist li.alt {
    margin:0; padding:20px;
    width:auto; height:auto;
    background:url(http://2.bp.blogspot.com/_kMUpUqMmduA/SVsINAMk5uI/AAAAAAAABHc/GOxJP4haG8c/s1600/comments-divider-alt.gif) repeat-x bottom center;
    }
     
    .comment-author {
    margin:0; padding:0;
    width:140px; height:auto;
    float:left; text-align:right;
    }
     
    .comment-author img {
    margin:0 0 7px 0; padding:0;
    }
     
    .comment-text {
    margin:0; padding:0 0 0 10px;
    width:350px; height:auto;
    float:right;
    text-align:left;
    font-family:Verdana, Arial, Helvetica, sans-serif;
    border-left:1px solid #dddfc7;
    }
     
    .comment-text p {
    margin:0 0 10px 0; padding:0;
    }
     
    /* 00 - BUTTONS
    /* ----------------------------------------------*/
     
    .btn {
    margin:0 6px 0 0; padding:0;
    width:86px; height:24px;
    display:inline-block;
    }
     
    .btn-orange {
    background:url(http://1.bp.blogspot.com/_kMUpUqMmduA/SVsIMhYxUgI/AAAAAAAABGs/RWh2-_FnItg/s1600/btn-orange.gif) no-repeat top center;
    }
     
    .btn-teal {
    background:url(http://4.bp.blogspot.com/_kMUpUqMmduA/SVsIM5g37NI/AAAAAAAABHE/Vsepwr1OPFs/s1600/btn-teal.gif) no-repeat top center;
    }
     
    .btn-pink {
    background:url(http://1.bp.blogspot.com/_kMUpUqMmduA/SVsIMpip3jI/AAAAAAAABG0/xJcrFGHo8oA/s1600/btn-pink.gif) no-repeat top center;
    }
     
    .btn-purple {
    background:url(http://4.bp.blogspot.com/_kMUpUqMmduA/SVsIMs0oFhI/AAAAAAAABG8/KlUkYZkP7fU/s1600/btn-purple.gif) no-repeat top center;
    }
     
    .btn-green {
    background:url(http://4.bp.blogspot.com/_kMUpUqMmduA/SVsIMcV1IXI/AAAAAAAABGk/AXVhWOwq6zo/s1600/btn-green.gif) no-repeat top center;
    }
     
    .btn-footer {
    margin:43px 30px 0 0;
    background:url(http://1.bp.blogspot.com/_kMUpUqMmduA/SVsIMQFureI/AAAAAAAABGc/BlNsp4HaRbA/s1600/btn-footer.gif) no-repeat top center;
    }
     
    /* 00 - COLORS
    /* ----------------------------------------------*/
    .color-orange, .color-blue, .color-green, .color-pink, .color-purple {
    margin:0 0 3px 0; padding:0;
    width:8px; height:31px;
    background:url(http://3.bp.blogspot.com/_kMUpUqMmduA/SVsIM2qe5BI/AAAAAAAABHM/Aw2xb8i8yJ4/s1600/colors.gif);
    display:block;
    text-indent:-9999px; outline:0;
    }
     
    .color-purple {
    background-position:0px 31px;
    }
     
    .color-pink {
    background-position:0px 62px;
    }
     
    .color-green {
    background-position:0px 93px;
    }
     
    .color-orange {
    background-position:0px 124px;
    }
     
    /* 00 - FORMS
    /* ----------------------------------------------*/
     
    .text {
    margin:0; padding:4px;
    background:url(http://4.bp.blogspot.com/_kMUpUqMmduA/SVsL7TAZZaI/AAAAAAAABKU/OmJoCiMFzic/s1600/input.gif);
    border:1px solid #c8c2b0;
    font:8pt Arial, Helvetica, sans-serif; color:#989271;
    }
     
    .text:focus {
    border:1px solid #948e72; color:#62574c;
    }
     
    label {
    font:0.83em Verdana, Arial, Helvetica, sans-serif; color:#909084;
    }
     
    .submit {
    border:0;
    }
     
    .textarea {
    width:520px;
    }
     
    #blog-pager-newer-link{padding-left:20px;float:left}
    #blog-pager-older-link{padding-right:20px;float:right}
    #blog-pager{text-align:center}
     
    ]]></b:skin></head>
     
    <body>
      <a name='top'/>
    <div id='footer-back'>
    <div id='footer-bg'>
     
    <!-- Main -->
    <div id='main'>
    <div id='main-top'>
     
      <div id='navigationed'>
        <ul class='clearfix' id='navigation'>
    	  <li><a expr:href='data:blog.homepageUrl'>Home</a></li>
    	  <li><a expr:href='data:blog.homepageUrl + &quot;feeds/posts/default&quot;' title='Post RSS'>Posts RSS</a></li>
    	  <li><a expr:href='data:blog.homepageUrl + &quot;feeds/comments/default&quot;' title='Comments RSS'>Comments RSS</a></li>
        </ul>
      </div>
     
    <!-- Container -->
    <div id='container'>
    <div class='clearfix' id='content-back'>
    <div id='content-bottom'>
     
    <div id='left-col'>
     
    <div class='clearfix'>
     
    <div id='colors'>
    <a class='color-blue'>Blue</a>
    <a class='color-orange'>Orange</a>
    <a class='color-green'>Green</a>
    <a class='color-pink'>Pink</a>
    <a class='color-purple'>Purple</a>
    </div>
     
    <div id='featured'>
    <div class='featured-content'>
    <b:section class='content0' id='content0' showaddelement='no'>
    <b:widget id='HTML1' locked='true' title='Thoughts...' type='HTML'/>
    </b:section>
    </div>
    </div>
     
    </div>
    <!-- /Clearfix -->
     
    <!-- Content -->
    <div class='left-content'>
    <b:section class='content1' id='content1' showaddelement='no'>
    <b:widget id='Blog1' locked='true' title='Blog Posts' type='Blog'/>
    </b:section>
     
      <!-- Navigation -->
      <div class='pagination'>
      <div class='alignleft'/>
      <div class='alignright'/>
      </div>
      <!-- /Navigation -->
     
     
    </div>
    <!-- /Left-content -->
     
    </div>
    <!-- /Left-col -->
     
    <!-- /Right-col -->
    <div id='right-col'>
     
    <div id='logo'>
     
      <!-- Blogtitle -->
      <h1>Internet Empire</h1>
      <!-- /Blogtitle -->
     
    </div>
     
    <div id='right-content'>
     
      <li><h5>Home</h5>
      <ul>
     
    <li><a href='http://**********'>Start Over</a></li>
     
    <li><a href='http://picasaweb.google.com/**********/FaceItThisShipIsGoingDownArt#'>Art</a></li> 
     
    <li><a href='http://www.facebook.com/people/**********/146700386'>Facebook</a></li> 
     
    <li><a href='http://www.amazon.com/wishlist/1OQ65P668H0X2'>Wishlist</a></li>
     
    <li><a href='http://picasaweb.google.com/**********'>Photo Albums</a></li>
      </ul>	
      </li>
     
    <!-- Sidebar -->
    <b:section class='sidebar1' id='sidebar1' preferred='yes'>
    <b:widget id='Label1' locked='false' title='Labels' type='Label'/>
    <b:widget id='BlogArchive2' locked='false' title='Journals' type='BlogArchive'/>
    </b:section>
     
      <li><h5>Search</h5>
      <ul>
      <div class='box'>
    	<form action='/search' id='searchform' method='get'>
    	  <div><input class='text' id='s' name='q' size='40' type='text' value=''/>
          <br/>
          <br/>
          <input class='btn submit btn-green' id='searchsubmit' type='submit' value='Search'/>
          </div>
        </form>
      </div>
      </ul>
      </li>
     
    </div>
    <!-- /Right-content -->					
     
    <br/>
    <br/><br/><br/>	
     
    </div>
    <!-- /Right-col -->
     
    </div>
    </div>
    <!--  /Content-back -->
     
    <!-- Color Paper Blogger Template comes under a Creative Commons License. 
    This means it is free to use on your blog as long as the credit link in the footer is kept intact 
    FalconHive.com
    -->
     
    <!-- Footer -->	
    <div class='clearfix' id='footer'>
    <div>
      <ul class='footer-pages clearfix'>
        <li class='first'><a href='http://**********/'>Home</a></li>
        <li class='page_item'><a expr:href='data:blog.homepageUrl + &quot;feeds/posts/default&quot;' title='Post RSS'><span>Posts RSS</span></a></li>
        <li class='page_item'><a expr:href='data:blog.homepageUrl + &quot;feeds/comments/default&quot;' title='Comments RSS'><span>Comments RSS</span></a></li>
     
      </ul>
    <br/><p><big><strong> Copyright <a expr:href='data:blog.homepageUrl'><data:blog.title/></a>. All rights reserved.</strong></big>
    <br/>Designed by FTL <a href='http://www.falconhive.com' target='_blank' title='Falcon Hive'>FalconHive.com</a></p>
     
    </div>
    <a class='btn btn-footer right' href='#'>Back to Top</a>
    </div>
    <!-- /Footer -->
     
    </div>
    <!-- /Container -->
     
    </div>
    </div>
    <!-- /Main -->
     
    </div>
    <!-- /Footer-back -->
    </div>
    <!-- /Footer-bg -->
    <script type='text/javascript'>
    var gaJsHost = ((&quot;https:&quot; == document.location.protocol) ? &quot;https://ssl.&quot; : &quot;http://www.&quot;);
    document.write(unescape(&quot;%3Cscript src='&quot; + gaJsHost + &quot;google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E&quot;));
    </script>
    <script type='text/javascript'>
    try {
    var pageTracker = _gat._getTracker(&quot;UA-7618118-2&quot;);
    pageTracker._trackPageview();
    } catch(err) {}</script>
     
    </body></html>
    Last edited by Mittineague; Oct 11, 2010 at 20:24. Reason: per OP request

  2. #2
    Programming Team silver trophybronze trophy
    Mittineague's Avatar
    Join Date
    Jul 2005
    Location
    West Springfield, Massachusetts
    Posts
    17,189
    Mentioned
    191 Post(s)
    Tagged
    2 Thread(s)
    The page throws several "timesplit[1] has no properties" errors.
    Code JavaScript:
    <script type='text/javascript'>
    	  var timestamp = "9:32 PM";
    	  if (timestamp != '') {
    		var timesplit = timestamp.split(",");
    		var date_yyyy = timesplit[2];
    		var timesplit = timesplit[1].split(" ");
    		var date_dd = timesplit[2];
    		var date_mmm = timesplit[1].substring(0, 3);
    	    }
        </script>
    The code is trying to split "9:32 PM" into an array by splitting on commas that aren't there.

  3. #3
    SitePoint Member
    Join Date
    May 2009
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Do you know how I should change that? According to the layout's how-to, I had to change my date settings to "Thursday, January 6, 2009" instead of something like "1/6/09" or "6/2009", etc. I did that. Now all that's supposed to show in that tab is the month (January) at the top and the day (6) underneath it. Now there's a whole BUNCH of commas to work with.

  4. #4
    Programming Team silver trophybronze trophy
    Mittineague's Avatar
    Join Date
    Jul 2005
    Location
    West Springfield, Massachusetts
    Posts
    17,189
    Mentioned
    191 Post(s)
    Tagged
    2 Thread(s)
    If the javascript is using the usual array keys (beginning with 0 not 1), then the format it is expecting is
    [????], [???] mmm dd, yyyy

    I don't know the choices you have available, but I'm guessing it's something like
    Saturday, 12:04:12 May 02, 2009


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •