Insert view, simplenews and hover links
upupax - December 28, 2008 - 15:18
| Project: | Insert View |
| Version: | 6.x-1.0 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
I'm using insert view to send my frontpage to all my simplenews subscribers.
Everything is fine except that in the email content there are even the hover links over views (Modify, Export and Clone links).
If I disable the over links the mail is sent without them.

#1
I agree this is an issue. Ideally, the insert_view calling syntax would include an option to disable the hover links. For my purposes, I never want them in inserted views, so I hacked the module and added a single line to the _insert_view_substitute_tags() function:
94 $view = views_get_view($viewname);95 $view->hide_admin_links=1; // added to disable hover links
96 $replace = "";