ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Best way to handle static content

November 06, 2008 6:44am

Subscribe [4]
  • #1 / Nov 06, 2008 6:44am

    Flying Dutchman

    22 posts

    Hi Community

    Another question on my list: What’s the best way to handle static content?

    EE have a very easy to use Template System. The Problem: What when I want have a footer which I can change for all my Templates in my Template_Group? The Best Way: Use a Static Footer. But how I should realize this?

    Any Tips?

  • #2 / Nov 06, 2008 6:56am

    Mark Bowen

    12637 posts

    Hiya,

    If you want a footer which is totally static then you can just make a new template and make sure its type is set to static. You can them {embed} the template into all your other templates.

    However if you want a footer that has some dynamic information in it such as recent entries or something like that then just create a template in the normal way and don’t make the template type static just leave it as it is and then your footer can still be embedded on every single template but it will also be dynamic.

    Hope that helps.

    Best wishes,

    Mark

  • #3 / Nov 06, 2008 6:57am

    Boyink!

    5011 posts

    If you are looking for a way to centralize the storage of a common footer that get reused across templates, then do it as an embedded template.

    Within that template the content could either be hardcoded or pulled from a weblog.

  • #4 / Nov 06, 2008 7:45am

    Flying Dutchman

    22 posts

    Sounds good. Thanks Guys.

    I will try that method.

  • #5 / Nov 06, 2008 8:13am

    Mark Bowen

    12637 posts

    No problem at all.

    Let us know if you need anything else with it.

    Best wishes,

    Mark

  • #6 / Nov 06, 2008 10:02am

    28Bytes

    192 posts

    You could use Global Variables or Fresh Variables.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases