Not signed in (Sign In)

SkillShare - A place to discuss Web Standards and Web Design topics

Categories

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

  1.  permalink
    I had a client approach me a few days ago. He has a very basic website and merley wants to add a blog to it. I have had a look at his site, and it appears to built using basic CSS. I really dont want to spend much time on this as i will more than likely get paid in random acts of kindness (a friend of the family)...so, does anyone have any ideas on some sort of blog i can integrate easily into an existing site? Preferably free as well (but not a must).

    I just need something thats simple, works efficiently, and wont take much time to integrate.

    Thanks guys :)
  2.  permalink
    Wordpress isn't that hard to integrate, but it does require a level of familiarity on the subject. Basically, you just insert the WP loops into the existing template. I have done this a couple of times recently, and it seemed easy enough if you have some basic php skills.
  3.  permalink
    What do you mean by "integrate"? You could certainly use Blogger or WordPress (both free) to power the blog content. The blog wouldn't necessarily have to integrate with the rest of your client's website; it could live on its own in a separate directory. It would literally take you under 2 hours to get it set up, and that includes an hour long nap.

    If it needs to be skinned to match the look & feel of the client's existing website, that will take more time, but it's really not that complicated at all to skin a Blogger or WP template.
    •  
      CommentAuthorDarren Hoyt
    • CommentTimeMar 23rd 2007 edited
     permalink
    Wordpress integration shouldn't take more than 3-4 hours. To experiment, get WP installed in a folder called /blog/. Then open wp-content/themes/default/index.php (back the page up in case you need it later). Then grab the relevant PHP loop:



    <?php if (have_posts()) : ?>

    <?php while (have_posts()) : the_post(); ?>

    <div class="post" id="post-<?php the_ID(); ?>">
    <h2><a href="<?php&phpMyAdmin=4594f30712f4fabaff6997416810f3f2 the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
    <small><?php the_time('F jS, Y') ?> <!-- by &lt;?php the_author() ?&gt; --></small>

    <div class="entry">
    <?php the_content('Read the rest of this entry &raquo;'); ?>
    </div>

    <p class="postmetadata">Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit', '', ' | '); ?> <?php comments_popup_link('No Comments &#187;', '1 Comment &#187;', '% Comments &#187;'); ?></p>
    </div>

    <?php endwhile; ?>

    <div class="navigation">
    <div class="alignleft"><?php next_posts_link('&laquo; Previous Entries') ?></div>
    <div class="alignright"><?php previous_posts_link('Next Entries &raquo;') ?></div>
    </div>

    <?php else : ?>

    <h2 class="center">Not Found</h2>
    <p class="center">Sorry, but you are looking for something that isn't here.</p>
    <?php include (TEMPLATEPATH . "/searchform.php"); ?>

    <?php endif; ?>



    Open an existing page from your friend's site. Remove old text from the content region. Replace it with your PHP loop, save it to the same index.php location, then test in the browser. There should only be a handful of other WP templates you'd need to integrate for a basic blog (archive.php, single.php, search.php, and so on).

    The only real time-consuming issue at hand might be how meticulous you are about styling individual classes as to look seamless against the existing design.
  4.  permalink
    Right food for thought. thanks folks...very much. I am going to give the two solutions (external blog and integrated blog) to my *friend* ;)

    I will try intergrate the blog into the site and see how it turns out. From the current design i dont think he is to fussy on what it will look like! :P I am guessing that he will need to find better hosting - another issue. Any good PHP hosting companies that you would reccomend?

    Vix**
Add your comments
    Username Password
  • Format comments as (Help)