Giter Site home page Giter Site logo

gohrco / tpl-override Goto Github PK

View Code? Open in Web Editor NEW
11.0 4.0 7.0 24 KB

TPL Override is a WHMCS extension for overriding the default template files found in WHMCS template folders. This permits custom files to be maintained separate from the WHMCS template folder making upgrades much simpler.

Home Page: https://www.gohigheris.com/

PHP 100.00%

tpl-override's Introduction

TPL_Override

Synopsis

Provide a simple means to override your template files in WHMCS without losing changes upon upgrading.

Installation

To install, download the zip archive or clone the repo to your machine. Then...

  1. Move the /modules/addons/tpl_override folder into your WHMCS root directory.
  2. Log into your WHMCS Admin Control Panel and go to Setup > Addon Modules.
  3. Find the row that corresponds to TPL Override and click Activate.

Basic Usage

Using TPL Override is super simple. Let's say you are working in the /templates/six folder, and you wish to create a custom header.tpl file, but when the next update from WHMCS comes out, you don't want those changes lost. No problem!

  1. Create a folder in your /templates/six folder called custom (so your path would be /templates/six/custom)
  2. Copy the header.tpl file (or any file you wish to provide an override for) into the new custom folder.
  3. Edit away!

Things to be aware of

Version support

This version of TPL_Override is tested against 6.3 and not very thoroughly. There may be templates or there may be earlier versions that this will not work with. Sorry!

Template Cache

Be sure to clear your template cache in WHMCS > Utilities > System > Cleanup to ensure you are loading the latest version of your custom file.

Support

This module is provided 100% free of charge and is not supported directly. If you have any issues, please do post them in the Issues tab in Github.

Enjoy!

tpl-override's People

Contributors

gohrco avatar

Stargazers

5H3LL avatar Wesam Alalem avatar Yashodhan avatar Mustafa Yasin Halici avatar Arthur Chiu avatar Neil Batchelor avatar Venture I/O avatar Lee Mason avatar Myles McNamara avatar Grace AC avatar Yasser Kinanah avatar

Watchers

Yasser Kinanah avatar Paulinho Basalces avatar  avatar  avatar

tpl-override's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.