I use Insert View module to display content listings from views inside other content. I recently upgraded to 5.x-1.0 from 5.x-1.x-dev but not sure if the problem below is related to version upgrade.

I have a view named "case_studies" and I call this view in one of my nodes titled "Advertiser" using [view:case_studies=4]. The strange thing is that if I edit the "Advertiser" node in the admin section, the body textarea shows me the content listing from that view instead of [view:case_studies=4]. This is a problem because if I then save the "Advertiser" node, it saves the static HTML content rather than [view:case_studies=4]. This would mean that when the "Advertiser" page is viewed on the website, the content is not actually coming from the view.

The other views modules that are used are Views 5.x-1.6 and Views UI 5.x-1.6

This does not happen on the live website which is still using Insert View 5.x-1.x-dev (and Views 5.x-1.5 and Views UI 5.x-1.5). Whenever the "Advertiser" page is opened for editing in the admin, the body text shows [views:case_studies=4].

Looking into the code, we found that there are many code changes to insert_view.module file including that the insert_view_nodeapi() function is no more used.

Can you please suggest the solution so that [view:case_studies=4] is not parsed in the admin and is parsed only when viewing on the website? Please let me know in case I can provide further details.

Best regards,



I also am experiencing the same issue.

Very powerful module that I'd like to use to redo a lot of my intranet pages with.

There have been changes in Insert View just prior to the 5.x-1.0 release to make it a pure input filter module, rather than a hybrid relying on hook_nodeapi(). In the README.txt there is an explanation, as well as info regarding installation and upgrade.

Do either of you have a WYSIWYG editor installed on the site? Or any other modules that may affect the processing of the textarea?


After disabling the nodeteaser module, I was able to view the insert_view tag instead of the (I assume input filter cached) html output of the insert_view tag.

Any chance of using both at the same time?

Thanks for your help!

Yes, there is a WYSIWYG editor for the textarea.

In fact, I am experiencing a similar issue but related to another area. Yesterday, I created a new node and put some PHP code into it. I set the input format to allow PHP for the node. Surprisingly, when I edited the node, I found that the PHP code is no more in the "body" field and what exists there is the output from the PHP code. What it seems is that the content in the "body" part is being parsed, if it is calling a view or putting some PHP code.

For example, I wrote the next statements in the "body" area:

echo "hello";
"<br> The PHP code";

On editing, this is what I saw in the "body" area:

The PHP code

Any ideas?

Version:5.x-1.0» 7.x-2.x-dev
Category:support» bug

This same thing is happening to me in version 7.x-2.x-dev. I changed the version since 5.x is probably not supported at this time. I changed this to a bug report as the view isn't getting inserted, just the results which seems more like a bug than a feature request. Any chance on a "fix" for this? This thread is pretty ancient, but the module is very much needed!

insert_view shows the rendered view when you view the node
insert_view shows the syntax [view:..] when you edit the node
It does not do anything else, it does not show rendered view in the node edit form.

Some other module could render the node body, but no idea which one..

new64.05 KB

@Pasqualle thanks for your response! I did some more testing by installing a fresh install of Drupal 7.2. I only have default modules enabled as well as

Chaos tool suite 7.x-1.0-beta1
7.x-3.x-dev (2011-Jul-05)
ckeditor 7.x-1.x-dev (2011-Jun-28)
insert_view 7.x-2.x-dev (2011-Feb-25)
libraries 7.x-1.0

I added some dummy content and then activated the default view for archives. I then edited the body text of an article which is using CKEditor, added the following:


and when I saved, the view was there. However, when I subsequently edit the article, I get the attached content in the editor. If I look at the code, it is HTML that would be used to render what is shown in the editor not, [view:archive=block].

If I save the article, the view no longer works. In other words, it is no longer a live view. It is static text. If I add another article, the view doesn't update to reflect the addition.

does it work correctly if you disable CKEditor?

Yes, it works fine.

Title:[view:myview] is replaced with the content listing when editing a nodeconflict with CKEditor module

So are you saying that the issue is with CKEditor and I should open an issue there?

Using Drupal 7.14, Ckeditor 1.9, and Insert View this works fine for me, on save and edit of a node I still have the singluar string. Thanks for the great module!