Closed (fixed)
Project:
InsertNode
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
25 Jun 2008 at 18:15 UTC
Updated:
5 May 2009 at 13:21 UTC
Hi. The module is really cool - thanks for making it. I have one tiny problem though: the nodes I insert do not go through their filters.
For example, I have a node that convert all #link# into link. That does not work if I insert that node into another node (I get unfiltered text with #).
I know it may be kinda difficult to fix but I'd appreciate it very much.
Thanks a lot
MK
Comments
Comment #1
capellicI had this problem, too.
I decided to create a tpl file for the content type of the node I was trying to insert. In my case, I created a photo gallery that was to be included in any other page on the site. The content type was called "gallery", so I created a tpl called "node-gallery.tpl.php" and then I wrote my loops and HTML.
Comment #2
alan d. commentedIf the filter is rearranged to make the insertnode filter weighted to -10 (before everything else), then the content should have all other filters run against it as well.
Just make sure that you do not create a loop with the insertion.
I.e. Inserting a node that inserts the calling node!
Comment #3
alan d. commentedClosing, reopen if the filter reordering didn't help...