OpenEMR Wiki

From OpenEMR Project Wiki
Revision as of 01:27, 21 February 2012 by Bradymiller (talk | contribs)
  • This is based on mediwiki version 1.16.5 with following extensions:
  • Confirm user accounts
  • MultipleUpload (Version 2.0)
  • Password Reset (Version 1.7)
  • Google Analytics Integration (Version 2.0.2)
  • Google Analytics Links (Version 1.2)
  • Modified googa.php code to open a new window when open link (added target="_blank").
  • Modified this code to allow full screen view of embedded youtube videos per instructions here
  • A new skin was also created that was based on MonoBook (note all other skin options were removed to force use of this skin):
  • openemr
  • In order to support the 'openemr' skin, modifications were made in the wiki/includes/OutputPage.php script:
  • At line 2215:
# NEED TO ADD THE ID HERE (wiki vs download vs demo vs support)
                # USE THE DOCUMENT TITLE
                if (Sanitizer::escapeClass($this->getTitle()->getPrefixedText()) == "OpenEMR_Features") {
                    $bodyAttrs['id'] = 'features';
                }
                else if (Sanitizer::escapeClass($this->getTitle()->getPrefixedText()) == "OpenEMR_Version_4_1_0_Demo") {
                    $bodyAttrs['id'] = 'demo';
                }
                else if (Sanitizer::escapeClass($this->getTitle()->getPrefixedText()) == "OpenEMR_Downloads") {
                    $bodyAttrs['id'] = 'download';
                }
                else if (Sanitizer::escapeClass($this->getTitle()->getPrefixedText()) == "OpenEMR_Support_Guide") {
                    $bodyAttrs['id'] = 'support';
                }
                else {
                    $bodyAttrs['id'] = 'wiki';
                }