TheJackal84 Posted May 6, 2017 Share Posted May 6, 2017 Can anybody tell me the {{ if }} statement for if a certain app is installed Link to comment Share on other sites More sharing options...
Adriano Faria Posted May 6, 2017 Share Posted May 6, 2017 {{if \IPS\Application::appIsEnabled( 'appkey')}} Link to comment Share on other sites More sharing options...
Ilya Hoilik Posted May 6, 2017 Share 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}} Link to comment Share on other sites More sharing options...
TheJackal84 Posted May 7, 2017 Author Share 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 Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.