Variables in widgets (html)

Solved Technical Support
  • Hi. Is it possible to use variables in HTML widgets ? For example {tag} etc ? I'm working on some headers for pages and would like the values to change per the category or tag selected.

    Thanks

  • Yes it is possible, html widgets can access all the data available in ajaxify.data.

    If you put {description} in the category header widget, it will display the description for that category.

    You can also add custom data via filter:category.build or any other build hook and that data will also be available for the html widget.

  • Yes it is possible, html widgets can access all the data available in ajaxify.data.

    If you put {description} in the category header widget, it will display the description for that category.

    You can also add custom data via filter:category.build or any other build hook and that data will also be available for the html widget.

  • @baris excellent. Thanks


Suggested Topics