View Full Version : Static site to blog...

11-23-2006, 06:27 AM
I am considering turning my plain html site into a simple blog structure (at least the first page). It sure would be a lot easier to update. I really don't know what this would entail though.

I just want to be able to add content to my main page on a continual basis without worrying about code; something I'm not very good at.

Has anyone done this?
Would this switch be complicated?
Could I keep the layout and just make the "blog" section on the first page? What I need is simple; is the execution as simple?

My URL is http://chronicle.patrickalparone.com/ :confused:

11-23-2006, 06:31 AM
Okay, from my understanding (mind you im in Germany and it is 7:30 AM) you want a simple blog on your first page! Very simple.. create an administration page where you can use a password to access, have it where you can submit and delete entries into a database, and have your main page pull your entries from the database! Hopefully this is what your thinking of, if not.. hit me up on a message in further detail and I can help!


11-23-2006, 06:34 AM
I have indeed done this before,

you have two main options regarding your projecy:
A: store posts on flat files
B: store posts in a database

the complication level would be different according to how you store posts and your level of PHP knowledge. If you are unsure on how to go about coding this I suggest taking a look at the many open source blog projects on the net.

I am not sure what you are asking by your third question, but I believe you are asking if you can just make your first page a blog? if I am correct then yes it is possible and you do not have to change your layout.

11-23-2006, 06:34 AM

Good morning:)
That is exactly what I'm trying to do. I'm a bit sketchy on the beginning steps. I am slightly familiar with wordpress. Would that help?
Is there a site that runs down the steps in creating the administration page and how to pull them onto your blog page?

11-23-2006, 06:37 AM
A quick search on google has revealed this, it may be of some interest to you

11-23-2006, 06:50 AM
Alrighty, personally I dont use programs except Notepad to build websites! I love doing things myself, from scrap.. which means I dont use "Half scripts" from different websites! Here are a few helpful tips...

http://freesql.org - this site gives you a free database, whether you want to use MYSQL or PostgreSQL

When building your admin page, you can use "If" statements and have it all on one page, making this very secure! I can even help you with code if you'd like.

www.php.net/manual/en/ is also a great site for help when it comes to php and mysql questions.

www.smartftp.com (http://www.smartftp.com/) a program I use to upload files to my server (webhost for most people)

If you do need help, here is my email address (mailto:webmaster@balls2wall.com) and I will be more then happy to help you out!


11-23-2006, 07:13 AM
Thanks so much! I think there is enough here for me to chew on for a while. I might take you up on your offer for help!!


11-23-2006, 12:06 PM
Well friends, it's been five straight hours at this but i finally built by blog.:cool:
Now for part II:

I need to figure out how to put my blog (http://chronicle.patrickalparone.com/blogmain.php), into the main area of my webpage (http://chronicle.patrickalparone.com/)

Do I simply paste the php into that section and rename it index.php?

11-23-2006, 02:03 PM
Try renaming your index page to index_old and renaming blogmain.php to index.php.

Do a search[blogmain.php] / replace [index.php] in all blog scripts.

Copy / paste html from index_old into index.php.

11-23-2006, 06:00 PM
A quick search on google has revealed this, it may be of some interest to you

I used this tutorial to build my blog from the ground up.
The blog seems to work just fine. Now my goal is to get it presentable in my current site. I have begun using http://chronicle.patrickalparone.com/indexx.php as a test location.

Does anyone have a resource that covers this sort of integration? All I can fine is "customize your myspace blog" or "new wordpress themes"; not interested.

When looking at the site, my first question is obviously, how do I get the table which contains the content to grow when the content adds up?

:thumbsup: :thumbsup: :thumbsup: :thumbsup: :thumbsup:

11-24-2006, 05:22 PM