an example for $config.system.foo
last edited: Tue, 07 Nov 2017 09:44:31 +0100
@Hubzilla Development+
This code
not works. Can you please post one example for if-statements for Hubzilla-Version 2.5? S. also https://hub.freecommunication.org/help/member/member_guide#Comanche_Page_Description_Language
#ConditionalExecution #configSystemFoo
This code
[if mywebname]
... the configuration variable system.foo evaluates to 'true'.
[else]
...
[/if]
or [if [observer.webname]]
... the configuration variable system.foo evaluates to 'true'.
[else]
...
[/if]
or this
[if [observer.webname] == mywebname]
... todo
[/if]
not works. Can you please post one example for if-statements for Hubzilla-Version 2.5? S. also https://hub.freecommunication.org/help/member/member_guide#Comanche_Page_Description_Language
#ConditionalExecution #configSystemFoo
last edited: Tue, 07 Nov 2017 09:46:41 +0100
@Haakon Meland Eriksen (Parlementum) @Einer von Vielen.
I read in file https://hub.freecommunication.org/.htconfig.php :
I read in file https://hub.freecommunication.org/.htconfig.php :
/*
* Notice: Many of the following settings will be available in the admin panel
* after a successful site install. Once they are set in the admin panel, they
* are stored in the DB - and the DB setting will over-ride any corresponding
* setting in this file
*
* The command-line tool util/config is able to query and set the DB items
* directly if for some reason the admin panel is not available and a system
* setting requires modification.
*
*/