Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 11 of 11
  1. #1
    New Coder
    Join Date
    May 2006
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Static site to blog...

    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/

  • #2
    New Coder
    Join Date
    Aug 2006
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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!

    -Nate

  • #3
    New to the CF scene
    Join Date
    Nov 2006
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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.

  • #4
    New Coder
    Join Date
    May 2006
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Nate-

    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?

  • #5
    New to the CF scene
    Join Date
    Nov 2006
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    A quick search on google has revealed this, it may be of some interest to you
    http://codegrrl.com/!/tutorials/cate...0A%20Blog/P10/

  • #6
    New Coder
    Join Date
    Aug 2006
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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 a program I use to upload files to my server (webhost for most people)

    If you do need help, here is my email address and I will be more then happy to help you out!

    -Nate

  • #7
    New Coder
    Join Date
    May 2006
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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!!

    THANKS AGAIN!

  • #8
    New Coder
    Join Date
    May 2006
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Macintosh

    Well friends, it's been five straight hours at this but i finally built by blog.
    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?

  • #9
    Regular Coder meth's Avatar
    Join Date
    Jan 2003
    Posts
    262
    Thanks
    0
    Thanked 9 Times in 9 Posts
    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.
    I do Web Design, Brisbane based.
    More time spent in PHP/MySQL Web Development.
    And Search Engine Optimisation takes up the rest of it.

  • #10
    New Coder
    Join Date
    May 2006
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Macintosh

    Quote Originally Posted by TheReckter View Post
    A quick search on google has revealed this, it may be of some interest to you
    http://codegrrl.com/!/tutorials/cate...0A%20Blog/P10/
    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?



  • #11
    New Coder
    Join Date
    May 2006
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts
    anyone?


  •  

    Posting Permissions

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