Question

I'm hoping this is a simple question. I have a custom widget. Let's say it is "SuperAwesomeWidget.ascx". When I'm editing a PageBuilder wireframe, I can see my widget in the little pulldown widget tray at the top of the screen. Thing is, the name under my icon is "SuperAwesomeWidget".

Now, I know that I can go to the widgets settings in the WorkArea and define a custom name, but what if I want Ektron to just "know" what the name should be? I'm hoping there is some config file somewhere that I can add my widget name to. I'd like to be able to drop this widget along with maybe a config file or something into a second Ektron install and not need to define the name via the workarea.

Was it helpful?

Solution

For anyone in the future googling this issue, there is a better answer than my previous one, particularly better than a workarea modification.

To update the display title of a widget in the widget bar:

  1. Go to Workarea > Settings > Configuration > Personalization > Widgets
  2. Find your widget in this list and click the edit icon to the left of its name
  3. Modify the display title in the second text field in the modal that pops up.

Confirmed working in 8.6.1, likely works in all 8+ versions.

OTHER TIPS

Edit: While this answer is still partially correct, I have discovered the actual way to do this. The correction has been marked as the accepted answer.

Set your IWidgethost's title property:

IWidgetHost _host;
...
_host.Title = "Hello World Widget";

From the esteemed eGandalf's tutorial on widget development: http://www.ektron.com/Blogs/eGandalf/Break-it-down!-Widget-Development-How-To-(Part-1)/

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top