Any help for adding custom Widget zone in 2.65?

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
11 anni tempo fa
I'd like to learn how to add custom Widget zone in 2.65. There is one thing called Html.Widget but I am not sure what's the difference between Html.Action("WidgetByZone",...");

Thanks in advance.
11 anni tempo fa
They are the same
11 anni tempo fa
So If I want to add a custom widget, where also should I add it besides @Html.Widget(); thing? Any other file which acts like a widget registerer?
11 anni tempo fa
atarikg wrote:
So If I want to add a custom widget, where also should I add it besides @Html.Widget(); thing? Any other file which acts like a widget registerer?


@Html.Widget() register the place as a Zone that can 'host' a Widget. Then in the Configure Widget admin page, you can choose which Zone the Widget gets rendered at. You don't need to define custom Widget Zone if you create a custom Widget. You only need to define custom Widget Zone only if the default zones are not sufficient.

In short, don't confuse between Widget Zone and Widget. :D
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.