INSTANCE TABLES
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-18-2017 03:37 AM
Hi,
I have created a custom widget which is basically a box with a text which is used to redirect to another page. I have added this widget to a page also. But i am not able to edit the widget instance from the Page Editor upon clicking on the 'edit widget instance' option.
But i am able to edit the instances of OOB widgets which i have added to the page.
Any idea why am i not able to edit instance of a custom widget? Does it have anything to do with other instance tables?
Many Thanks,
Ruthra
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-18-2017 03:57 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-21-2017 06:15 AM
Hello Parvinder Pasrija,
I found out the solution for it. You can see a field called option schema in the widget. Please add the necessary fields which you want to get while clicking the edit instance option in the format ---->
[{"name":"show_panel","label":"Show Panel","type":"boolean"}]
This is used for showing a field called 'Show Panel' and is of type boolean.
Hope you find it Helpful.
Thanks and Regards,
Ruthra.V
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-21-2017 06:15 AM