[TYPO3] cannot insert tt_news as plugin in templavoila
Bing Du
bdu at iastate.edu
Fri Jan 19 23:09:22 CET 2007
Thanks for the response. My root typoscript has the following tt_news
settings. So it does specify 'templateFile'.
=====
### Configure News extension
plugin.tt_news {
templateFile = fileadmin/templates/typo3/tt_news_v2_template.html
useSubCategories = 1
displaySubCategories = 1
archiveTitleCObject {
10.strftime = %g:%i%a - %Y
}
getRelatedCObject {
20.strftime = %m.%d.%Y %H:%i
}
displaySingle {
date_stdWrap.strftime= %B %d, %Y
# time_stdWrap.strftime =%r
time_stdWrap.strftime = %I:%M %p
}
displayLatest {
date_stdWrap.strftime= %B %d, %Y
# time_stdWrap.strftime = %r
time_stdWrap.strftime = %I:%M %p
}
displayList {
date_stdWrap.strftime= %B %d, %Y
# time_stdWrap.strftime = %r
time_stdWrap.strftime = %I:%M %p
}
_CSS_DEFAULT_STYLE >
}
=======
Bing
> hi try adding your template for your tt_news into your typoscript.
> for example,
>
> plugin.tt_news.templateFile = fileadmin/templates/ttnews.html
>
> don't know if that works for you, but my tt_news isnt parsed without that
> line.
>
> -dave
>
>
>
> On 1/16/07, Bing Du <bdu at iastate.edu> wrote:
>> Hi,
>>
>> Typo3 V4.0.4
>> TemplaVoila 1.1.1
>> tt_news 2.4.0
>>
>> I followed the Futuristic Template Building and mapped my html template
>> fine. In the center content area, I'm able to insert text, text w/
>> image
>> etc. types of contents. Inserting some of the plugins, like random
>> images
>> from directory, is fine too. But the News plugin inserted doesn't show
>> anything on the frontend, even no 'no news in this list'.
>>
>> By the way, we are also running some sites using the traditional
>> template
>> engine along with the templavoila sites on one typo3 instance. tt_news
>> on
>> those old sites works fine.
>>
>> I noticed for the 'random images from directory' plugin inserted, its
>> element title showed "Plugin: wag_randomimage_pi1", but the title for
>> the
>> tt_news plugin was "Plugin: 9".
>>
>> I'd appreciate any help!
>>
>> Setup of the template module has the following content.
>>
>> =============
>> # Default PAGE object:
>> page = PAGE
>> page.typeNum = 0
>> page.10 = USER
>> page.10.userFunc = tx_templavoila_pi1->main_page
>>
>>
>> # another style sheet
>> page.includeCSS {
>>
>> file1 = fileadmin/templates/css_styled_content.css
>> }
>>
>>
>> # Menu 1 cObject
>> lib.menu_1 = HMENU
>>
>> # First level menu-object, textual
>> lib.menu_1.1 = TMENU
>> lib.menu_1.1 {
>> # how the whole main menu should be mapped
>>
>> wrap = <div id="mainlinks"><ul> | </ul></div>
>>
>> # Normal state properties, how each menu link should be mapped
>> NO.allWrap = <li> | </li>
>> NO.stdWrap.htmlSpecialChars = 1
>> }
>>
>> # Level 2 menu
>>
>> lib.menu_1.2 < .lib.menu_1.1
>> =========
>>
>> Thanks,
>>
>> Bing
>> _______________________________________________
>> TYPO3-english mailing list
>> TYPO3-english at lists.netfielders.de
>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>>
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>
More information about the TYPO3-english
mailing list