Help! I have no idea what to do!

Discussion in 'Programming' started by snapplekid13, Feb 25, 2007.

  1. #1
    Ok I'm trying to start up a cooking site. I have lots of cooking articles I want to add. And I don't want to have to manually change them all one by one if theres a change in the whole site like in the navigation or if i want to add a poll.

    Is there some way to do this? I want to be able to integrate my design and have seo friendly links.
     
    snapplekid13, Feb 25, 2007 IP
  2. ccoonen

    ccoonen Well-Known Member

    Messages:
    1,606
    Likes Received:
    71
    Best Answers:
    0
    Trophy Points:
    160
    #2
    I would make it using includes
    so have have a header include, a footer include, a sidebar include, and a content include - then when you chagne the header, footer, or sidebar, then it's changed globally :)
     
    ccoonen, Feb 25, 2007 IP
  3. snapplekid13

    snapplekid13 Active Member

    Messages:
    1,475
    Likes Received:
    35
    Best Answers:
    0
    Trophy Points:
    90
    #3
    How would i make it use includes???
     
    snapplekid13, Feb 25, 2007 IP
  4. designcode

    designcode Well-Known Member

    Messages:
    738
    Likes Received:
    37
    Best Answers:
    0
    Trophy Points:
    118
    #4
    Its too simple

    <?php
    include("header.php");
    ?>
    HERE GOES YOUR ARTICLE
    
    <?php
    include("footer.php");
    ?>
    PHP:
     
    designcode, Feb 25, 2007 IP
  5. snapplekid13

    snapplekid13 Active Member

    Messages:
    1,475
    Likes Received:
    35
    Best Answers:
    0
    Trophy Points:
    90
    #5
    where would both side bars go?

    Im a pure PHP noob and have never used it before.... Heres the link.... www.Towncook.com and i still have no idea to do what you said....

    And i guess i have to add them all manually?
     
    snapplekid13, Feb 25, 2007 IP
  6. designcode

    designcode Well-Known Member

    Messages:
    738
    Likes Received:
    37
    Best Answers:
    0
    Trophy Points:
    118
    #6
    designcode, Feb 26, 2007 IP
  7. TwistMyArm

    TwistMyArm Peon

    Messages:
    931
    Likes Received:
    44
    Best Answers:
    0
    Trophy Points:
    0
    #7
    You're basically looking for a CMS, so grab one... Joomla will let you make your own layout and give you the SEF URLs.

    The time it takes the write one will be longer than learning to use an already existing one.
     
    TwistMyArm, Feb 26, 2007 IP
  8. snapplekid13

    snapplekid13 Active Member

    Messages:
    1,475
    Likes Received:
    35
    Best Answers:
    0
    Trophy Points:
    90
    #8
    Well you know what.... i must really suck at this kind of stuff because I have really no idea what I'm doing....

    Joomla.... what the heck that didn't help me at all i didn't even know where to change the HTML!

    The tutorial didn't help because it expects you to know what your doing ( I told you i was a pure noob in this stuff! )
     
    snapplekid13, Feb 26, 2007 IP
  9. designcode

    designcode Well-Known Member

    Messages:
    738
    Likes Received:
    37
    Best Answers:
    0
    Trophy Points:
    118
    #9
    Tutorial I provided was for noobs. I think you will have to hire someone to build your website.
     
    designcode, Feb 26, 2007 IP