Rank: Advanced Member
Groups: Authorized User, Developers Joined: 5/30/2020(UTC) Posts: 125
Thanks: 14 times Was thanked: 3 time(s) in 3 post(s)
|
I noticed that [[Widget:LoginStatus]] is included in the Footer Links (Dark) HTML Snippet. Is there a trick to allowing my own widgets work to be included in HTML Snippets the same way? I could not get it to work.
|
|
|
|
Rank: Advanced Member
Groups: HelpDesk, Developers Joined: 11/9/2018(UTC) Posts: 564
Thanks: 122 times Was thanked: 26 time(s) in 25 post(s)
|
Should work for any widget. Make sure you have properly decorated your class as a widget ex: Code:[RegisterWidget(DisplayName = "Multi Configurator", Category = WidgetCategory.General, Description = "Displays a dropdown choice of all configurators and renders the appropriate individual configurator upon selection.")]
public ActionResult MultiConfigurator(MultiConfiguratorWidgetParams parameters)
and also make sure when you're adding the reference in an html snippet, do it in the raw HTML - don't just type in the html editor window like regular text. Code:[[Widget:MultiConfigurator]]
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The AbleCommerce Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close