Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
typo3
qfq
Commits
12472d64
Commit
12472d64
authored
Nov 04, 2017
by
Carsten Rose
Browse files
Feature: if 'pageAlias:T' is empty, take 'pageId:T'
parent
68ce9e62
Changes
2
Hide whitespace changes
Inline
Side-by-side
extension/Documentation/Manual.rst
View file @
12472d64
...
...
@@ -1262,7 +1262,7 @@ Store: *TYPO3* (Bodytext) - T
+-------------------------+-------------------------------------------------------------------+----------+
| pageId | Record id of current Typo3 page | see note |
+-------------------------+-------------------------------------------------------------------+----------+
| pageAlias | Alias of current Typo3 page
| see note |
| pageAlias | Alias of current Typo3 page
. If empty, take pageId.
| see note |
+-------------------------+-------------------------------------------------------------------+----------+
| pageTitle | Title of current Typo3 page | see note |
+-------------------------+-------------------------------------------------------------------+----------+
...
...
extension/qfq/qfq/store/T3Info.php
View file @
12472d64
...
...
@@ -29,7 +29,7 @@ class T3Info {
$t3vars
[
TYPO3_PAGE_ID
]
=
isset
(
$GLOBALS
[
"TSFE"
]
->
id
)
?
$GLOBALS
[
"TSFE"
]
->
id
:
''
;
$t3vars
[
TYPO3_PAGE_ALIAS
]
=
isset
(
$GLOBALS
[
"TSFE"
]
->
page
[
"alias"
])
?
$GLOBALS
[
"TSFE"
]
->
page
[
"alias"
]
:
''
;
$t3vars
[
TYPO3_PAGE_ALIAS
]
=
empty
(
$GLOBALS
[
"TSFE"
]
->
page
[
"alias"
])
?
$t3vars
[
TYPO3_PAGE_ID
]
:
$GLOBALS
[
"TSFE"
]
->
page
[
"alias"
];
$t3vars
[
TYPO3_PAGE_TITLE
]
=
isset
(
$GLOBALS
[
"TSFE"
]
->
page
[
"title"
])
?
$GLOBALS
[
"TSFE"
]
->
page
[
"title"
]
:
''
;
...
...
Write
Preview
Markdown
is supported
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