This might very well be my mistake - so not placing it as a bug until I know it isn't user error. However have tried dearching for the problem and not been able to find anything.
When you go to Config > Content Authoring > Linkit and add a new profile there should be an option under the 'Profile Type' tab saying "Attach this profile to one or more text formats" however for me this does not appear. Instead the space is empty and blank.
I am trying to combine Linkit with the CK Editor v4.
The option for the Linkit button appears in my CK Editor buttons list and I can add it, however if you try and use it, it says "Cannot find Linkit profile" - I am guessing because of the above error.
This image shows what it is supposed to look like, as stated I just have a blank section.
https://drupal.org/files/issues/linkit-profile.png
Comments
Comment #1
anonDo you have any text formats?
Comment #2
twodI see the same issue in IE (8) at work, which also switches over to compatibility mode when switching between the vertical tabs. The switch to compatibility mode pretty much freezes IE for a minute while reloading the page so everything entered so far is lost. Just navigating to the LinkIt profile settings pages takes ages and sometimes crashes IE.
No issue whatsoever in Chrome (at home). Don't know about later IE versions, would have to get back to you in a few years when the IT staff has pushed out those updates... I'll probably be able to test Chrome at work soon though.
Comment #3
gdhp commentedHadn't thought about it being a browser issue TwoD. Will have a check in Firefox and Chrome and see if it works for me.
I've been using a later version of IE, so wouldn't have thought that would be it, but maybe it's all IE as issues sound familiar.
Comment #4
anonI have tested this in IE 11 now, and I can confirm the error on all IE versions I have tested.
Tested 8-11 with emulation mode.
Comment #5
anonThis is very strange, as I don't use any "own" javascript for this, I use the states that FAPI provides.
Comment #6
anonOk, now I know why.
And as always, its a complete IE f..kup!
If we change
file: linkit/plugins/export_ui/linkit_profiles.inc
'input[name="profile_type"]' => array('value' => LINKIT_PROFILE_TYPE_EDITOR),to
'input[name="profile_type"]' => array('value' => "1"),or even
'input[name="profile_type"]' => array('value' => "".LINKIT_PROFILE_TYPE_EDITOR.""),it will work.
Tho,
LINKIT_PROFILE_TYPE_EDITORis just a constant of 1.Anyone else have any thought about the way to go here?
Comment #7
anonSeems like this is a core issue. #879580: States fail when using integer values for select/radio dependencies
Comment #9
anon