Hi !
I'm using :
- Drupal 4.7.2
- Views module 1.126
- Insert view module 1.4
- Janode 1.2.2.4
I created a view with janodes elements and wanted to insert it in a book page using insert view.
It gave me something like :
Title
Content
Link
Link
Where it should have give me something like :
Title
Content
Link
I found that the insert_view_nodeapi function was not correctly defined, it had only 3 arguments where it should have 4 parameters. Also the last 2 arguments were not tested, that's what caused the duplicate links (line 57 to 70).
In the attached file I also made another patch line 94 and 97 where it calls views_get_view a second time.
| Comment | File | Size | Author |
|---|---|---|---|
| insert_view.module | 4.04 KB | Anonymous (not verified) |
Comments
Comment #1
Anonymous (not verified) commentedOops ! I forgot some nasty lines I put when trying to figure out the bug, so don't give any consideration to lines 74, 76, 103, 105... (though they work)
Comment #2
mlsamuelson commentedNo activity for a long time, and haven't heard from others on this issue, and it's for and older version of the module about to become obsolete...
... marking as closed.
mlsamuelson