Hi,

I know that because I have made some changes to the code to switch from the wysiwysbb editor to the default wysiwyg editor, my support has ended :) but as this is an improvement and maybe an easy fix please stay with me...
Because I had a lot of profiles already on html the bbcode editor was for me just not useful, besides that the user is used to working with the default wysiwyg editor and not with the bbcode editor.

just noticed that I have an issue:
when a user edits his/her 'about me' profile: the wysiwyg editor just works fine, but changes made to the profile are not saved (no error prompted). When a new user tries it, the editor works just fine, but the profile cannot be saved.
The following message is prompted (it is in dutch so I made a translation):
Error! missing required fields, please try again

the 'about me' info is not saved.
When I hide (via [hide/show] above editor) the editor, I am able to save the profile and afterwards edit (but not save) the profile with the editor enabled.

Is there something that I missed when I made those changes?

This is what I changed:
in file: components/com_cjblog/views/users/tmpl/default.php
<div class="muted padbottom-5"><?php echo CJFunctions::substrws(CJFunctions::parse_html($user['about'], false, false, false));?></div>

and in file: components/com_cjblog/views/profile/tmpl/default.php
change wysiwygbb into wysiwyg (without bb)

Hope somebody can point my in the right direction to solve this :)
regards,
Ruud.

Sharing = Caring ㋛

Like it on Facebook, +1 on Google, Tweet it or share this topic on other bookmarking websites.
  • Re: [fixed] wysiwyg 'about me' editor error

    by » 5 years ago


    Find below code in media/com_cjblog/js/cjblog.min.js and find below code.
    $('.btn-save-about').click(function(){


    After that add
    if(typeof tinymce != 'undefined'){
    tinymce.triggerSave(true, true);
    }

    Follow me on twitter: https://twitter.com/corejoomla
    If you use our extensions, please post a rating and a review at the Joomla! Extensions Directory.
    CjFitCjForum | Polls | Answers | Quizzes | Quotes | Surveys | GPS Tools | CjBlog


  • Re: [fixed] wysiwyg 'about me' editor error

    by » 5 years ago


    Hi Maverick, thanks a lot for looking into this!
    Just tried it and it didn't work, I am using JCE editor and appearently there is a hack needed.
    Found on a developer website that the line should read: tinymce.triggerSave(); (without the parameters)
    if(typeof tinymce != 'undefined'){
    tinymce.triggerSave(); /* omit parameters true, true because of jce save fix*/
    }

    Tried that and... fixed :)
    Thanks for your continued support and for making our website look good and professional to our website users :)))))

    Sharing = Caring ㋛


You do not have permissions to reply to this topic.

Powered by CjForum

Site Search

Trending Topics

Community Survey taking long time to finalise
  • one hour ago.
  • 1 reply
Hi, created a survey, when a user uses it, when they get to the end...

Please Wait after Survey only ends, if pdf is not attached
  • 4 hours ago.
  • 2 replies
I created several Test-Surveys but all of them can't be finished...

Bugs in Responses menu
  • 5 hours ago.
  • 0 replies
Thank you for adding the suggestions in the responses menu...

Avatar not uploading
  • 10 hours ago.
  • 9 replies
I am having trouble getting the avatar to upload but the issue is...

Fatal error: Allowed memory size of 268435456 bytes exhausted
  • 13 hours ago.
  • 1 reply
Hello, I recently bought the forum, but when installing the...

Subscribe Newsletter