[TYPO3-german] Seite sichtbar: für nicht-eingeloggte User. Zugriff jedoch nur nach Login möglich. Wie geht das?
David Bruchmann
david at bruchmann-web.de
Mon Mar 16 12:17:43 CET 2009
Hallo Daniela,
was Du möchtest, ist eine spezielle Lösung und dafür gibt es auch
Parameter um die Navigation zu beeinflussen.
Was Du nun auf Seiten anzeigst, wo kein Zugriff erlaubt ist, ist
sekundär und kann ebenfalls über TS bestimmt werden.
Hier die Parameter, wo Du mal mit probieren kannst auch
Zugriffsgeschützte Seiten anzuzeigen:
<TSref>
TMENU.showAccessRestrictedPages,
GMENU.showAccessRestrictedPages, etc.
integer (page id) / keyword “NONE”
If set, pages in the menu will include pages with frontend user group
access enabled. However the page is of course not accessible and
therefore the URL in the menu will be linked to the page with the ID of
this value. On that page you could put a login form or other message.
If the value is “NONE” the link will not be changed and the site will
perform page-not-found handling when clicked (which can be used to
capture the event and act accordingly of course).
Properties:
.addParam = Additional parameter for the URL, which can hold two
markers; ###RETURN_URL### which will be substituted with the link the
page would have had if it had been accessible and ###PAGE_ID### holding
the page id of the page coming from (could be used to look up which
fe_groups was required for access.
Example:
showAccessRestrictedPages = 22
showAccessRestrictedPages.addParams =
&return_url=###RETURN_URL###&pageId=###PAGE_ID###
The example will link access restricted menu items to page id 22 with
the return URL in the GET var “return_url” and the page id in the GET
var “pageId”.
</TSref>
Mit dieser Option kannst Du wahrscheinlich genau das umsetzen, was Du
willst.
<TSref>
HMENU.excludeDoktypes
list of integers
Enter the list of page document types (doktype) to exclude from menus.
By default pages that are “not in menu” (5) are excluded and those
marked for backend user access only (6).
5,6
</TSref>
vielleicht mal einfach löschen:
HMENU.excludeDoktypes >
<TSref>
HMENU.includeNotInMenu
boolean
If set, pages with type “Not in menu” will be included in menus.
The number “5” will simply be removed from the current dok-type list
(which is by default “5,6” but can
</TSref>
Vielleicht kannst Du das auch nutzvoll einsetzen.
Viele Grüße
David
More information about the TYPO3-german
mailing list