wdele Posted October 1, 2014 Share Posted October 1, 2014 Hi, I'm modifying my template but I'm having some trouble with a statement in Smarty: {if $groupname eq 'hosting'}<li><a href="http://{$domain}:2083" target="cpanel">cPanel (advanced)</a></li>{/if} I can't see the option in a product from the hosting category. Why? Do I have an error in my code? 0 Quote Link to comment Share on other sites More sharing options...
SeanP Posted October 1, 2014 Share Posted October 1, 2014 In which template are you putting this code? Does the 'hosting' string match the case of the group name, or should it be 'Hosting'? 0 Quote Link to comment Share on other sites More sharing options...
wdele Posted October 1, 2014 Author Share Posted October 1, 2014 In which template are you putting this code? Does the 'hosting' string match the case of the group name, or should it be 'Hosting'? You're a genius. I wasn't aware of the fact that it was case-sensitive. It works now. 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.