Sitefinity inline editing for Custom Module Widget Templates created by Module Builder
How to enable inline editing for Custom Module Widget Templates created by Module Builder?
Find the attached example "inline-editing.jpg".
Hi,
For module builder widgets there is no way to implement inline editing as the supported way to add inline editing to a module or custom control is outlined here, however this is only supported in the built in modules or custom content based modules as the samples in sitefinity SDK, for module builder modules new inline editing functionality will be introduced later this year to provide inline editing for modules built with module builder.
Regards,
Stanislav Velikov
Telerik
Thanks for the reply.
Is there an update on this? I am using v6.3.5, but it looks like there is a method introduced with v6.2, but the post describing it gets a bit messy.
www.sitefinity.com/.../how-to-enable-inline-editing-for-your-custom-module
Is that the approved way for v6.3.5 and if so, is there a clearer description of what is required?
Hi,
For modules created by module builder you could use the build-in inline editing functionality.
Since Sitefinity 6.2 release the Inline editing has replaced the Browse and Edit feature, and introduces improvements in the overall usability and user experience with the use of HTML 5.
Editing is supported for the following field types:
Edits made to the content on a page are published at once using a “Publish All” button.
Comments
The reworked comments provide support for broad set of types - News, Blog Posts, Events, List, Images, Videos, Documents, Pages, Dynamic modules, etc.
The feature includes:
Thanks Stefani, is there documentation on how to code your templates so that the inline editing works for dynamic modules build with the module builder? It currently does not work "out of the box", even with the default widgets created when the module was created.
Hello,
We have created a module using Module Builder in Sitefinity 6.3 and we added an item. We were able to edit it using our Inline Editing functionality. For your convenience I have created a sample video demonstration.
Moreover, we have created a module using Module Builder in Sitefinity 7.0 and we added an item.We were able to edit it without a problem. Please review the second video demonstration.
Please make sure that you are logged in the backend of Sitefinity to use the Inline Editing. I would suggest you to review the following article from our documentation.
Furthermore, open your web.config file and make sure that you have the following section inside it:
<!-- SERVICE STACK-->
<
location
path
=
"RestApi"
>
<
system.web
>
<
httpHandlers
>
<
add
path
=
"*"
type
=
"ServiceStack.WebHost.Endpoints.ServiceStackHttpHandlerFactory, ServiceStack"
verb
=
"*"
/>
</
httpHandlers
>
</
system.web
>
<!--Required for IIS7-->
<
system.webServer
>
<
modules
runAllManagedModulesForAllRequests
=
"true"
/>
<
validation
validateIntegratedModeConfiguration
=
"false"
/>
<
handlers
>
<
remove
name
=
"ServiceStack.Factory"
/>
<
add
path
=
"*"
name
=
"ServiceStack.Factory"
type
=
"ServiceStack.WebHost.Endpoints.ServiceStackHttpHandlerFactory, ServiceStack"
verb
=
"*"
preCondition
=
"integratedMode"
resourceType
=
"Unspecified"
allowPathInfo
=
"true"
/>
</
handlers
>
</
system.webServer
>
</
location
>
<!-- END SERVICE STACK-->