I am looking for a way how to integrate special php-features into the error-pages.

there are two ways how to do it (in my point of view):

  1. Change the Textarea on the settings-page to evaluate php code
    • Provide Format filter - known from the create node/comment page - but maybe introduces some security issues (?)
    • Generally evaluate the code - as seen on http://drupal.org/node/28648
  2. make a new themeable function - this is my way :D
    theme_customerror_403 and theme_customerror_404 are introduced :D

is anyone interested in this behaviour?
which way do you think is the best?
What do you think kbahey?

Ciao Tobias

Comments

Tobias Maier’s picture

Status: Active » Needs review

i forgot to mention that this patch is _untested_
but it _sould_ work

ciao

kbahey’s picture

Assigned: Unassigned » kbahey
Status: Needs review » Fixed

Committed.

Not tagging this for 4.6 just yet until someone tests it.

Tobias Maier’s picture

I tested it by myself on CVS-HEAD
and YES it works as expected.

so you can tag it for 4.6

ciao tobi

kbahey’s picture

Version: master » 4.6.x-1.x-dev

Tagged for 4.6.

Tobias, I like to thank you for all your help on this issue and the many others.

Anonymous’s picture

Anonymous’s picture

Anonymous’s picture

Anonymous’s picture

Status: Fixed » Closed (fixed)