Dgital Essence Posted November 14, 2010 Share Posted November 14, 2010 Is it possible to test if a feature is enabled or not? I am trying to test if the affiliates feature (Settings - General Settings - Affiliates) is enabled and if so do something. I can't see anything in the Smarty docs but it is probably because I am searching for the wrong words. thanks. 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted November 14, 2010 Share Posted November 14, 2010 Add {debug} to the tpl file. Remember to remove it when done. 0 Quote Link to comment Share on other sites More sharing options...
Dgital Essence Posted November 14, 2010 Author Share Posted November 14, 2010 Thanks for your reply Sparky. I was hoping to have this enabled all the time so that I could conditionally test if say the affiliates system was enabled and hide/show accordingly. I know it can be commented out but I like to make everything as dynamic as possible. thanks. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.