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):
- 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
- make a new themeable function - this is my way :D
theme_customerror_403andtheme_customerror_404are introduced :D
is anyone interested in this behaviour?
which way do you think is the best?
What do you think kbahey?
Ciao Tobias
| Comment | File | Size | Author |
|---|---|---|---|
| customerror_phpincontent_customerror.module.patch | 1.2 KB | Tobias Maier |
Comments
Comment #1
Tobias Maier commentedi forgot to mention that this patch is _untested_
but it _sould_ work
ciao
Comment #2
kbahey commentedCommitted.
Not tagging this for 4.6 just yet until someone tests it.
Comment #3
Tobias Maier commentedI tested it by myself on CVS-HEAD
and YES it works as expected.
so you can tag it for 4.6
ciao tobi
Comment #4
kbahey commentedTagged for 4.6.
Tobias, I like to thank you for all your help on this issue and the many others.
Comment #5
(not verified) commentedComment #6
(not verified) commentedComment #7
(not verified) commentedComment #8
(not verified) commented