Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
I have 3 linkit profiles. Two for editor and one for fields. I have disabled one of my editor profiles, however - it still shows up as a profile that users can switch to. What's worse, is that the disabled profile is always the default!
My workaround was to ensure the settings for both editor profiles were the same, so that my editors wouldn't even know about the other profile. Unless I'm missing a setting somewhere, this feels like a bug.
Comment | File | Size | Author |
---|---|---|---|
#4 | linkit-enabled-profiles-2919245-4.patch | 4.05 KB | dsnopek |
linkit-change-profile.PNG | 10.02 KB | jdearie | |
linkit-profile-list.PNG | 6.46 KB | jdearie |
Comments
Comment #2
cboyden CreditAttribution: cboyden commentedI can verify this bug. When you disable a Linkit profile for an editor, it still shows up in the Change Profile options.
Also, the settings make it look like you can enable an editor profile for certain text formats and not others. But this doesn't seem to have any effect. All editor profiles are available in the Change Profile options regardless of whether the box is checked for the text format that's in use.
@jdearie until this is fixed you might want to look at the patch in #2311957: Add weights to linkit profiles - it allows setting weights for profiles, so you can control which profile is the default.
Comment #3
dsnopekHere's a patch that does two things:
Comment #4
dsnopekHere's an updated patch! This changes 'default_profile' back to 'profile' so users who upgrade don't get an AJAX error until they clear their caches, and adds a boolean typecast to fix an issue where these changes stop working after changing the profile once.
Comment #5
cboyden CreditAttribution: cboyden commentedWe've been using this patch, it's working well.
Comment #6
anonThanks.