Newer
Older
# Custom TZCLD
Package with custom components for TZCLD.
Paired with `solid-communities`, `solid-directory` and `djangoldp-tzcld` to provide specific features to TZCLD.
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
## Usage
Orbit:
```json
{
"npm": [
{
"package": "@startinblox/custom-tzcld",
"version": "1.0"
}
],
"components": [
{
"type": "communities",
"parameters": {
"addresses": "federation://community-addresses/",
"dataSrc": "federation://communities/",
"noRender": "",
"uploads": "server://upload/",
"display-extra-fields": "tzcld_profile",
"display-widget-tzcld_profile": "customtzcld-display-widget"
},
"route": "communities",
"experimental": ["routing"]
}
]
}
```
html:
```html
<solid-communities
data-src="https://server/communities/"
addresses="https://server/community-addresses/"
uploads="https://server/upload/"
display-extra-fields="tzcld_profile"
display-label-tzcld_profile="role, spaces"
display-widget-tzcld_profile="customtzcld-display-widget"
></solid-communities>
```
Where:
* customtzcld-display-widget is a magic widget to display an tzcld_profile
* display-label-tzcld_profile is the list of field to ignore, separated by a comma
## Developpers
Installation:
```bash
npm install
```
Build with:
```bash
npm run build
```
Watch files & rebuild on change with this command:
```bash
npm run watch
```