Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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 CreditAttribution: 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.