-Edit -Export -Clone Links for Anonymous user

krwester - March 12, 2009 - 11:29
Project:Insert View
Version:6.x-1.0
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

I have used insertview to put a view into a page. Unfortunately the hover links are showing (not as hover) even for the anonymous user. I turned off the hover links view in the views settings, but they still show up.

Any ideas?

#1

davidm_nodeo - April 23, 2009 - 14:50

I had the same issue and found out that there is an option in the tools tabs in Views (/admin/build/views/tools) to turn off the links.
You have to select the checkbox "Do not show hover links over views".

It's not as good as being able to turn them off on a per view basis (at last I don't know that you can), or better turn them off only when inserted in a newsletter but it's a way to get your views in newsletter to be usable...

#2

Pasqualle - April 24, 2009 - 15:35

those links should be visible only for users with "administer views" permission. Please check that the anonymous user does not have this permission.

#3

monotaga - May 29, 2009 - 19:30

subscribing

#4

AnotherHowie - August 19, 2009 - 20:46

I am getting this too, after an upgrade from 5.19 to 6.13, and Insert Views 6.x-1.0. Only the admin role has Administer Views, and the "Do not show hover links over views" is turned on.

#5

bdwelle - October 24, 2009 - 17:30

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 = "";

 
 

Drupal is a registered trademark of Dries Buytaert.