šŸ—ƒ Category List Widget

Iā€™m confused about the options for custom links:

Add custom links to the category sidebar.
Format (comma seperated): name, icon url, link url, options
Options (colon seperated): location: 'above' or 'below', default: 'above';
new_tab: 'true' or 'false', default: 'false';

I want the custom link to appear below the category list, but itā€™s appearing above the list and it doesnā€™t open in a new tab.

How should the options be written?

In that case youā€™ll want

Label,/icon.png,/path,location:below;new_tab:true

hm, yes the instructions are not the best. What change to the instructions would you recommend there to better convey whatā€™s needed?

Great that works, thanks!

Maybe ā€œoptions separated by semicolon, variables separated by colonā€ with the example you gave here? The example is helpful.

4 posts were split to a new topic: [Category List Widget] Custom lock icon and Pavilion sidebar style

Any idea if the Category List Widget is compatible with this Theme Component?

https://meta.discourse.org/t/category-previews/155296

Iā€™m after a way for users to know of the categories that they cannot access (and how to get access), but that leverages the awesomeness of this Layouts Widget.

How could I hide custom links from unregistered users?

@Zup

You can add this CSS:

html.anon {
  .layouts-custom-link {
    display: none;
  }
}

Another way is to limit the Widget to trust_level_0 in the Layout settings - this means you donā€™t have to hack the CSS.

image

I donā€™t want to hide the entire widget, I only want to hide specific custom links in the category list widget.

Bug - double hover

This happens when the CLW is full left and minimised:

image

Was impossible to get a screenshot of! Yay for mobile phones, eh