Using classes outside of ProofBuddy

ProofBuddy >= 1.0

The ProofBuddy classes are available to use in any of the template files.  But it is also possible to access the classes in template files that are outside the ProofBuddy parser.  For example, if you want your image comments to be a popup page rather than an inline page you can do so.

To use the ProofBuddy classes on an outside page you will need to include the file /user/theme-classes.inc.php.  Including this file will allow you to access any of the available classes.

 

<?php
include('/proofbuddyfolder/user/theme-classes.inc.php');
?>

 

Leave a Reply