Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > WYSIWYG toolbar disappear when logged user is not administrator View modes: 
User avatar
Member
Member
mj-y - 11/1/2013 3:42:25 PM
   
WYSIWYG toolbar disappear when logged user is not administrator
I have a custom table with a description field that it's "field type" is "HTML area(formatted text)". I use an alternative form of this table in my project. when I login as administrator it's ok, but when I login as a user this field is like the picture below: (it don't show the toolbars!)
User image

User avatar
Member
Member
kentico_sandroj - 11/4/2013 7:12:40 PM
   
RE:WYSIWYG toolbar disappear when logged user is not administrator
Hello,

Would it be possible to confirm the exact version of your v5 instance? It should be listed in the top right corner of CMS Desk and Site Manager. Also, how exactly are you displaying the alternative form, which Web part, etc?

Please check for any errors using:
Site Manager > Administration > Event Log
Fiddler console window
Security debug

Once I know the exact version and the approach you are taking I will attempt to reproduce this issue and provide an update.

Best Regards,
Sandro

User avatar
Member
Member
mj-y - 11/6/2013 5:22:14 PM
   
RE:WYSIWYG toolbar disappear when logged user is not administrator
It is v5.5.3996 R2 version.

I have created a web user control (webpart) with some tabs. one of the tabs shows an altenative form of a custom table. the codes that belongs to this action is:

.ascx page:
  <cms:CustomTableForm ID="newAdvertise" runat="server"  />  

.ascx.cs page:
 // Get alternative form info for new advertise                       
AlternativeFormInfo afi0 =AlternativeFormInfoProvider.GetAlternativeFormInfo(NewAdvertiseFormName);
if (afi0 != null)
{
newAdvertise.ShowPrivateFields = true;
newAdvertise.CustomTableId = CMS.SettingsProvider.DataClassInfoProvider.GetDataClass("AD.Advertise").ClassID;
newAdvertise.FormMode = CMS.FormEngine.FormModeEnum.Insert;
newAdvertise.AlternativeFormFullName = this.NewAdvertiseFormName;
}
else
{
lblError.Text = String.Format(ResHelper.GetString("altform.formdoesntexists"), NewAdvertiseFormName);
lblError.Visible = true;
newAdvertise.Visible = false;
}

it shows the form correctly and saves data, the only problem is disappearance of WYSIWYG toolbar.

User avatar
Member
Member
kentico_sandroj - 11/13/2013 6:41:51 PM
   
RE:WYSIWYG toolbar disappear when logged user is not administrator
Hello,

Thank you for the additional clarification. I am only able to reproduce this issue while debugging in VS, it works when I view it on the live site. Please see the linked screenshot. Is your field set to the same type as shown on the screenshot?

Best Regards,
Sandro

User avatar
Member
Member
mj-y - 11/15/2013 4:47:50 PM
   
RE:WYSIWYG toolbar disappear when logged user is not administrator
when you can see a "custom table properties" and "live site" together .... it means that you are logged in as an administrator... I said It has problem when I logged in as a user ( a simple user... not an editor or anything else)...

User avatar
Member
Member
kentico_sandroj - 11/20/2013 12:28:23 PM
   
RE:WYSIWYG toolbar disappear when logged user is not administrator
Hello,

Sorry for missing that, you are right. The toolbar is missing when logged out. However, upgrading CKEditor seems to take care of this issue, would that work for you?

You may upgrade the CKEditor from here.
Content of the package should be copied to ~/CMSAdminControls/CKeditor folder but only the following items:
- ckeditor.js
- contents.html
- all folders except _samples and _source

Please make sure to create backups as the newer CKEditor version might not be 100% compatible with older Kentico versions.

Please let me know if you have any questions.

Best Regards,
Sandro