Results 1 to 3 of 3

Thread: same content throughout pages

Hybrid View

  1. #1
    Join Date
    Aug 2008

    same content throughout pages

    Hi. I'm designing a web site for a client who wants to be able to edit what I've done in Dreamweaver. I have never used it and just use html, css, and javascript. Is there any way to have the same content displayed on every page without doing any server-side code? I would like for the client to be able to change the text in one place and have it change on every page. Thanks.

  2. #2
    Join Date
    May 2005
    Gold Coast (MS)
    Server Side Includes are the best way to go. You can use the PHP method or the easier way if you don't like PHP. The alternative for allowing someone else to manage content is to use a Content Management System (CMS).

    Free Content Management Systems:


    File Thingie?(small web-based file manager written in PHP. It is intended for those who need to give others access to a part of their server's file system when FTP is not practical): http://www.solitude.dk/filethingie/

  3. #3
    Join Date
    Mar 2010
    Quote Originally Posted by violinssoundcoo View Post
    .........Is there any way to have the same content displayed on every page without doing any server-side code?..............
    If you are limited to client-side only, then one way to do it is to put the 'common' content's markup into a string in a javascript function and then call the function to ouput the string wherever you like on any page on the web site.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

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