ehuk Posted March 2, 2009 Share Posted March 2, 2009 Hi Guys, I am trying to improve some of our templates, and by using a lot of: {if $type eq "server"} I managed to get stuff like bandwidth graphs, remote reboot access, IP information, dedicated server cPanel login etc. But we also offer VPS Servers which also are classified as "Servers" which means having something specifically for VPS servers is a pain. I can do it via a custom field on all Dedicated + VPS products, something like {if $customfields.1.value eq "VPS Server"} and {if $customfields.1.value eq "Dedicated Server"} But I was wondering if there was a way to use $type. Thanks 0 Quote Link to comment Share on other sites More sharing options...
ehuk Posted March 3, 2009 Author Share Posted March 3, 2009 Well for anyone who is wondering you can use: {if $groupname eq "Virtual Private Servers"} {if $groupname eq "Dedicated Servers"} Obviously specifying your Group Name in the Admin section. 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.