[TYPO3-ttnews] How to restrict access only to the detailed part of news items?
Ferenc Hargitai
fhargitai at gmail.com
Wed Sep 26 16:39:59 CEST 2007
Hi Heike,
I tried what you'd suggested, but the result is different from the one
i'd like: this way every user see all the tt_news articles is LIST
mode, but the non-logged-in users cannot open (click on 'more') ANY of
the news articles (even the links has disappeared) in SINGLE mode,
whilst the logged-in users can open ALL of the news articles in
SINGLE.
My aim is, that some of the article SINGLE views could be only seen by
logged-in users (the ones that we access-restrict), but all articles
(at least the header part) in LIST view could be seen by all website
visitors.
I think, that maybe some php file of tt_news should be hacked for this
behaviour. Unfortunatelly i cannot do it... Or, maybe tt_news author
could expand the extension, that it would be possible...
Regards,
Hardzsi
2007/9/14, HR <typo3 at iwelt.de>:
> Hi,
>
>
> Ferenc Hargitai wrote:
> > Currently if i set access restirction ('Access' field) for some news
> > articles, those articles are only visible when the registered user
> > logs in, others see these articles neither in LIST view, nor in SINGLE
> > view, so for them the restricted news items are completely hidden.
> >
> > I would like to restrict only the 'main' content part of the articles
> > (the one displayed only in SINGLE view) so everyone would see the
> > title and subheader of ALL the articles in LIST view and when someone
> > click on the [more...] link, the main part would be displayed only for
> > the registered (logged-in) users.
> >
> > Is this partial locking possible somehow, maybe via TS?
>
> This is possible, but not via restricting access to the news article.
> What you need to do is enter your news without restricting access, so
> that the news item itself will be viewable to everyone. Then you
> restrict access to the tt_news plugin content element on your single
> view page.
> This way the news item will show up in your LIST and LATEST views
> (because it's not access-restricted), but once someone clicks on the
> "more" link, he will NOT see the news in SINGLE view because that plugin
> content element will only be available to selected users.
>
> Hope that helps.
>
> Heike Raudenkolb
> _______________________________________________
> TYPO3-project-tt-news mailing list
> TYPO3-project-tt-news at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-project-tt-news
>
More information about the TYPO3-project-tt-news
mailing list