I think I must be missing something simple. I'm trying to use this module to insert a view in the body field. However, once published, all I see is [view:myView] instead of the actual view.
I have added an extra field to the page content type. Might this alteration cause the module not to work?
Thanks.
Comments
Comment #1
mlsamuelson commentedIt should work in that scenario. Try something like this [view:tracker] (using a view that comes with views module). Any luck?
What other contributed modules are you using? Any that may act on how your nodes render?
Comment #2
gnosis commentedWe're using CCK to alter the fields...could that be messing things up? Also, we have Token (5.x-1.9) installed in support of pathauto. I know Token uses a similar syntax to the [view:whatever] syntax...might be a clue.
Comment #3
nevets commentedMay be a silly question but have you enabled the filter? You would need to enable it under "Administer" » "Site configuration" » "Input Formats", you will need to configure each of the input formats that you want to make the filter available for.
Comment #4
sjancich commentedYes, we've got the filter enabled....
Comment #5
erikhopp commentedPerhaps is related? http://drupal.org/node/170921#comment-309074
Comment #6
mlsamuelson commentedI'm guessing http://drupal.org/node/170921#comment-309074 is related.
Check your theme and see if you're using a standard theme variables.
And let us know what you find, if you would be so kind... :)
Comment #7
sjancich commentedI am using variables, including $body = $node->content['body']['#value'], in my tpl.php file. I was able to get the views filter to work using erikhop's patch.
Comment #8
mlsamuelson commentedThis should work now, as recently committed patches (see http://drupal.org/node/224987 and http://drupal.org/node/180042) make Insert View a true filter module (ie. it now does its work via hook_filter() rather than hook_nodeapi()).
I'm marking this issue as fixed. But please open it up again if you find that's not the case.
mlsamuelson
Comment #9
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.