alfalogic Posted August 27, 2008 Share Posted August 27, 2008 Hello everyone. For proper integration of my site, I need custom header for all my ORDER PAGES and another custom header for SUPPORT and other section. Does anyone know how I could do this? Thank you Tom 0 Quote Link to comment Share on other sites More sharing options...
meneketehe Posted August 27, 2008 Share Posted August 27, 2008 {if $SCRIPT_NAME eq "cart.php"} YOUR CUSTOM HEADER FOR ORDER PAGE {elseif $SCRIPT_NAME eq "supporttickets.php" || $SCRIPT_NAME eq "submitticket.php" || $SCRIPT_NAME eq "knowledgebase.php" || $SCRIPT_NAME eq "viewticket.php"} YOUR CUSTOM HEADER FOR SUPPRT PAGES {else} YOUR OTHER DEFAULT HEADER {/if} 0 Quote Link to comment Share on other sites More sharing options...
alfalogic Posted September 6, 2008 Author Share Posted September 6, 2008 Thank you, I'll give it a try 0 Quote Link to comment Share on other sites More sharing options...
alfalogic Posted September 6, 2008 Author Share Posted September 6, 2008 Thanks, it worked perfectly. The only addition I had to do was to add the path to the file: {if $SCRIPT_NAME eq "/whmcs/cart.php"} YOUR CUSTOM HEADER FOR ORDER PAGE ... Thanks again for your professional help! 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.