File tree Expand file tree Collapse file tree 4 files changed +53
-0
lines changed
build/templates/UmbracoProject Expand file tree Collapse file tree 4 files changed +53
-0
lines changed Original file line number Diff line number Diff line change 28
28
"ConnectionString" :{
29
29
"longName" : " connection-string" ,
30
30
"shortName" : " "
31
+ },
32
+ "NoNodesViewPath" :{
33
+ "longName" : " no-nodes-view-path" ,
34
+ "shortName" : " "
31
35
}
32
36
},
33
37
"usageExamples" : [
Original file line number Diff line number Diff line change 55
55
"text" : " Optional: Database connection string when using Unattended install"
56
56
},
57
57
"isVisible" : " true"
58
+ },
59
+ {
60
+ "id" : " NoNodesViewPath" ,
61
+ "name" : {
62
+ "text" : " Optional: Path to a custom view presented with the Umbraco installation contains no published content"
63
+ },
64
+ "isVisible" : " true"
58
65
}
59
66
]
60
67
}
Original file line number Diff line number Diff line change 249
249
]
250
250
}
251
251
},
252
+ "NoNodesViewPath" :{
253
+ "type" : " parameter" ,
254
+ "datatype" :" text" ,
255
+ "description" : " Path to a custom view presented with the Umbraco installation contains no published content" ,
256
+ "defaultValue" : " "
257
+ },
258
+ "NoNodesViewPathReplaced" :{
259
+ "type" : " generated" ,
260
+ "generator" : " regex" ,
261
+ "dataType" : " string" ,
262
+ "replaces" : " NO_NODES_VIEW_PATH_FROM_TEMPLATE" ,
263
+ "parameters" : {
264
+ "source" : " NoNodesViewPath" ,
265
+ "steps" : [
266
+ {
267
+ "regex" : " \\\\ " ,
268
+ "replacement" : " \\\\ "
269
+ },
270
+ {
271
+ "regex" : " \\\" " ,
272
+ "replacement" : " \\\" "
273
+ },
274
+ {
275
+ "regex" : " \\\n " ,
276
+ "replacement" : " \\\n "
277
+ },
278
+ {
279
+ "regex" : " \\\t " ,
280
+ "replacement" : " \\\t "
281
+ }
282
+ ]
283
+ }
284
+ },
285
+ "HasNoNodesViewPath" :{
286
+ "type" : " computed" ,
287
+ "value" : " (NoNodesViewPath != \"\" )"
288
+ },
252
289
"UsingUnattenedInstall" :{
253
290
"type" : " computed" ,
254
291
"value" : " (FriendlyName != \"\" && Email != \"\" && Password != \"\" && ConnectionString != \"\" )"
Original file line number Diff line number Diff line change 15
15
},
16
16
"Umbraco" : {
17
17
"CMS" : {
18
+ //#if (HasNoNodesViewPath)
19
+ "Global" : {
20
+ "NoNodesViewPath" : " NO_NODES_VIEW_PATH_FROM_TEMPLATE"
21
+ },
22
+ //#endif
18
23
"Hosting" : {
19
24
"Debug" : false
20
25
}
You can’t perform that action at this time.
0 commit comments