After selecting the "What links here" tab that's created by one of the default 6.x-2.0-beta3 views, two strange "turds" can be observed presented whenever the mouse approaches one of the tabs from the bottom. The attached Picture 1.png shows the most prominent. The one shown in Picture 2.png is less visible (it's by the cursor) and only occurs when you approach that area of the page/window.

FYI, this is when logged into Drupal 6.2's admin account and both the example/pictured sites have both the blockclone and node_clone modules installed.

CommentFileSizeAuthor
Picture 2.png11.33 KBaMakUzr
Picture 1.png50.43 KBaMakUzr

Comments

merlinofchaos’s picture

Those are administrator only links to easily edit a view because the Drupal tabs system is really not adequate for it (the ones used in Views 1 had all kinds of problems).

I suppose I can create a setting to disable them, but I figured since they turn invisible when not hovered I didn't think this would be necessary.

aMakUzr’s picture

Thanks, I understand, now. If the "links pop-up" appeared only when the mouse/cursor is directly over the "What links here" tab (i.e., not when approaching/underneath any tab that's shown), I may have derived that relationship.

Even better, if the "links pop-up" appeared only when the mouse/cursor is directly over the "What links here" tab AND the text read "View: [Edit] [Export] ..." or "[Edit] [Export] ... this View", then I think it would have been quite clear.

The only other thing that'd be nice is to have the "links pop-up" sized appropriately. Right now it extends well beyond the window width on the right side.

BTW, I should mention that I'm finding Views to be quite useful/powerful and want to express many thanks and much appreciation for the work that's being done.

merlinofchaos’s picture

It's very difficult to control the size of the box, because it's using position: absolute, and I've found that different browsers have very different ideas about where it should bound. I haven't found a solution for that. I used to not put the background on; the background is more jarring, but when the links appear right over text, I also found that I had trouble discerning the links. I may have gone overboard with the background.

int’s picture

And how I can disable this horror options?

merlinofchaos’s picture

Status: Active » Closed (fixed)

Horror options?

"Uninstall the module".

int’s picture

this options [Edit] [Export] [Clone]

I want to disable to show to Admin...

pfaocle’s picture

You can remove this by re-theming views-view.tpl.php: copy the template file to your theme, then edit out the lines:

  <?php if ($admin_links): ?>
    <div class="views-admin-links views-hide">
      <?php print $admin_links; ?>
    </div>
  <?php endif; ?>

They'll still be getting generated as a variable passed to the theme, but won't be displayed.

sxie’s picture

I think this is a good feature for administrators but what I encountered is, for some reasons, even for anonymous visitors, the front page still shows "View" and "What links here" two links. Why? How to get rid of them for visitors?

sillygwailo’s picture

For those coming across this issue as I did, there's now an administrative option to disable the [Edit] [Export] [Clone] links that over over views as displayed on your site by going to Administer → Site building &Views → Tools and checking "Do not show hover links over views".