How do I update links on every page?

Discussion in 'HTML & Website Design' started by SFNUM8, Sep 28, 2008.

  1. #1
    I am just starting to design a new site, I will have a menu that will have a top 10 list that will I will need to update periodicly. This same menu will appear on all of the 100+ pages. How do I update every page all at once without having to do them individually. I am using dreamweaver 8, sorry if stupid question just a newbie.
    Thanks in advance
     
    SFNUM8, Sep 28, 2008 IP
  2. Clive

    Clive Web Developer

    Messages:
    4,507
    Likes Received:
    297
    Best Answers:
    0
    Trophy Points:
    250
    #2
    Use a content management system to build your website with, it will save you from having to edit the same thing in multiple files. Try WordPress, Joomla, Drupal..
     
    Clive, Sep 28, 2008 IP
  3. Delicious Webdesign

    Delicious Webdesign Member

    Messages:
    28
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #3
    another idea that wont need a CMS system and the mysql database which would also be required would be just to have one list on one page and that list included where you wanted it to be included using something like

    <? include("inc/top10list.php"); ?>
     
    Delicious Webdesign, Sep 28, 2008 IP
  4. SearchBliss

    SearchBliss Well-Known Member

    Messages:
    1,899
    Likes Received:
    70
    Best Answers:
    2
    Trophy Points:
    195
    Digital Goods:
    1
    #4
    Or include if your using ASP:

    <!--#include file="myMenu.asp" -->

    And if you use Dreamweaver, there is a search and replace feature that allows you to replace the exsiting menu with the new one on your entire site quickly.
     
    SearchBliss, Sep 28, 2008 IP
  5. Clive

    Clive Web Developer

    Messages:
    4,507
    Likes Received:
    297
    Best Answers:
    0
    Trophy Points:
    250
    #5
    Considering that he's got 100+ pages to work with, I'd still recommend going for a CMS.
     
    Clive, Sep 28, 2008 IP
  6. tails423

    tails423 Peon

    Messages:
    17
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Definitely go the path of a CMS. I recommend Joomla, which runs off MySQL and PHP. Most major hosting companies already provide options for an auto install of Joomla.

    Good luck.
     
    tails423, Sep 28, 2008 IP
  7. Clive

    Clive Web Developer

    Messages:
    4,507
    Likes Received:
    297
    Best Answers:
    0
    Trophy Points:
    250
    #7
    Out of the three that I mentioned earlier, I recommend Wordpress. You don't seem to be needing anything too complex. Would take you a few hours to put everything up and get the website running. Then you'll have a small set of files to update every time you need to, and changes would take effect on ALL pages.
     
    Clive, Sep 28, 2008 IP
  8. garrettheel

    garrettheel Peon

    Messages:
    341
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Go for a CMS, if you're up to it. If not, just use includes.
     
    garrettheel, Sep 28, 2008 IP
  9. spy9000

    spy9000 Peon

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    try this it works very well and its what i use. it works on every browser.

    <!--#include virtual="page.txt" -->
     
    spy9000, Sep 29, 2008 IP
  10. garrettheel

    garrettheel Peon

    Messages:
    341
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #10
    Firstly, it's server side, so putting the page there has nothing to do with the end users browser. Secondly, that's ASP, i believe, depending on what host the thread starter is using, that may not work.
     
    garrettheel, Sep 29, 2008 IP
  11. DualityPrime

    DualityPrime Guest

    Messages:
    32
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #11
    Man I suggest Using WordPress! So easy and no worry .. totally optimized for SE
     
    DualityPrime, Sep 29, 2008 IP