ProDesigning Posted January 2, 2010 Share Posted January 2, 2010 Hello to all, And I hope everyone had / is having a Happy New Year! I have been dinking around with email templates trying to make them nicer so on all Dedicated Servers I have a custom field: Control Panel It's a Dropdown and has the options: None,cPanel,DirectAdmin,Plesk This custom Field is the third option (Display Order #2) and checked I have tried checking admin only or checking no options on it. Well when I do my new Dedicated Server email it doesn't work, it shoots to a blank page telling me something isnt right with these variables. This is what I put in there to get it to not work: {if $service_custom_fields.3 eq "cPanel"} Control Panel Type: cPanel / WHM WHM Login IP: <a href="{$service_dedicated_ip}:2086">{$service_dedicated_ip}:2086</a> WHM Username: root Root Password: {$service_password} {elseif $service_custom_fields.3 eq "DirectAdmin"} Control Panel Type: DirectAdmin Main Login IP: {<a href="{$service_dedicated_ip}:2222">{$service_dedicated_ip}:2222</a> Main Username: admin Root Password: {$service_password} {elseif $service_custom_fields.3 eq "Plesk"} Control Panel Type: Plesk Main Login IP: {<a href="{$service_dedicated_ip}:8443">{$service_dedicated_ip}:8443</a> Main Username: root Root Password: {$service_password} {elseif $service_custom_fields.3 eq "None"} You Didn't Order a Control Panel {/if} And all fields are spelled correctly so this is where I am getting confused. I know this email template works correctly because if I take this out it sends just fine. Any help would be appreciated. 0 Quote Link to comment Share on other sites More sharing options...
ProDesigning Posted January 2, 2010 Author Share Posted January 2, 2010 And let me state that I go to the service under the client and select the proper control panel and click save before I try sending the email out. 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.