Closed (fixed)
Project:
Views (for Drupal 7)
Version:
6.x-2.6
Component:
block displays
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
12 Jul 2009 at 16:44 UTC
Updated:
26 Jul 2009 at 17:00 UTC
hello
i want to have my cake and eat it too, as they say.
i embedded a view in simplenews, and the hover links are showing in the sent email. i like having the hover links so i dont want to disable that feature. is there any programmatic way of excluding hover links through php, say in the newsletter tpl file?
same question posted in simplenews issue queue, no help there.
Comments
Comment #1
merlinofchaos commentedThere are three ways you can accomplish this:
1) You can override views-view.tpl.php for that view.
2) You could implement hook_views_admin_links_alter to strip them.
3) Or you could set $view->hide_admin_links when embedding the view.
All three work. The last one is probably the simplest.