TheJackal84 Posted May 6, 2017 Posted May 6, 2017 Can anybody tell me the {{ if }} statement for if a certain app is installed
Ilya Hoilik Posted May 6, 2017 Posted May 6, 2017 In case you'd like to check if an app is installed and enabled then use first variant {{if \IPS\Application::appIsEnabled('forums')}} forums app is installed and enabled {{endif}} {{if array_key_exists( 'forums', \IPS\Application::applications() )}} forums app is installed, but may be disabled {{endif}}
TheJackal84 Posted May 7, 2017 Author Posted May 7, 2017 10 minutes ago, Adriano Faria said: {{if \IPS\Application::appIsEnabled( 'appkey')}} I see that in the original code but weren't to sure if it was different for non installed. Thanks your a legend
Recommended Posts
Archived
This topic is now archived and is closed to further replies.