Difference between revisions of "OpenEMR Wiki"
From OpenEMR Project Wiki
Bradymiller (talk | contribs) |
Bradymiller (talk | contribs) |
||
Line 13: | Line 13: | ||
:*At line 2215: | :*At line 2215: | ||
<pre> | <pre> | ||
# NEED TO ADD THE ID HERE (wiki vs download vs demo) | |||
# USE THE DOCUMENT TITLE | # USE THE DOCUMENT TITLE | ||
if (Sanitizer::escapeClass($this->getTitle()->getPrefixedText()) == " | 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'; | $bodyAttrs['id'] = 'demo'; | ||
} | } |
Revision as of 09:44, 5 October 2011
- The OpenEMR wiki can be found at http://open-emr.org/wiki/
- 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)
- 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'; }