Skip to content

Commit

Permalink
Merge pull request #48 from beatrycze-volk/page-uid
Browse files Browse the repository at this point in the history
[BUGFIX] Fix condition check for page uid
  • Loading branch information
beatrycze-volk authored Oct 9, 2024
2 parents 12f87f1 + ff95ac4 commit 02e54c4
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ plugin.tx_femanager {
}
}

[page["uid"] in [{$femanager.pids.createInstitutional}]]
[traverse(page, "uid") in [{$femanager.pids.createInstitutional}]]
plugin.tx_femanager {
# override "lastName" label
_LOCAL_LANG.de.tx_femanager_domain_model_user.lastName = Gesetzlicher Vertreter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ plugin.tx_femanager {
}
}

[page["uid"] == {$femanager.pids.editProfile}]
[traverse(page, "uid") == {$femanager.pids.editProfile}]
plugin.tx_femanager {
settings {
showCompanyFields = 0
Expand Down Expand Up @@ -77,7 +77,7 @@ plugin.tx_femanager {
[end]


[page["uid"] == {$femanager.pids.editEmail}]
[traverse(page, "uid") == {$femanager.pids.editEmail}]
plugin.tx_femanager {
view {
partialRootPaths.101 = {$plugin.tx_femanager.view.partialRootPath}ChangeEmail/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ plugin.tx_femanager {
}
}

[page["uid"] == {$femanager.administration.pids.editUserUid}]
[traverse(page, "uid") == {$femanager.administration.pids.editUserUid}]
plugin.tx_femanager {
settings {
showCompanyFields = 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ plugin.tx_femanager {
}
}

[page["uid"] in [{$femanager.administration.createNewUser.company.pid},{$femanager.administration.createNewUser.administration.pid},{$femanager.administration.createNewUser.institutional.pid}]]
[traverse(page, "uid") in [{$femanager.administration.createNewUser.company.pid},{$femanager.administration.createNewUser.administration.pid},{$femanager.administration.createNewUser.institutional.pid}]]
plugin.tx_femanager {
# override "lastName" label
_LOCAL_LANG.de.tx_femanager_domain_model_user.lastName = Gesetzlicher Vertreter
Expand All @@ -122,7 +122,7 @@ plugin.tx_femanager {
}
[END]

[page["uid"] == {$femanager.administration.createNewUser.private.pid}]
[traverse(page, "uid") == {$femanager.administration.createNewUser.private.pid}]
plugin.tx_femanager {

settings {
Expand All @@ -140,7 +140,7 @@ plugin.tx_femanager {
}
[END]

[page["uid"] == {$femanager.administration.createNewUser.company.pid}]
[traverse(page, "uid") == {$femanager.administration.createNewUser.company.pid}]
plugin.tx_femanager {
settings {
invitation {
Expand All @@ -157,7 +157,7 @@ plugin.tx_femanager {
}
[END]

[page["uid"] == {$femanager.administration.createNewUser.administration.pid}]
[traverse(page, "uid") == {$femanager.administration.createNewUser.administration.pid}]
plugin.tx_femanager {
settings {
invitation {
Expand All @@ -174,7 +174,7 @@ plugin.tx_femanager {
}
[END]

[page["uid"] == {$femanager.administration.createNewUser.institutional.pid}]
[traverse(page, "uid") == {$femanager.administration.createNewUser.institutional.pid}]
plugin.tx_femanager {
settings {
invitation {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
# - if private, continue with cookie
# - if commercial, register a "temp commercial users" fe_users
####################################################################
[page["uid"] == {$config.kitodoPageView}]
[traverse(page, "uid") == {$config.kitodoPageView}]
plugin.tx_femanager {
# add dedicated template path
view {
templateRootPaths.101 = {$plugin.tx_femanager.view.templateRootPath}TempUser/
templateRootPaths.101 = {$plugin.tx_femanager.view.templateRootPath}TempUser/
}
# set dedicated storagePid
persistence {
Expand Down

0 comments on commit 02e54c4

Please sign in to comment.