Submit Your Article Forum Rules

Results 1 to 4 of 4

Thread: Newbie Needs Help!

  1. #1
    Junior Member
    Join Date
    Jul 2003
    Posts
    15

    Newbie Needs Help!

    Newbie designer needs help! Is there a way to code a website in such a way that when I make a layout change to part of a web page it updates all pages within a site? For instance, can I code the top section of each page like “get top section info” and the page will automatically load the page from a separate file. That way when I make a design change I would only have to update one file and have the layout exactly the same for all pages. This would be a time saver since I now have to change all pages just to add a link or graphic. I would like to implement this, if possible, before I make any more changes to a new site I am building. I would also appreciate any feedback you might be willing to give concerning the site itself. I have created a folder within my current website, DNSCreations.com, for this new site KenzieKreations.com until I am ready to go live. It can be viewed at www.dnscreations.com/kenziekreations .

    Thanks for all that you guys (and gals) do. I have learned a wealth of information from reading the post and replies from this site!

  2. #2
    Senior Member
    Join Date
    Jul 2003
    Posts
    174
    If your host provides php you can use a php include. You would create, in a seperate file, all the html that you want to appear on every page and name it menu.htm or something relevent to what it is used for. Then on the pages that you want to update when the file updates you would add <?php include("menu.htm")?>. You would add that code in the part of the page that you want the menu.htm to be inserted. For this method to work, all of the pages that contain <?php include("menu.htm")?> must be changed from a .htm extension to .php and you would have to update all the links in your site to point to .php instead of .htm

    Joe
    Joe
    GimmeItNow.com
    Shopping Directory
    Gift Registry For Any Occassion

  3. #3
    Junior Member
    Join Date
    Jul 2003
    Posts
    15
    Is it really that simple? Im at a loss for words to convey my thanks.

  4. #4
    Senior Member Keimos's Avatar
    Join Date
    Jul 2003
    Location
    North Wales
    Posts
    523

    updates all pages within a site

    Just a quickie.

    if you are not familiar with PHP you can also try templates with dreamweaver or Shared Borders with Frontpage and use CSS for text etc.

    Easier if you are a non techy.

    Have fun.
    Keimos IT - Always learning something new each day
    www.keimos.co.uk , www.pengolf.co.uk , www.cbt4u.co.uk my hobby sites

Similar Threads

  1. hello from a newbie
    By jhantraz in forum Introductions
    Replies: 2
    Last Post: 01-20-2006, 02:40 AM
  2. Another newbie here
    By bzElam in forum Introductions
    Replies: 2
    Last Post: 12-21-2005, 02:38 PM
  3. Newbie needs help
    By jon_w_walker in forum Graphics & Design Discussion Forum
    Replies: 12
    Last Post: 09-29-2005, 04:03 AM
  4. Newbie Promoting Newbie Article
    By Marzlan Michael Arzl in forum Marketing Strategies Discussion Forum
    Replies: 2
    Last Post: 11-27-2004, 01:29 AM
  5. php newbie
    By kimbecker1 in forum Web Programming Discussion Forum
    Replies: 3
    Last Post: 09-06-2004, 12:11 PM

Posting Permissions

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