Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Open
LU Contacts
Commits
f74940f7
Commit
f74940f7
authored
Aug 26, 2021
by
Dainis Abols
Browse files
Language object changes
v3.3.1
parent
e3b80945
Changes
4
Hide whitespace changes
Inline
Side-by-side
Classes/Helpers/DataHelper.php
View file @
f74940f7
...
...
@@ -2,8 +2,8 @@
namespace
Lu\LuContacts\Helpers
;
use
TYPO3\CMS\Core\Localization\LanguageService
;
use
TYPO3\CMS\Core\Utility\ExtensionManagementUtility
;
use
TYPO3\CMS\Lang\LanguageService
;
/**
* Class DataHelper
...
...
@@ -79,10 +79,13 @@ class DataHelper
/**
* Retrieve LanguageService
*
* @return mixed|\TYPO3\CMS\
Lang
\LanguageService
* @return mixed|\TYPO3\CMS\
Core\Localization
\LanguageService
*/
private
function
getLanguageService
()
{
return
$GLOBALS
[
'LANG'
]
??
new
LanguageService
();
// Ensure language object is initialized
\
TYPO3\CMS\Core\Core\Bootstrap
::
initializeLanguageObject
();
return
$GLOBALS
[
'LANG'
];
}
}
\ No newline at end of file
}
composer.json
View file @
f74940f7
{
"name"
:
"luitd/lu-contacts"
,
"version"
:
"3.3.
0
"
,
"version"
:
"3.3.
1
"
,
"description"
:
"University of Latvia contact list render"
,
"type"
:
"typo3-cms-extension"
,
"keywords"
:
[
...
...
ext_emconf.php
View file @
f74940f7
...
...
@@ -9,7 +9,7 @@ $EM_CONF[$_EXTKEY] = [
'author_email'
=>
'dainis.abols@lu.lv'
,
'state'
=>
'stable'
,
'clearCacheOnLoad'
=>
true
,
'version'
=>
'3.3.
0
'
,
'version'
=>
'3.3.
1
'
,
'dependencies'
=>
'typo3,lu_api'
,
'constraints'
=>
[
'depends'
=>
[
...
...
readme.md
View file @
f74940f7
...
...
@@ -4,7 +4,7 @@ Extension to render list of contacts for University of Latvia
## Version
3.
3.
0
3.
3.
1
## Dependencies
...
...
@@ -18,7 +18,7 @@ LU API v2+
*
Single Address Name - Choose an address to display contacts only in that address
*
Mini navigation - Choose to show or not show mini navigation
*
Default navigation - Choose what view will be rendered as default
## Template override constants
```
...
...
@@ -26,18 +26,18 @@ LU API v2+
view.templateRootPath = EXT:lu_contacts/Resources/Private/Templates/
view.partialRootPath = EXT:lu_contacts/Resources/Private/Partials/
view.layoutRootPath = EXT:lu_contacts/Resources/Private/Layouts/
settings.cssFile = EXT:lu_contacts/Resources/Public/Css/styles.css
}
```
## Install requirements
*
Check solr data status
*
Check LU_API version
*
Create frontend templates
*
Reconfigure realurl (standard example in Hooks > RealUrlAutoConfiguration)
## Author
Dainis Abols
<dainis.abols@lu.lv>
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment