You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ich will nach einer erfolgreichen IP-Identifizierung ein redirect auf eine Bestimmte Seite machen, wenn der User von einer bestimmten Range kommt. Das Ganze ist eine Intranet Lösung, daher sollen bestimmte Ranges gleich auf ihre regionalen Seiten kommen.
Also habe ich einen FE-User angelegt und die bestimmte IP-Range eingetragen. Das automatische Login erfolgt daraufhin problemlos. Aber halt immer auf die Seite, die nach dem Login angezeigt werden soll.
Dann habe ich im HauptTS folgendes eingebaut: (alles ab ###redirect##########.....)
Default PAGE object:
page = PAGE
page {
Redirect auf /profil/ nach Login
CONFIG Allgemeine Seiteneigenschaften setzen
config {
doctype = html5
linkVars = L
uniqueLinkVars = 1
sys_language_uid = 0
language = de
locale_all = de_DE
htmlTag_langKey = de
index_enable = 1
index_externals = 1
} # END config
Meta-Tags angeben
meta.author = Carsten Barg, Andreas Bihlmeier
meta.description = prettylogic.com
headerData.5 = CASE
headerData.5 {
key {
data = levelfield:-1, backend_layout_next_level, slide
override.data = TSFE:page|backend_layout
}
1 = TEXT
1.value (
plugin.tx_fsmediagallery.LOCAL_LANG.de {
asset = Bild
assets = Bilder
no_albums_found = Kein Album gefunden!
no_album_found = Album nicht gefunden!
no_assets_found = Keine Bilder gefunden
back_to_album = zurück zum Album
back_to%s = zurück zu %s
back_to_albums_list = zurück zur Albumliste
lightbox_current = Bild {current} von {total}
link_to_album = Zeige Album %s
}
Ich habe das Ganze TS hineingegeben, damit man gleich sieht wie ich es eingebaut habe.
Also ich hab ein redirect probiert, dass ich auf der ID des Users aufgehängt habe, ich habe es auch mit additional.Headers probiert - kein Ergebnis. Ich hab auch schon versucht das Redirect im TS beim FE-User selbst einzubauen. Leider auch keine Reaktion.
Ich hoffe die Information reicht, wenn nicht bitte nachfragen :)
lg
Bonzo777
The text was updated successfully, but these errors were encountered:
Hi!
Ich will nach einer erfolgreichen IP-Identifizierung ein redirect auf eine Bestimmte Seite machen, wenn der User von einer bestimmten Range kommt. Das Ganze ist eine Intranet Lösung, daher sollen bestimmte Ranges gleich auf ihre regionalen Seiten kommen.
Also habe ich einen FE-User angelegt und die bestimmte IP-Range eingetragen. Das automatische Login erfolgt daraufhin problemlos. Aber halt immer auf die Seite, die nach dem Login angezeigt werden soll.
Dann habe ich im HauptTS folgendes eingebaut: (alles ab ###redirect##########.....)
Default PAGE object:
page = PAGE
page {
Redirect auf /profil/ nach Login
CONFIG Allgemeine Seiteneigenschaften setzen
config {
doctype = html5
linkVars = L
uniqueLinkVars = 1
sys_language_uid = 0
language = de
locale_all = de_DE
htmlTag_langKey = de
index_enable = 1
index_externals = 1
} # END config
Meta-Tags angeben
meta.author = Carsten Barg, Andreas Bihlmeier
meta.description = prettylogic.com
headerData.5 = CASE
headerData.5 {
includeJS {
20 = https://code.jquery.com/jquery-1.10.1.min.js
30 = fileadmin/intranet2018/js/lightgallery.js
}
includeJSFooter {
#10 = https://code.jquery.com/jquery.js
20 = https://cdn.jsdelivr.net/picturefill/2.3.1/picturefill.min.js
30 = https://cdnjs.cloudflare.com/ajax/libs/jquery-mousewheel/3.1.13/jquery.mousewheel.min.js
}
Die Designvorlage integrieren
10 = FLUIDTEMPLATE
10 {
file.cObject = CASE
file.cObject {
key {
data = levelfield:-1, backend_layout_next_level, slide
override.data = TSFE:page|backend_layout
}
1 = TEXT
1.value = fileadmin/intranet2018/templates/main_start.html
} #End FLUIDTEMPLATE
} #END PAGE
redirect
#auch hier keine Reaktion
plugin.tx_felogin_pi1.showLogoutFormAfterLogin = 0
page.config >
page.config.additionalHeaders = Location: http://127.0.0.1/typoBDO/index.php?id=16
[loginUser = *] && [TSFE:fe_user|user|uid = 496]
[global]
#[globalVar = loginUser=496]
#[globalVar = TSFE:fe_user|user|uid=496] && [globalVar = TSFE:id=2]
#[globalVar = TSFE:id=2]
#page.meta.refresh = 0
#page.config >
#page.config.additionalHeaders = Location: http://127.0.0.1/typoBDO/index.php?id=16
#plugin.tx_felogin_pi1.showLogoutFormAfterLogin = 0
#plugin.tx_felogin_pi1.redirectMode = login
#plugin.tx_felogin_pi1.redirectPageLogin = 16
#[global]
#[globalVar = TSFE:id=2]
#page.config >
#page.config.additionalHeaders = Location: http://www.orf.at/
#[global]
####redirect end #############################################################
plugin.tx_indexedsearch {
settings.displayRules = 0
view {
templateRootPaths.10 = fileadmin/intranet2018/ext/indexed_search/templates
partialRootPaths.10 = fileadmin/intranet2018/ext/indexed_search/partials
}
}
[globalVar = TSFE:id=65]
[else]
page.10.variables {
search < tt_content.list.20.indexedsearch_pi2
search {
view.partialRootPaths.20 = fileadmin/intranet2018/ext/indexed_search
settings.targetPid = 65
}
}
page.10.variables {
searchmain < tt_content.list.20.indexedsearch_pi2
searchmain {
view.partialRootPaths.30 = fileadmin/intranet2018/ext/indexed_search/main
settings.targetPid = 65
}
}
[global]
plugin.tx_felogin_pi1.templateFile = fileadmin/intranet2018/templates/frontendlogin.html
plugin.tx_felogin_pi1._LOCAL_LANG {
de {
lbllogin = ""
lblwelcomemessage = ""
}
}
Deutscher Text
plugin.tx_fsmediagallery.LOCAL_LANG.de {
asset = Bild
assets = Bilder
no_albums_found = Kein Album gefunden!
no_album_found = Album nicht gefunden!
no_assets_found = Keine Bilder gefunden
back_to_album = zurück zum Album
back_to%s = zurück zu %s
back_to_albums_list = zurück zur Albumliste
lightbox_current = Bild {current} von {total}
link_to_album = Zeige Album %s
}
plugin.tx_fsmediagallery {
view {
templateRootPaths {
100 = {$plugin.tx_fsmediagallery.view.templateRootPath}
200 = fileadmin/intranet2018/ext/tx_fsmediagallery/templates/
}
partialRootPaths {
100 = {$plugin.tx_fsmediagallery.view.partialRootPath}
200 = fileadmin/intranet2018/ext/tx_fsmediagallery/partials/
}
layoutRootPaths {
100 = {$plugin.tx_fsmediagallery.view.layoutRootPath}
200 = fileadmin/intranet2018/ext/tx_fsmediagallery/layouts/
}
}
}
plugin.tx_felogin_pi1.storagePid = 82
Ich habe das Ganze TS hineingegeben, damit man gleich sieht wie ich es eingebaut habe.
Also ich hab ein redirect probiert, dass ich auf der ID des Users aufgehängt habe, ich habe es auch mit additional.Headers probiert - kein Ergebnis. Ich hab auch schon versucht das Redirect im TS beim FE-User selbst einzubauen. Leider auch keine Reaktion.
Ich hoffe die Information reicht, wenn nicht bitte nachfragen :)
lg
Bonzo777
The text was updated successfully, but these errors were encountered: