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

CommentFileSizeAuthor
field-create.png33.74 KBPafla
fieldinaccount.png35.19 KBPafla
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Pafla’s picture

Title: Np Wysiwyg in account » No Wysiwyg in account
Issue summary: View changes
TwoD’s picture

Status: Active » Postponed (maintainer needs more info)

It 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?

Pafla’s picture

I see no errors.

Wysiwyg is 7.x-2.2+29-dev

TwoD’s picture

Which 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?

Pafla’s picture

Using:
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?

TwoD’s picture

That would be great. Send me the credentials via my contact form and I'll have a look.

TwoD’s picture

Category: Bug report » Support request
Status: Postponed (maintainer needs more info) » Fixed

You 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. =)

Pafla’s picture

Thanks

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&...

TwoD’s picture

There'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() with on(), 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's Drupal.behaviors system essentially performs the same functionality, without the need to rely on a specific jQuery version.

Pafla’s picture

Thanks 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) {

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.