Jump to content

Concept for Customization


Recommended Posts

A new user of WHMCS...jus want a principle understanding of concept.

 

Is WHMCS all based on smarty....Why all PHP files are coded....how to customz the php then...?

I understand the concept as.

 

1. header.tpl

2.body.tpl like clientarea

3. footer.tpl

 

All these are the logics....Presentation is done by the PHP file...but these are coded...So does it mean i take source code from page and customize it by creating a new PHP file.

Thanks..

Link to comment
Share on other sites

As above,

 

The encoded files are files you dont need to touch as they are the core of the system.

 

You can completely customise the look of the system to your needs by customising the template files, these are found at templates/ folder. The default is portal which is a nice base to start from.

 

The way i do things is go to my templates folder on my pc, find the portal folder and rename it too a new name. Such as template1. then upload that folder up to the templates folder on the webserver.

 

Every file inside of there is well named to easily find the area you want to edit/change. The basics are header.tpl, footer.tpl. This will change the basics of the layout. You then can go forward and customise each "page" template.

 

To edit the cart process there is a seperate file section in the templates folder. Inside there is the different cart themes.

 

The first thing i would do when learning how to skin would to be read through the code and figure out whats what. For example looking through one of the page templates and mark it up so you know what sections what using <!--- Item description ---> . It makes it easier if as you read through the code to be looking at the page on a web browser aswell as you will quickly pickup what area is what.

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