Parameters on error page?

Galen King's Avatar

Galen King

21 Dec, 2010 03:05 AM via web

How do I access parameters such as the URL on the error page?

I've tried the likes of item.url or page.url but nothing seems to work.

  1. 2 Posted by Jonathan Hoyt on 21 Dec, 2010 02:56 PM

    Jonathan Hoyt's Avatar

    We don't currently have that in there, we'll try and push something out today for you.

  2. Jonathan Hoyt closed this discussion on 21 Dec, 2010 02:56 PM.

  3. John Nunemaker re-opened this discussion on 21 Dec, 2010 08:26 PM

  4. 3 Posted by John Nunemaker on 21 Dec, 2010 08:27 PM

    John Nunemaker's Avatar

    Galen,
    Just deployed something for this. We added a request object that gets included in every template. For now, all it has is the current uri. You can use it like so:

    {{ request.uri }}
    
  5. John Nunemaker closed this discussion on 21 Dec, 2010 08:27 PM.

  6. Galen King re-opened this discussion on 21 Dec, 2010 09:08 PM

  7. 4 Posted by Galen King on 21 Dec, 2010 09:08 PM

    Galen King's Avatar

    John, you're a legend! Thanks.

    This raises a new issue now for me which I've opened in a new thread.

  8. Galen King closed this discussion on 21 Dec, 2010 09:08 PM.

Comments are currently closed for this discussion. You can start a new one.

Recent Discussions

17 May, 2012 10:45 PM
20 Mar, 2012 05:05 PM
26 Apr, 2012 01:40 AM
07 Mar, 2012 04:42 PM