Not signed in (Sign In)

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

    • CommentAuthorbigu
    • CommentTimeMay 8th 2007 edited
     
    I have a homepage look like:

    http://www.9templates.com/misc/1.JPG

    Now i want customise to:

    http://www.9templates.com/misc/2.JPG

    Please tell me to do this!

    Thank you!
    • CommentAuthorjack
    • CommentTimeMay 8th 2007 edited
     
    First of all, I would never use adsense on a personal site, but than again this is perhaps no personal site :).

    It's more difficult because you would have to include the google code inside collections.php, but it's possible I think.
    Something like this (look near the bottom of the code):

    print '<ul id="slides">';
    while(plogger_has_collections())
    {
    $row = plogger_load_collection();
    $desc = plogger_get_collection_description();

    print '<li class="thumbnail"><a href="' . plogger_get_collection_url() . '">';

    // generate XHTML with thumbnail and link to picture view.
    print '<img class="photos" src="'.plogger_get_collection_thumb().'" title="'.$desc.'" alt="'.$desc.'" />';

    print '</a>';

    print plogger_download_checkbox(plogger_get_collection_id());

    print '<div class="tag">' . plogger_get_collection_name() ;
    print '<div class="meta-header">(';

    $num_albums = plogger_collection_album_count();
    print $num_albums . ' ';
    print ($num_albums == 1) ? "album" : "albums";

    print ')</div></div></li><li>adsense code</li>;
    }
    print '</ul>';
    } else {
    print "No collections yet";
    }


    <li> should get a display:block and float:left. Since you will have only two <li> in that place it could work this way.
    I thinks this wil ask for some trial and error :) since I don't know what kind of code Google uses.
    • CommentAuthorbigu
    • CommentTimeMay 9th 2007
     
    I cannot found the file named: collections.php in this script, why?

    I'm using 2.1b version!