Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Load Sidebar Content From External File?

  • This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #46290
    npav
    Participant

    Hello,

    I am wondering how I could load HTML content into a sidebar div on my website I am developing locally.

    I want to do this, so that if I need to make changes to the sidebar or other content on the site, I could just edit the external file once, and then all pages with the code would be updated. Instead of having to change each file manually.

    Codepen: http://codepen.io/npav/pen/BwoHh

    #142150
    Paulie_D
    Member

    Sounds like you need AJAX.

    Unfortunately, that’s not in my wheelhouse.

    #142165
    lschoen114
    Participant

    Does “Include” solve your problem? I have used that on a few of my sites.

    http://webdesign.about.com/od/ssi/a/aa052002a.htm

    #142190
    TheDoc
    Member

    Yea, sounds like you need a simple include.

    #142201
    Kitty Giraudel
    Participant

    An include/require sounds good enough.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘Back End’ is closed to new topics and replies.