Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi
I made a field in account settings at /admin/config/people/accounts/fields
Type - Long text
Widget - Text area (multiple rows)
(field-create.png)
At /user/3/edit-profile there is no wysiwyg
(fieldinaccount.png)
When i made a field in a contenttype at the same way, then it´s working
I tried to clear cache, and there is no message of error
Pafla
Comment | File | Size | Author |
---|---|---|---|
field-create.png | 33.74 KB | Pafla | |
fieldinaccount.png | 35.19 KB | Pafla |
Comments
Comment #1
Pafla CreditAttribution: Pafla commentedComment #2
TwoDIt looks like you do have a JavaScript error on that page since the script to hide/show format descriptions isn't working either.
This usually indicates the browser has encountered a critical error (such as a syntax problem) and stopped all the scripts from running.
Are you sure the console in the browser's developer tools does not show any JavaScript errors on that page?
Which editor versions are you using?
Comment #3
Pafla CreditAttribution: Pafla commentedI see no errors.
Wysiwyg is 7.x-2.2+29-dev
Comment #4
TwoDWhich editor version? As in CKEditor, TinyMCE, etc.
Which browser are you using?
Do you see any files listed in red (access denied, not found, etc) on the Network tab of the browser's developer tools after refreshing the page?
Do other scripts on the same page work? Such as collapsing fieldsets, vertical tabs, show/hide summary, only showing the active format description, AJAX controls (add another value to a field), autocomplete fields, and so on?
Comment #5
Pafla CreditAttribution: Pafla commentedUsing:
CKEditor 4.3.2.ba625e6
TinyMCE 3.5.10
I don´t see anything in red
I use fieldgroup, and the groups does collapse
I could make another user for you to log in?
Comment #6
TwoDThat would be great. Send me the credentials via my contact form and I'll have a look.
Comment #7
TwoDYou have an error on line 12 of sites/all/modules/social_profile_field/js/social_profile_field.js, preventing other scripts to run on that page.
It's using jQuery.live() (added in v1.3, deprecated in v1.7, removed in v1.9), and you're using jquery_update module to load jQuery v1.10.2, hence the conflict.
Fix that (patch social_profile_field, or downgrade jQuery) and you're good to go. =)
Comment #8
Pafla CreditAttribution: Pafla commentedThanks
But I´m not that pro.
How do i downgrade or patch
I don´t see an issue about jquery at https://drupal.org/project/issues/social_profile_field?text=&status=All&...
Comment #9
TwoDThere's a setting for the jQuery update module which lets you pick the jQuery version to use.
For patches, you would have to look through the social_profile_field issue queue and see if someone has already noticed this issue and see if they provided a patch. If not, you may have to hack the javascript file yourself and see what could fix the problem.
It may be as simple as replacing the call to
live()
withon()
, as I think they can take the same paramters and should have the same end result. The module should not need to use either though, as Drupal'sDrupal.behaviors
system essentially performs the same functionality, without the need to rely on a specific jQuery version.Comment #10
Pafla CreditAttribution: Pafla commentedThanks again.
I found the settings.
And in line 12 of sites/all/modules/social_profile_field/js/social_profile_field.js
I edited this
- $(".edit-field-social-profile-url", context).live("change", function (event) {
+ $(".edit-field-social-profile-url", context).on("change", function (event) {