Skip to content

Commit d10cc31

Browse files
authored
Update README installation and configuration headers
1 parent ce81f5b commit d10cc31

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ This plugin provides inline display of article galleys for PKP Open Journal Syst
1212
* [libxml](https://www.php.net/manual/en/book.libxml.php)
1313
* [dom](https://www.php.net/manual/en/book.dom.php)
1414

15-
## Configuration
15+
## Installation
1616

1717
Install this as a "generic" plugin in OJS. The preferred installation method is through the Plugin Gallery.
1818

@@ -28,11 +28,13 @@ If not installed via the Plugin Gallery, run the upgrade script to register this
2828
php lib/pkp/tools/installPluginVersion.php plugins/generic/inlineHtmlGalley/version.xml
2929
```
3030

31+
## Configuration
32+
3133
Login as a Journal Manger and navigate to the Journal for which you wish to use inline display of HTML Galleys. Enable the plugin via Login -> Settings -> Website -> Plugins -> Inline HTML Galley -> Enable.
3234

3335
Once enabled, the default view of an HTML Galley will extract the HTML `body` from the Galley and will place it inline in the Galley view. You will need to replicate any CSS or Javascript directives used in the `head` of the Galley in your website configuration. (Hint: see the Custom Headers plugin.)
3436

35-
The Settings Form allows you to target another arbitrary HTML element from which to extract the HTML, via xpath. For example, since you likely have the article's title in an `h1` in the `body`, and Bootstrap3 will render the article title independently, you might want to target a content `div` within the body.
37+
The Settings Form allows you to target another arbitrary HTML element from which to extract the HTML, via xpath. For example, since you likely have the article's title in an `h1` in the `body`, and since Bootstrap3 will render the article title independently, you might want to target a content `div` within the body.
3638

3739
The plugin provides article metadata as sidebar blocks, which may be enabled and positioned via the Website Settings.
3840

0 commit comments

Comments
 (0)