[development] check_markup() question

Gordon Heydon gordon at heydon.com.au
Sun Apr 9 23:40:50 UTC 2006


With check markup I was wondering if there was any way of passing
additional data through to the php filter.

What I would like to do is in E-Commerce I would like to turn the emails
into filtered fields, so you can use php to really make you email look
really good.

The problem is that most of the time I will not know what the
transaction is, and would like to pass it.

Also is it possible to have a filter that is allowed only in certain
situations as I would like to turn all the ecommerce emails into
filtered fields, but this does not really relate to a node at all.

I did think of changing it so that I can have a subroutine like
drupal_set_title() which I can call and set the current transaction and
then I can get the transaction if I need it.

Thanks for any assistance.

More information about the development mailing list