recursive evaluation

agharbeia - October 2, 2009 - 01:01
Project:InsertNode
Version:5.x-1.1
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

I'm not sure whether this is possible or not, due to how filters are processed for example, but I wonder if InsertNode body inclusion could, for example, resolve any InsertNode links present in the included node.

#1

AlexisWilke - October 2, 2009 - 08:12

agharbeia,

Generally, you'd simply use the InsertNode filter on all the nodes. Thus, whatever node you insert will already have been transformed (that is, in version 5, probably not... In version 6 you can get the node themed which means that you get the filter applied before the data is returned.)

I don't support 5.x... 8-}

Last thing: if the module was doing recursive filtering it could also have many security implications... you'd have to make sure that people cannot just insert such tags anywhere...

Thank you.
Alexis Wilke

#2

agharbeia - October 7, 2009 - 02:01

The site I experienced with is indeed version 5.
I have yet to try it on a D6 site, but I take your word for it.

Thank you, Alexis.

 
 

Drupal is a registered trademark of Dries Buytaert.