Jump to content

How To Do custimisation???


nick8701

Recommended Posts

Hi people im a bit confused as to how to custimise the template. Or which template to customise. AS i dont know any php just know html.

 

How do we start going about to custimise the order form, ive looked at the documentation and looked in the Customising WHMCS section. But it is rather brief and gives not much details on how to customise the template.

 

Wouldnt it be better if you gave us an example template so we know how to customise it???

 

And which file do i customise to integrate the template into the website???

 

please help, im soooo lost at the moment?????

Link to comment
Share on other sites

glad to see im not the only one having problems jackgordon, thanks for the reply everyone.

 

ive visted http://wiki.whmcs.com but it doesnt say which templates to edit.

 

I want to edit the orderform templates, so does that mean i have to edit all the templates listed in that file.

 

i.e. adddomain, addons, complete, configuredomains, configureproducts, confiugure productdomain, fraudcheck, login, products, viewchart?????

 

Do i have to configure all these "templates" in the default area of the folder???

 

If so chicken dippers u mentioned HTML, so do i need to create another html file called "order" and copy and paste the info from the templates to the html file???

 

Or if i do edit the above mentioned templates how do i do that??? do i need a program to edit those templates???

 

I have dreamweaver but it doesnt show the full image of the default template????

 

othellotech u mentioned editing the header and footer tpl files, but which one to edit, all the templates mentioned above???

 

And which folder of templates do i edit???

 

is it templates_c or templates????

 

please help im very confused???

 

thanks

Edited by nick8701
Link to comment
Share on other sites

WHMCS uses a smarty template system, this means you can customise pretty much every part of the customer-facing pages if you wish. However to make it look like your website all you need to do is edit header.tpl and footer.tpl. The tpl files are basically just html.

 

I shall expand on the instructions on this page: http://wiki.whmcs.com/Client_Area_Template_Files

 

  1. Copy the templates/default folder and rename it to your company's name. For example in my templates folder I have; default, orderforms, and valcato.
  2. Edit the header.tpl and footer.tpl files, all you need is notepad...you should be able to use dreamweaver.
  3. header.tpl is the code for the top-half of your webpage, WHMCS then inserts the content (which you can modify using all the other template files if you wish) and footer.tpl is the bottom half of the page.
  4. Once you've edited the two files, upload them.
  5. Then just go to Configuration > General Settings in the WHMCS admin to change from the default template to your custom one.

 

You could always just pay WHMCS to do this customisation for you: http://www.whmcs.com/services.php

Edited by chickendippers
Added final bullet point
Link to comment
Share on other sites

Thanks for the advice chickendippers, i shall implement that straight away.

 

Ill try using notepad now, as dream weaver is making my task harder.

 

So i just edit header and footer, nothing else, then?

 

Ok, and after i edit it. Do i have to change the directory of the images?

 

Or do i copy the images in my notmal html folder to the images folder in the defult page???

 

Do i put the images in the whmcs/images directory or the whm/templates/company name/images???

 

Also when click on the link it says: http://www.domain.com/whmcs/index.php

How do i change it to say: http://www.domain.com/index.php

 

????? any help would be great

Edited by nick8701
Link to comment
Share on other sites

You'll need to do header and footer and the css file (unless you want blue hyperlinks).

 

You can put the images wherever you like, as long as you specify the correct path in the templates. Leaving them in images/ will be fine.

 

To move the WHMCS directory, read http://wiki.whmcs.com/Licensing You will need to put it in your public_html directory (assuming you're using cPanel).

Link to comment
Share on other sites

For example- chickendippers your shopping cart form says:

 

https://billing.valcatosupport.com/cart.php?a=add&pid=18

 

how do i make mine to say

 

https://domain.com/cart.php?a=add&pid=18 ????

 

Do i need to copy all the files on my whmcs folder and paste it into the public html folder and then delete all the other files in the whmcs folder all together.

 

so would that make it like:

 

https://domain.com/cart.php?a=add&pid=18

 

or do i need to do anything else with it????

 

yes im using C-panel

 

so i just put all the files in my public html folder, with no whmcs folder in it???

Link to comment
Share on other sites

Nick, HTML is really all you need to get started

I find using notepad++ a bit easier, as it match pairs of items and colour codes different types of text.

I also find it when I'm customising templates that it helps if I spend 5 minutes lining up the <table>...</table> by inserting tabs. That way the start and end point of a batch of code are more obviously, which then makes the whole {if} thing that much more comprehensible.

It will definetly make your task that bit easier.

Edited by Zorro67
Link to comment
Share on other sites

thanks for the advice Zorro67 i shall definately implement your suggestions, ill use note pad now. Dreamweaver is just messing everything up and im getting confused as im looking at the design view instead of the code view. And just copying and pasting my existing template on to the header.tpl file. Ahh coding why oh why..

 

Ill definately give it a try though

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated