Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Mar 2010
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Updating a table cell

    Hi Folks

    I have created a website using a table layout. Every page on the website uses the same template, and i have a cell on the right that i have used for "Latest Media".

    What i would love to know is, is there an easier way to update that one cell in the table and have it update for every page on the website? I have been doing it by manually updating every single pages code. With 100+ pages on my site, that gets pretty tedious.

    Any help would be appreciated

  • #2
    Kor
    Kor is offline
    Red Devil Mod Kor's Avatar
    Join Date
    Apr 2003
    Location
    Bucharest, ROMANIA
    Posts
    8,478
    Thanks
    58
    Thanked 379 Times in 375 Posts
    You may use:
    - includes using a server-side language. For instance: PHP
    http://php.net/manual/en/function.include.php

    - load a single page in an iframe:
    http://www.iframehtml.com/

    There are also some JavaScript or AJAX solutions, but using a server side include looks the best to me.
    KOR
    Offshore programming
    -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

  • #3
    New to the CF scene
    Join Date
    Mar 2010
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Have had a good play with the iframes, seems to do nicely for me.

    thanks for your help


  •  

    Posting Permissions

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