MainTech Posted September 4, 2005 Share Posted September 4, 2005 This may help others in customizing the look of the site. Changing Font For Text In the English.txt file you can use html for FONT etc. and add to any line. But you have to put a \ prior to any quotation mark within that code - example $_LANG['ordercontinue'] = "<font size=\"2\" color=\"#cc0000\">[b]The order process has already been started.[/b]</font>"; Note there are quotes around the original text.. You DO NOT have to put a \ before these. Just be sure that you do not use any type of Font around any BUTTONS text, it will not work. Text this does not work for are listed here $_LANG['ordernowbutton'] = "Order Now"; $_LANG['orderpromovalidatebutton'] = "Validate Code >>"; $_LANG['ordercancelbutton'] = "Cancel Order"; $_LANG['ordercontinuebutton'] = "Click to Continue >>"; $_LANG['ordersignupnow'] = "Signup Now"; $_LANG['supportticketsticketsubmit'] = "Submit"; $_LANG['supportticketsclose'] = "Close Ticket"; $_LANG['supportticketsreopen'] = "Re-Open Ticket"; $_LANG['clientareapaymentbutton'] = "Pay Now"; $_LANG['loginbutton'] = "Login"; $_LANG['passwordremindersendbutton'] = "Send Reminder"; $_LANG['affiliatesrequestbutton'] = "Request Withdrawal"; $_LANG['affiliateswithdrawrequestbutton'] = "Request"; $_LANG['domainlookupbutton'] = "Lookup"; $_LANG['clientareaupdatebutton'] = "Update"; If I find others I will update this. HTML In Your Hosting Package Descriptions You can also use HTML in your Hosting Packages descriptions. I typed it out in my html editor first and then just cut and pasted it in the description area in the CONFIGURATION>HOSTING PACKAGES Incorporating Into an Existing or New HTML Template If wanting to use an existing or new html template you only need to change the template.tpl and the ordertemplate.tpl to reflect the new site. It is actually one of the easiest and best templates structures I have seen to incorporate your site look into the WHMCompleteSolution. Just enter the code from the template.tpl into the area in your new html template you want it to go. (Usually where the content would be placed) with a little tweaking of the codes, it will incorporate perfectly. For the ordertemplate.tpl just put the [CONTENT] code in where you want it in your html and if you want to you can put a FONT code around that to make all the text look the way you want to (can only do one font in this though) whatever the program creates as text will be in that font. You can also update the style.css, but if you want different text in this area (like I did) it works to do that. You will want to tweak the other templates also by using HTML like Font, Breaks etc to match the look. The template.tpl uses these plain templates. Just remember if there are any updates to the program, you will need to double check all your changes in any of the new pages in the updates before uploading. This shouldn't take too long:) Hope I explained this all well enough? FYI!! I have gotten a few emails asking if I am associated with WHMC.. NO, I am not.. not a bit other than I use the program and thought this info would be helpful to other users. I am not paid by whmc, I paid for my program just like anyone else. Dan Lee MainSecure.net 0 Quote Link to comment Share on other sites More sharing options...
WHMCS CEO Matt Posted September 27, 2005 WHMCS CEO Share Posted September 27, 2005 Thanks for that MainTech - that should really help some other users of WHMCS as our documentation is a little poor at the moment! I can confirm MainTech is not in any way associated with WHMCompleteSolution. Thanks again for the great write up, Matt 0 Quote Link to comment Share on other sites More sharing options...
AC-Webhosting Posted November 5, 2005 Share Posted November 5, 2005 Thats going to help me alot! Thanks!!! Adam 0 Quote Link to comment Share on other sites More sharing options...
MainTech Posted November 5, 2005 Author Share Posted November 5, 2005 Thanks Matt, glad I could help And AC your welcome. It is kinda fun what you can do with the template structure! Dan 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.