[TYPO3-english] Login on tt_news SINGLE view
    bernd wilke 
    x00nsji02 at sneakemail.com
       
    Tue Aug  4 17:07:49 CEST 2009
    
    
  
Am Tue, 04 Aug 2009 16:48:31 +0200 schrieb Markus Deckmann:
> Hi,
> 
> I use a login on my website and show it on all sites of the website. But
> if I login on a SINGLE view site of tt_news the news_id is lost and I
> get a error-message: "No news_id is given"
> 
> What can I do to allow a login on a SINGLE view site of tt_news too.
> 
as the news-id is neccessary you have to provide it with your login form.
normaly the news-id is transmitted in the url and the login-form is a 
POST-form, TYPO3 does not differ between GET and POST but join them into 
one internal array.
You can enhance the action-url with the news-id, but some browsers does 
not forward GET-paramter with a POST-form. 
So the solution is to enhance the form with a hidden field with the news-
id.
bernd
-- 
http://www.pi-phi.de/t3v4/cheatsheet.html
    
    
More information about the TYPO3-english
mailing list