awfDialog :: AJAX Enabled Dynamic Dialog Wizard Class :: Documentation
 
awfDialog Class Change Log
Version 1.2:
  1. Extended dynamic CSS element creation to cover a broader selection of the rendered dialog
  2. Removed un-needed lines from docs/style.css and examples/style.css
  3. Added SetCSS($element, $css) method. See CSS Reference and Usage Guide for details.
  4. Fixed togglelayer() javascript so it should only get sent to the browser once per each instance of the class, not once per dialog.
  5. Added HelpPane element, help button in the Titlebar, the UseHelp() method, AddHelp() method, SetAjaxHelp() method. See Usage Guide for details. Click the Help button on the titlebar above for a demo of the new Help functionality.
  6. Updated the Gradient Builder example to include HelpPane functionality.
  7. Fixed bug related to using ICON_CSS and SetIconType() to add your own custom icons. Functionality now works as intended.
  8. Fixed alignment issues associated with the AjaxCancel button.
  9. Replaced the _buildExitBtn() method with _buildControlBox(), which includes output of both the exit and help buttons.
  10. Extended the Clear() method to also clear the HelpPane output buffer.
  11. Updated the Usage Guide for all new and modified methods, and added the CSS Reference to the documentation.
Version 1.1:
  1. Restructured file system and reference pointers to support a package more ready to be re-used without modification.
  2. Added GradientBuilder example and modified it to work with the new package structure.
  3. Extended awfDialog class to support querying for class version number. Also extended debug output for version numbering.
  4. Added the SetImagePath(path) method. By default, awfDialog will now assume the class library and sub-folders exist in a directory called 'awfDialog' beneath your current execution path. Use this method prior to awfDialog->Render() to override that assumption. This function works using either relative or absolute URI paths, do not use physical paths as the results are handed to your page viewer's browser and thus would not be accessible.
  5. Added the SetGradientDirection(direction) function. Method accepts either:
       GRADIENT_V (vertical;top-to-bottom gradient), or
       GRADIENT_H (horizontal;left-to-right gradient).
    These constants are defined in awfDialog and if you use a dynamic IDE such as Komodo it will automatically pick them up for code completion once you've included the class in your code.
  6. More detailed DebugDump() method output. See sample below.
  7. Fixed bug in private _buildGradient() function when re-using a single instance to render more than one dialog.
  8. Removed redundant GetID() method. Use echo $MyClass->dialogID; to retrieve dialog ID now.
  9. Cleaned up some WTF code inside AddOutput() method.
awfDialog Future Versions

Here are a few of the things I'm trying to get added into the next major release. If you have a requested feature or have found a bug, please let me know and I'll look at getting it added.
AJAX Help Button:
  • Optional AJAX enabled Help button near the Exit button. Now in version 1.2
  • Themes:
  • Incorporate theme definition file support so you'll be able to pre-define a large number of dialog look and feel templates and then reference the appropriate template when the class is initialised.
  • Dialog Effects:
  • Render the dialog as a standard inline DIV, a DHTML pop-up, or using a lightbox effect.


  • Sample Debug Output

    With version 1.2 the debug log has been cleaned up and entries given more descriptive values. It can can be printed to the browser using the awfDialog->DebugDump() method. The log shown below is the debug array for the Dialog Wizard used to display the two dialogs shown above:
    Docs

    About / Features

    Change Log

    Usage guide

    CSS Reference

    License

    Examples

    Simple Implementation

    Gradient Builder