[TYPO3-english] tt_news no news_id given
Sergey Alexandrov
serg at alexandrov.us
Tue May 15 07:02:57 CEST 2012
Assign news articles to a category
On 5/14/2012 9:58 PM, roxanne at asd-networks.com wrote:
> Hi,
>
> Perhaps this will help:
>
> http://blog.asd-networks.com/blog/blog-post/2012/01/11/set-up-tt-news-the-easy-way/
>
>
> Roxanne
>
>
>
> On 2012-05-14 04:34, Christoph Hermann wrote:
>> Am Samstag, 12. Mai 2012, 03:05:07 schrieb Task City:
>>
>> Hello,
>>
>>> Thanks for your help. The code is running well, but not show results
>>> in home
>>> page. I don't know what is wrong.
>>
>> please do not answer me personally. Other people might also be
>> interested in
>> the discussion, therefore you should always email the mailinglist.
>>
>>> > Has anyone know how to use tt_news in TS? It's very difficult to
>>> setup.
>>
>> The code works of course but outputs nothing, because
>> a) you have to set the typoscript constants (pidList,
>> archiveTypoLink, etc.)
>> b) you have to include it in your page output.
>>
>> I can't help you with b) because this highly depends on your page setup.
>>
>> It could be something like:
>>
>> page.60 < temp.newslist
>>
>> or
>>
>> page.10.subparts.content = COA
>> page.10.subparts.content.10 < temp.newslist
>>
>> etc.
>>
>> Please do read the manual at
>> http://typo3.org/extension-manuals/tt_news/current/view/
>> as well as an introduction to typoscript.
>>
>> cheers
>> Christoph
>>
>>
>>> Something like this?
>>>
>>> temp.newslist >
>>> temp.newslist < plugin.tt_news
>>> temp.newslist {
>>> templateFile = fileadmin/template/news.tmpl
>>> pid_list >
>>> pid_list = {$pidList}
>>> archiveTypoLink.parameter = {$archiveTypoLink}
>>> backPid = {$archiveTypoLink}
>>> recursive >
>>> recursive = 10
>>> singlePid = {$singlePid}
>>> dontUseBackPid = 0
>>> useSPidFromCategory = 1
>>> useSPidFromCategoryRecusive = 1
>>> useHRDates = 1
>>> useSubCategories = 1
>>> displaySubCategories = 0
>>> enableArchiveDate = 0
>>> categoryMode = 1
>>> categorySelection = {$categoryIds}
>>> code >
>>> code = LIST
>>> displayList.subheader_stdWrap {
>>> append >
>>> }
>>> }
>>>
>>> cheers
>>> Christoph
>
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
More information about the TYPO3-english
mailing list