Zup
August 24, 2021, 3:41am
21
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?
angus
August 25, 2021, 2:55am
22
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?
Zup
August 25, 2021, 3:30am
23
Great that works, thanks!
Maybe āoptions separated by semicolon, variables separated by colonā with the example you gave here? The example is helpful.
NathanK
December 9, 2021, 8:21am
25
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.
Zup
January 22, 2022, 10:35pm
26
How could I hide custom links from unregistered users?
@Zup
You can add this CSS:
html.anon {
.layouts-custom-link {
display: none;
}
}
NathanK
January 26, 2022, 12:45am
28
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.
Zup
January 26, 2022, 1:06am
29
I donāt want to hide the entire widget, I only want to hide specific custom links in the category list widget.
NathanK
February 22, 2022, 11:46am
30
Bug - double hover
This happens when the CLW is full left and minimised:
Was impossible to get a screenshot of! Yay for mobile phones, eh