Configuration¶
You can configure each plugin individually in the TYPO3 backend. see For Editors Alternatively and additionally you can use a setup which is valid globally. The plugin configuration has precedence.
Priorities¶
Several properties of this extension can be defined in different ways. For such properties, the following priorities in getting the respective values are applied:
Bible version¶
Bible version defined in the Plugin
Value of the TypoScript property
plugin.tx_watchwords.settings.bibleVersion
Default bible version (English: New International Version)
Bible version bibleVersion
¶
- bibleVersion¶
- Type
integer
- Default
31 - “English: New International Version”
- Path
plugin.tx_watchwords.settings
- Scope
Plugin, TypoScript Setup
Time Offset timeOffset
¶
- timeOffset¶
- Type
integer
- Default
0
- Path
plugin.tx_watchwords.settings
- Scope
Plugin, TypoScript Setup
The timeOffset is not used. It is intended to delay a daily watchword update by this time span.
Test file testFile
¶
- testFile¶
- Type
string
- Default
0
- Path
plugin.tx_watchwords.settings
- Scope
Plugin, TypoScript Setup
If the test file is set, then its content will be shown instead of a daily watchword. Use a news reader and save its content into a test file. Example:
/Resources/Public/Examples/Verse_Feb_06_2022.xml
.
Standard error text standard
¶
- standard¶
- Type
stdWrap
- Default
standard = TEXT standard.value = Sorry, no data could be fetched!
- Path
plugin.tx_watchwords.settings
- Scope
Plugin, TypoScript Setup
Text that will be displayed, if no watchword could be fetched with the current configuration.
How to show a watchword on every page:¶
You can show the watchwords on every page by a marker inserted into your main page template.
lib.watchwordsLib = USER
lib.watchwordsLib {
userFunc = TYPO3\CMS\Extbase\Core\Bootstrap->run
pluginName = Watch
extensionName = Watchwords
controller = WatchwordsController
action = index
settings =< plugin.tx_watchwords.settings
view =< plugin.tx_watchwords.view
}
page = PAGE
...
page.10 {
marks.WATCHWORD < lib.watchwordsLib
}
Extbase/Fluid¶
Use the common Extbase/Fluid setup if you want to modify the template files.
See t3extbasebook:configuration.