Madden Career Toolkit Documentation
Customizing Madden Career ToolkitAs of right now, customization is not as easy as I hope it can be in the future. If you are looking to customize the way MADCAT looks and works, you'll need a bare minimum of HTML knowledge and enough confidence to work around the PHP. Those users with HTML and PHP knowledge should be able to do a lot of customization with MADCAT. As it stands, there is still a lot you can do to set your MADCAT-based site apart from others.The config.php FileAs of MADCAT 1.6, your MySQL settings are in _mysql.php, so you don't have to keep typing them in over and over again!There are several settings that you can change in MADCAT's config.php file. Descriptions of each setting are directly in the file itself. They are all self exlanatory. Here is an example of how to change a setting: config.php has a variable that allows you to set the league name for your website. The line looks like so:
Editing the .php FilesWhile they vary in complexity, I've tried to keep the main .php files as simple as possible as to support customization without knowing PHP. You can happily rearrange most things without knowing PHP. The PHP functions that grab the data from the database are all in the _inc files in the includes/ directory, if you're looking to get into the guts of the system. If you're familiar with SQL and are looking to change what/how stats are pulled from the database, the queries are in 'includes/player_stats_queries_inc.php'.
The SidebarsSeveral of the output options can be outputted as sidebars. The PHP that formats these is all in includes/index_inc.php If you look in index.php, you'll also see that you can easily change the headers for each sidebar. I intend to make sidebar customization even better in future versions (eventually!).MADCAT's FooterAll MADCAT pages output a standard MADCAT footer. The code is designed such that, if you build a template that you'd rather display the footer in, the pages will not output the footer themselves. This allows you to integrate the footer in any way you wish. Please respect the work put into MADCAT and not leave it out of your template(s) entirely. |