Difference between revisions of "OpenEMR Wiki"

From OpenEMR Project Wiki
Line 30: Line 30:
                 }
                 }
</pre>
</pre>
[[Category:OpenEMR Project Tools]]

Revision as of 11:10, 4 November 2011

  • 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)
  • EmbedVideo (Version 'master' from github on 11/1/2011)
  • 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)
                # 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 {
                    $bodyAttrs['id'] = 'wiki';
                }