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.

Determine in template if page is 404 page

July 08, 2013 3:35pm

Subscribe [1]
  • #1 / Jul 08, 2013 3:35pm

    Postitief

    1 posts

    Hello all,

    I’m looking for a way to determine inside a template if this is a 404 page. I’ve been searching a while and the only question I found was this one, unanswered… http://ellislab.com/forums/viewthread/218723/#1009166

    So I hope anyone has the answer.

    I have a seperate template for 404, but I’m embedding the same header. But inside the header I must know if it is a 404 page or regular page. So I need to determine if the page is 404 or must know what template embedded the header template.

    Hope someone has a answer to this.

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

ExpressionEngine News!

#eecms, #events, #releases