Configuration Options: Difference between revisions
From SemanticOrganization
| Line 10: | Line 10: | ||
:Use this configuration option as a convenient way to create new predefined properties. If you use <code>semorg-generator</code> to create a new feature it will provide this line to be inserted into <code>LocalSettings.php</code>. | :Use this configuration option as a convenient way to create new predefined properties. If you use <code>semorg-generator</code> to create a new feature it will provide this line to be inserted into <code>LocalSettings.php</code>. | ||
== Custom Styles == | |||
$wgSemorgUseCustomStyles = false; | |||
You have to create your custom styles first (requires node.js and npm): | |||
cd extensions/SemanticOrganization | |||
cd /var/www/html/extensions/SemanticOrganization | |||
cp resources/custom/styles/example.custom.scss resources/custom/styles/custom.scss | |||
npm run prod | |||
== List Limit == | |||
$wgSemorgListLimit = 20; | |||
Latest revision as of 07:26, 3 November 2021
Additional Properties
$wgSemorgAdditionalProperties[""] = [
"id" => "",
"fields" => [
"id" => "",
"type" => ""
]
];
- Use this configuration option as a convenient way to create new predefined properties. If you use
semorg-generatorto create a new feature it will provide this line to be inserted intoLocalSettings.php.
Custom Styles
$wgSemorgUseCustomStyles = false;
You have to create your custom styles first (requires node.js and npm):
cd extensions/SemanticOrganization cd /var/www/html/extensions/SemanticOrganization cp resources/custom/styles/example.custom.scss resources/custom/styles/custom.scss npm run prod
List Limit
$wgSemorgListLimit = 20;