Portal Engine Questions on portal engine and web parts.
Version 6.x > Portal Engine > EditableContent web part does not save the data View modes: 
User avatar
Member
Member
Greg - 12/3/2012 6:57:11 AM
   
EditableContent web part does not save the data
Hi All,

I just set up new website from scratch using 100% portal engine (master template is default blank page with one zone).
There I added EditableContent web part (as in CorporateSite example).

When I update 'Default content' field in configuration and put some HTML all works fine but when I try to put some text (after switched to 'Page' tab) into web part WYSIWYG and click 'Save' I have message "The changes were saved." but content disappears.

Same when I tried to do using ASPX template.

Please help!!
Gregory

User avatar
Kentico Customer Success
Kentico Customer Success
kentico_martind2 - 12/3/2012 8:10:50 AM
   
RE:EditableContent web part does not save the data
Hi Gregory,

Other changes on your site are saved? Is this the issue just of EditableContent web part? Have you tried to apply the latest hotfix? Are there any errors in the Event log?

Best regards,
Martin Danko

User avatar
Member
Member
Greg - 12/3/2012 8:31:53 AM
   
RE:EditableContent web part does not save the data
I have only one web part but e.g. configuration and default text has been saved properly. Also when I try Corporate Site the same web part is saving data correctly. (I stopped current website, ran Corporate Site and test)

Also I removed this one and added other one without any modification (just insert web part) and still the same error :(
Eventlog:

Event ID: 585
Event type: Information
Event time: 12/3/2012 2:25:02 PM
Source: Content
Event code: UPDATEDOC
User ID: 53
User name: administrator
IP address: 127.0.0.1
Node ID: 549
Document name: /

Description: Update document /

Site name: HrSolutionsPortal
Machine name: R8NGBA3
Event URL: /KenticoCMS_6.0SP1/cms/getdoc/ad7c1df2-b740-4288-bf92-39e24df5c2a0/default.aspx
URL referrer: http://localhost:2132/KenticoCMS_6.0SP1/cms/getdoc/ad7c1df2-b740-4288-bf92-39e24df5c2a0/default.aspx
User agent: Mozilla/5.0 (Windows NT 5.1; rv:16.0) Gecko/20100101 Firefox/16.0

User avatar
Member
Member
Greg - 12/3/2012 8:36:13 AM
   
RE:EditableContent web part does not save the data
When I tried set up new project from scratch - it works.
I will figure it out but looks like master template or template is wrong...

User avatar
Kentico Customer Success
Kentico Customer Success
kentico_martind2 - 12/3/2012 8:45:13 AM
   
RE:EditableContent web part does not save the data
Hi Gregory,

Please, take a look at the Developers Guide, maybe you have missed something... But anyway, it's good that it works now.

Best regards,
Martin Danko

User avatar
Member
Member
Greg - 12/3/2012 8:54:05 AM
   
RE:EditableContent web part does not save the data
I found it.

When I dropped this bit of HTML few lines above web part - it started to work.
<section class="search g_4 omega">
<form><input class="edit font-default" type="text" name="search" placeholder="enter search term">
<input type="submit" class="button" value=">>"></form></section>
Very weird...

User avatar
Kentico Customer Success
Kentico Customer Success
kentico_martind2 - 12/4/2012 6:45:48 AM
   
RE:EditableContent web part does not save the data
Hi Greg,

I think that maybe <section> tag is causing this issue, because it was introduced with HTML 5 and it can be conflicting with something in the WebPart. However, ale you using HTML 5 doctype definition on your page?

Best regards,
Martin Danko