Announcement

Collapse
No announcement yet.

fed up amending links in html pages

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • fed up amending links in html pages

    Hey,

    Last year i designed a site with about 15 pages.
    Is there a way i can have one page as a master or template, which, when i make changes to, will update the other pages throughout the site.
    Mainly this is for the navigation. i dont want to have to go through every page manually adding and deleting links.

    Cheers

  • #2
    Look up "php include"


    Jade

    Comment


    • #3
      If you use Dreamweaver you can set up a template file (.dwt) for you main content on the pages.
      Professional Pixel Pusher Designing the world around you. | Working daily to reach 10,000 hours of practice.

      Comment


      • #4
        look up includes. they are available in all types of different coding languages.

        Or you can build your navigation via a database and that way you only alter the dbase. This is probably a bit overkill and very inefficient for most sites.

        Darryn Cooke : Orange County Graphic Designer

        Comment


        • #5
          Originally posted by darryncooke View Post
          Or you can build your navigation via a database and that way you only alter the dbase. This is probably a bit overkill and very inefficient for most sites.
          Not if you cache the result a HTML file and use it as an include. This works well if the links aren't going to change much. Then if they do remove the cached file and the system should be set-up to make a new one. So once the first cached file is created the db is never again hit unless the cached file is removed. win win

          Either way unless your running a massive and I mean massive query repeating the query each page hit isn't going to be all that much of hit on server unless the server isn't very powerful. The biggest problem comes with load balancing but you don't really need to worry about that until your going several million hits day or so unless the server just plain out sucks.

          All this gets relatively complex though. You probably need to have a programmer set it up for you if your not familiar with server side programming. Those are the "optimal" solutions though.
          Last edited by tZ; 08-06-2009, 03:56 AM.

          Comment


          • #6
            Tnx everyone. The php include worked a treat.

            Comment

            Search

            Collapse

            Advertisement

            Collapse

            Latest Topics

            Collapse

            • Troep
              Hello....
              Troep
              Hello I'm Troep and i'm new to this forum
              Today, 12:53 PM
            • B
              Reply to Illustrator: "colored" grain effect?
              B
              Which grain type did you select from the drop-down menu. If you selected stipple, it will make it B&W. Otherwise, I don't know why you're getting that effect. Honestly, though, I tend to avoid raster-based...
              Today, 12:43 PM
            • calebninja
              Reply to Sizing Photos for Portfolio Grid in WordPress
              calebninja
              Can you provide a link to your website so we can see what you mean about the sizes?

              Are you having an alignment issue?
              Today, 09:50 AM
            • Lord Daz
              Reply to Illustrator: "colored" grain effect?
              Lord Daz
              Really? What do you do exaktly?

              To start, I create a simple linear gradient with the white and red color stops in a rectangle. I select Effect - Texture - Grain.

              Now I have a...
              Today, 09:48 AM
            • btwenty1
              Reply to Facebook - Business Page Cover Size
              btwenty1
              I use 851x315, the most important thing is to try to keep the quality while saving the image under 100kb, if it is over 100kb FB will automatically compress the image therefore losing much of its qua...
              Today, 09:39 AM

            Incredible Stock
            GDF A division of Mediabistro Holdings Adweek | Mediabistro | Clio | Film Expo Group Contact Us | Terms of Use | Privacy Policy Copyright 2016 Mediabistro Holdings
            Working...
            X