Announcement Announcement Module
Collapse
No announcement yet.
fed up amending links in html pages Page Title Module
Move Remove Collapse
Search Search Module
Collapse

Advertisement Advertisement Module
Collapse

Featured Images Featured Images Module
Collapse

Mediabistro Creative Sites Mediabistro Creative Sites Module
Collapse
Latest Topics Latest Topics Module
Collapse

  • Alexpetrovic
    futuristic UI design
    Alexpetrovic
    Hi,

    I have a personal sci-fi ui project i have been working on that no one has seen from the beginning so i would gladly appreciate some critique.

    thanks in advance
    ...
    Today, 10:20 PM
  • MichaelWied
    Where do you find talent?
    MichaelWied
    Hey all you Art Directors! I'm starting to get my portfolio spruced up again as I feel held back at my current job (and no, there is no room to grow, it's a very stagnant position). I know there's online...
    Today, 08:38 PM
  • <b>
    Reply to Anybody else noticing Google home page has seemed to have reverted to an older style?
    <b>
    It looks the same to me, whether using Chrome or Safari. The only thing different I see in Chrome is the absence of Google asking me to switch to Chrome.
    Today, 08:33 PM
  • GRow
    Reply to Nightclub Flyer/Poster Design
    GRow
    For the first 5 years I spent designing I never once cared about good kerning. 4 years later I'm noticing it and making mental notes not to forget about it. With flyer design like this it can make all...
    Today, 08:11 PM
  • HotButton
    Reply to I am SO confused about vehicle wrap design?
    HotButton
    ^Right.

    Or at least...

    Just like you would produce a client's design in accordance with specs and guidelines from a printer, sign maker, label manufacturer, etc., you shop for...
    Today, 08:03 PM
Advertisement Advertisement Module
Collapse

Sponsors Sponsors Module
Collapse

X
Conversation Detail Module
Collapse
  • 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, 07:56 AM.

          Comment


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

            Comment

            Mediabistro A division of Prometheus Global Media home | site map | advertising/sponsorships | careers | contact us | help courses | browse jobs | freelancers | content | member benefits | reprints & permissions terms of use | privacy policy Copyright © 2014 Mediabistro Inc. call (212) 389-2000 or email us
            Working...
            X