Want to add blog functionality to my site. I always code by hand and have never used any premade systems

Al Neri

Diamond Member
Jan 12, 2002
5,680
1
81
OK i run a statistics website that I want to add the ability to put blog posts on the main page. Right now all I do is open the index php file and manually add in posts. I'm sure there is an easy way to just add a blog to the main index's content div without having to jump through many hoops.

I want to be able to put up my own posts and the bloggers that I have put their own posts up.

Before I go ahead and create my own system for this - is there an easy to integrate system?


Cliffs:

- Always did site by hand from scratch (PHP[with mysql] and html)
- Want to add a blog
- easy to use system to put posts up? I don't want to jump though hoops - just want to have it add itself to the <div> on the main page for content and be able to link to older posts (permalink)?
 

CrazyLazy

Platinum Member
Jun 21, 2008
2,124
1
0
Download and install wordpress. If you have fantistico on wherever you are getting hosted you can do it in 2 clicks without any technical knowledge. Sounds like you can handle a manually install though which still only takes 10 minutes top. Wordpress is really really good.
 
Oct 27, 2007
17,009
5
0
If you've always coded by hand, why the PHP/mySQL backend? Is it for the stats system?

Wordpress will require you to replace the entire website. If you know SQL/MySQL it's not a difficult task to set up a database table with your blog entries, a quick admin page for posting new entries and a SQL query in the content div to pull entries from the DB, if you feel like doing it by hand. However eventually your website will look like a big hacked mess if you do this too often. I would suggest ultimately switching to a CMS. My personal favourite is Drupal but there are many options out there.
 

manko

Golden Member
May 27, 2001
1,846
1
0
Wordpress is probably the way to go, but...

sNews is a very light and easy cms. Even if you don't use it, you can look at the code for some ideas.

sNews
Free templates

Code Igniter Tutorial is a video tutorial of how to roll-your own basic blog with the Code Igniter PHP framework.