Skip to main content
Inspiring
April 24, 2007
Answered

Alternate Header on some pages

  • April 24, 2007
  • 2 replies
  • 371 views
I have a few pages on my site for which I would like to use a different header. I can use cfinclude to load the alternate header, but of course it loads along with the site header (making it a double header!). Is there a way to do an "un-cfinclude" on only the pages where I want the different header? I just want to disable the primary header on a select few pages.
    This topic has been closed for replies.
    Correct answer Dan_Bracuk
    Use if/else logic in your application.cfc file to select the appropriate header.

    2 replies

    Inspiring
    April 24, 2007
    I changed application.cfm, as that exists on my site, but .cfc does not.

    That works! Thanks.
    Dan_BracukCorrect answer
    Inspiring
    April 24, 2007
    Use if/else logic in your application.cfc file to select the appropriate header.