[TYPO3-english] Typo 3 CMS 6.1 Front End login problem: &type=1 appended to URL automatically

bernd wilke t3ng at bernd-wilke.net
Fri Mar 7 10:48:28 CET 2014


Am 07.03.14 10:20, schrieb arvind srinivasan:
> Hi Alex,
>         Thank you for your reply. I removed "_top" from the FElogin
> template and now both the frames appear after the login. But still there
> is a small problem before which I'll explain the expected behaviour.
> When the user loads the page for the first time, the left frame shows a
> link named 'Login'. On clicking that link, the login form is displayed.
> Once the user logs in, the left frame shows the list of contents that
> the user can access and the right frame displays the content that been
> chosen. The problem is that after the login, the left frame still shows
> the link 'Login'. I have to manually refresh the page to show the
> contents of the left frame. Is there anyway that I can automatically
> refresh the whole page?
>
only with a trick.
these problems often occur with framed content.
as a link can only change content in one frame you need some alternatives.

either you build up javascript functions to exchange content for 
multiple frames, which replace the normal links.
drawback: users with javascript disabled get lost (eg. google!)
as you already needs javascript you might fasten the process of content 
switching by usage of ajax.

or you build up a logik to exchange multiple frames by an URL parameter 
to the _top-frame which selects individual content for each subframe:
index.php?id=15&left=3&right=4
which might be hidden with realurl
this would have the advantage that each combination of frames got an 
individual URL and can be bookmarked (deep-linked)

bernd
-- 
http://www.pi-phi.de/cheatsheet.html


More information about the TYPO3-english mailing list