Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 3 of 3
Like Tree2Likes
  • 1 Post By Vapr_Arts
  • 1 Post By Ronald Roe

Thread: Container

  1. #1
    Junior Member
    Join Date
    Apr 2016
    Posts
    9
    Member #
    53771

    Container

    Is there a way to link a container across all pages? I need to figure a way to edit text on one page and have it change on all others.

    Without a CMS, is there a way to edit a page footer once and have it change for all pages?
    Last edited by cleighton; Apr 04th, 2016 at 01:09 PM.

  2.  

  3. #2
    Senior Member Vapr_Arts's Avatar
    Join Date
    Oct 2013
    Location
    California
    Posts
    1,930
    Member #
    37412
    Liked
    544 times
    Quote Originally Posted by cleighton View Post
    Is there a way to link a container across all pages? I need to figure a way to edit text on one page and have it change on all others.

    Without a CMS, is there a way to edit a page footer once and have it change for all pages?
    Yes, it is possible. For example you could do it in php by creating a footer.php file that holds the code for the footer. Then to add the footer to other pages you would use php includes to, well, include it.

    That is the most basic example I could think of but there are other options. I mentioned php because it is in my opinion most beginner friendly. Plus it is very likely that your server will allow it, even on a shared host.
    satindertech likes this.

  4. #3
    Senior Member Ronald Roe's Avatar
    Join Date
    Mar 2011
    Location
    Oklahoma City
    Posts
    3,141
    Member #
    27197
    Liked
    959 times
    Server side includes. You can also use a static site generator like Jekyll.
    satindertech likes this.
    Ron Roe
    Web Developer
    "If every app were designed using the same design template, oh wait...Bootstrap."


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 10:05 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com