Closed (fixed)
Project:
Custom Formatters
Version:
7.x-2.0-beta2
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
14 Jun 2011 at 18:11 UTC
Updated:
24 Aug 2011 at 07:41 UTC
Jump to comment: Most recent
Comments
Comment #1
decipheredEasiest option is to turn off the Contextual links module, but clearly not a good option.
I will think on how I can do so without adding too much cruft to the module.
Out of curiosity, I am interested in knowing the justification for the request, from my point of view they're only visible to users with permission (UID 1 in most cases) and there extremely helpful. I'd love to hear your point of view.
Cheers,
Deciphered.
Comment #2
cees.vanegmond commentedReading your comments caused me to think. I'm working as UID 1 and I'm the only user at this moment on a new project. I've looked into the permissions and both Contextual links and Custom Formatters should be true to display the Edit Formatter thing. This is not applicable for any of the future roles/users.
I think my feature request can be closed (which I just did) and I have to deal with the consequences. :-)
Comment #3
decipheredI'm still happy to look into this if you think it is necessary, but will leave it for now.
Cheers,
Deciphered.
Comment #4
Jorenm commentedI actually have a case where this would be useful. I created a custom formatter which prints an images path instead of the image itself. I'm trying to place the path inside of an HTML attribute, but it breaks because it's putting html tags where I want just raw text.
Comment #5
decipheredThanks Jorenm,
That's definitely a valid usecase. The easiest and most logical approach to me is that it be a global setting, much like the label prefix option is, would you be upset if that's the approach I took?
Cheers,
Deciphered.
Comment #6
decipheredHi Jorenm,
I've committed a solution to this issue, dev should be built shortly.
On the Formatters 'Settings' page there is now 'Contextual links integration' settings, which allow you to disable it completely for all Formatters, or choose to include or exclude specific Formatters.
Let me know how this goes for you.
Cheers,
Deciphered.
Comment #7
cees.vanegmond commentedHi,
Meanwhile I've tested the latest dev and the settings and removal of contextual-links works as expected.
No errors seen.
Comment #9
Jorenm commentedI don't even remember making this ticket, but I came back 2 years later looking for the same thing, and it came in handy that you added this. Belated thanks to you. :)