From dmitry at typo3.org Mon Sep 1 10:56:12 2008 From: dmitry at typo3.org (Dmitry Dulepov [typo3]) Date: Mon, 01 Sep 2008 11:56:12 +0300 Subject: [TYPO3-ttnews] attribute In-Reply-To: References: Message-ID: Hi! Antonio Willybiro wrote: > is it possible to set by TS an attribute (other than 'title') to the > > something like a style or color for instance. > so intead of having the final link as i wouldhave style="color:#ee0000"> ? I hit this too several times. I resolved it this way: ... Since designers put classes directly to links, I also modified CSS: span.whatever a, a.whatever { ... } -- Dmitry Dulepov TYPO3 Core team My TYPO3 book: http://www.packtpub.com/typo3-extension-development/book In the blog: http://typo3bloke.net/pages/book-reviews/presentation-zen-by-garr-reynolds/ From mingusthecat at gmail.com Mon Sep 1 12:15:39 2008 From: mingusthecat at gmail.com (Luca) Date: Mon, 01 Sep 2008 12:15:39 +0200 Subject: [TYPO3-ttnews] excludeList in catmenu do not work... Message-ID: Hi, I have installed tt_news 2.2.24 on a TYPO3 Ver. 4.2.1 clean installation. I have tried to control the CATMENU categories using excludeList as stated on the current online manual http://typo3.org/documentation/document-library/extension-manuals/tt_news/2.5.0/view/1/7/#id2931185 plugin.tt_news { displayCatMenu.excludeList = 1,2 displayCatMenu.mode = nestedWraps } Although I followed (I think) the suggested setup, my catmenu still displays all categories. How can I control which categories display in the catmenu? .... Also I have another question...(can I still post it here or should be on a different post???).... It is a way to display the catmenu as a second level within the mainMenu? (I have News in the main menu...I would like to have a second level menu with the categories...) I have found the following post... http://www.typo3-jack.net/typo3-english-lists-netfielders-de/11824-typo3-how-put-catmenu-hmenu-templavoila.html but I cannot understand what to set in code = CATMENU (maybe this is a t dummy question but this is one ofd my first projects with t3...) lib.leftmenu.1.CUR < plugin.tt_news lib.leftmenu.1.CUR = 1 # Maybe this is not necessary. You must just make sure this value is not lost or CUR won't display lib.leftmenu.1.CUR { code = CATMENU ... } Thank you!!! From mingusthecat at gmail.com Tue Sep 2 14:25:02 2008 From: mingusthecat at gmail.com (Luca) Date: Tue, 02 Sep 2008 14:25:02 +0200 Subject: [TYPO3-ttnews] problem to control the catmenu categories Message-ID: Can anybody give an highlight on this issue? I have installed tt_news 2.2.24 on a TYPO3 Ver. 4.2.1 clean installation. I have tried to control the CATMENU categories using excludeList as stated on the current version of the extension manual http://typo3.org/documentation/document-library/extension-manuals/tt_news/2.5.0/view/1/7/#id2931185 plugin.tt_news { displayCatMenu.excludeList = 1,2 displayCatMenu.mode = nestedWraps } Although I followed (I think) the suggested setup, my catmenu still displays all categories. How can I control which categories display in the catmenu? Thank you! Luca .... From reklerk at xs4all.nl Tue Sep 2 23:22:10 2008 From: reklerk at xs4all.nl (R.E. Klerk) Date: Tue, 02 Sep 2008 23:22:10 +0200 Subject: [TYPO3-ttnews] workspaces for tt_news and type Link external url Message-ID: Hello, I use T3 v 4.1.7 with Workspaces and tt_news v2.5.2. When creating and publishing a news record with type "News" all is well. But when publishing a news record with type "Link external url" the log says: Swapping successful for table "tt_news" uid 773=>774 Record 'test' (tt_news:774) was deleted unrecoverable from page '' (-1) So as I understand the new news record (uid 774) is swapped over the old record (uid 773) but then it is mysteriously "deleted unrecoverable". It also seems that the news record suddenly does not have a category. Is it a bug? Is it impossible to publish news records with type "Link external url"? Do I have to make special settings for usergroup/user/workspace? Does anyone have a solution? CU, Ralph From maaboo at gmail.com Wed Sep 3 14:28:01 2008 From: maaboo at gmail.com (maaboo) Date: Wed, 3 Sep 2008 16:28:01 +0400 Subject: [TYPO3-ttnews] Convert common HMENU to CATMENU Message-ID: Hi! I have the following menu: lib.mainmenu = HMENU lib.mainmenu.1 = TMENU lib.mainmenu.1 { expAll = 1 wrap =
    |
NO.linkWrap =
  • |
  • IFSUB = 1 IFSUB { wrapItemAndSub =
  • |
  • stdWrap.wrap = | linkWrap = | } } It works fine, but doesn't fit into my goal. So i move to CATMENU and wrote: displayCatMenu { mode = nestedWraps catmenu_stdWrap.wrap = ... and here got a stuck, because the construction above with multiple wraps, linkWraps and wrapItmeAndSubs. I don't understand how to correctly "convert" my menu with full functionality such as conditional comments. Can somebody help me? Thanx. -- with respect, MaaBoo ICQ UIN: 22694713 From paul at qedstudio.com Wed Sep 3 16:20:45 2008 From: paul at qedstudio.com (Paul Vetch) Date: Wed, 3 Sep 2008 15:20:45 +0100 Subject: [TYPO3-ttnews] customising news_category shortcut link Message-ID: Dear all, Is there any way to customise the output for the category shortcut link generated for ###NEWS_CATEGORY### when categoryMode is set to 2? I need to insert additional text *inside* the link, with the category title. I can only insert it around the link using categoryTitles_stdwrap / categoryTitleItem_stdwrap, which is not what I want. I know that the link is generated using pi_linkToPage() rather than typolink, and I can see that the categoryTitleItem_stdwrap appears around the link, so I don't see any way (other than an ugly hack in the class) to do this nicely... But maybe I'm not thinking laterally enough. I guess something like a categoryLink TS property, or some functional equivalent of aTagBeforeWrap from TMENU, is what I'm wishing for here ;) Is the code generating this link changing in tt_news v3? This is one of the very very few aspects of tt_news that doesn't seem to be configurable from TS. Many thanks Paul From adulovic at gmail.com Thu Sep 4 08:42:33 2008 From: adulovic at gmail.com (Aleksandar Dulovic) Date: Thu, 4 Sep 2008 02:42:33 -0400 Subject: [TYPO3-ttnews] tt_news - ordering multiple elements on one page Message-ID: Hello everyone, I am trying to create a newspaper portal using 6 tt_news elements in three columns. All of the elements are set to display a different amount of latest news articles, and filter them by categories which denote their importance. I have set [excludeAlreadyDisplayedNews = 1] using typoscript, so that the articles won't get repeated. Everything works fine except for one small glitch - the order in which the elements are processed...! Let's say that I have the following: | 1 | 2 | 3 | | 4 | 5 | 6 | The default processing order seems to be 1,4,2,5,3,6 I would like to set it to something like 1,2,6,4,3,5 I just spent three days racking my brains and experimenting, all to no avail, so I would really greatly appreciate any helpful words of advice. Cheers, Aleksandar Dulovi? From mingusthecat at gmail.com Thu Sep 4 18:27:18 2008 From: mingusthecat at gmail.com (Luca) Date: Thu, 04 Sep 2008 18:27:18 +0200 Subject: [TYPO3-ttnews] includeList / excludeList in CATMENU (tt_news) do not work Message-ID: I'm quite new to typo3 and I got stuck on building a catmenu to navigate the news categories ... is there anybody who can give me a hint on how to solve this? I have installed tt_news 2.2.24 on a TYPO3 Ver. 4.2.1 clean installation. I have tried to control the CATMENU categories using excludeList (as stated on the current online manual http://typo3.org/documentation/document-library/extension-manuals/tt_news/2.5.0/view/1/7/#id2931185 ) in order to show only certain categories in my navigation plugin.tt_news { displayCatMenu.excludeList = 1,2 displayCatMenu.mode = nestedWraps } Although I followed (I think) the suggested setup, my catmenu still displays all categories. How can I control which categories display in the catmenu? Luca From oliver at liquidlight.co.uk Sun Sep 7 12:15:01 2008 From: oliver at liquidlight.co.uk (Oliver Rowlands) Date: Sun, 07 Sep 2008 11:15:01 +0100 Subject: [TYPO3-ttnews] includeList / excludeList in CATMENU (tt_news) do not work In-Reply-To: References: Message-ID: Hi Luca, Is there any reason why you are not using the 2.5.2 version of tt_news? That might solve your problem. Best regards, Oliver Luca wrote: > I'm quite new to typo3 and I got stuck on building a catmenu to navigate > the news categories ... is there anybody who can give me a hint on how > to solve this? > > I have installed tt_news 2.2.24 on a TYPO3 Ver. 4.2.1 clean installation. > > I have tried to control the CATMENU categories using excludeList (as > stated on the current online manual > http://typo3.org/documentation/document-library/extension-manuals/tt_news/2.5.0/view/1/7/#id2931185 > > ) in order to show only certain categories in my navigation > > > plugin.tt_news { > displayCatMenu.excludeList = 1,2 > displayCatMenu.mode = nestedWraps > } > > Although I followed (I think) the suggested setup, my catmenu still > displays all categories. How can I control which categories display in > the catmenu? > > Luca -- Oliver Rowlands :: Liquid Light :: E - oliver at liquidlight.co.uk W - http://www.liquidlight.co.uk T - 00 44 (0)845 6 58 88 35 F - 00 44 (0)845 6 58 44 35 From oliver at liquidlight.co.uk Sun Sep 7 12:19:11 2008 From: oliver at liquidlight.co.uk (Oliver Rowlands) Date: Sun, 07 Sep 2008 11:19:11 +0100 Subject: [TYPO3-ttnews] tt_news - ordering multiple elements on one page In-Reply-To: References: Message-ID: Hi Aleksandar, EXT:mpossnewssorting might be able to help you. Best regards, Oliver Aleksandar Dulovic wrote: > Hello everyone, > > I am trying to create a newspaper portal using 6 tt_news elements in > three columns. > All of the elements are set to display a different amount of latest > news articles, and filter them by categories which denote their > importance. > I have set [excludeAlreadyDisplayedNews = 1] using typoscript, so that > the articles won't get repeated. > > Everything works fine except for one small glitch - the order in which > the elements are processed...! > > Let's say that I have the following: > > | 1 | 2 | 3 | > | 4 | 5 | 6 | > > The default processing order seems to be 1,4,2,5,3,6 > I would like to set it to something like 1,2,6,4,3,5 > > I just spent three days racking my brains and experimenting, all to no > avail, so I would really greatly appreciate any helpful words of > advice. > > Cheers, > Aleksandar Dulovi? -- Oliver Rowlands :: Liquid Light :: E - oliver at liquidlight.co.uk W - http://www.liquidlight.co.uk T - 00 44 (0)845 6 58 88 35 F - 00 44 (0)845 6 58 44 35 From oliver at liquidlight.co.uk Sun Sep 7 12:23:56 2008 From: oliver at liquidlight.co.uk (Oliver Rowlands) Date: Sun, 07 Sep 2008 11:23:56 +0100 Subject: [TYPO3-ttnews] customising news_category shortcut link In-Reply-To: References: Message-ID: Hi Paul, I am afraid you will not be able to do this without extending the tt_news category menu. Have a look at the 'userDisplayCatmenuHook' tt_news hook and EXT:timtab for an example implementation. Best regards, Oliver Paul Vetch wrote: > Dear all, > > Is there any way to customise the output for the category shortcut link > generated for ###NEWS_CATEGORY### when categoryMode is set to 2? I need > to insert additional text *inside* the link, with the category title. I > can only insert it around the link using categoryTitles_stdwrap / > categoryTitleItem_stdwrap, which is not what I want. > > I know that the link is generated using pi_linkToPage() rather than > typolink, and I can see that the categoryTitleItem_stdwrap appears > around the link, so I don't see any way (other than an ugly hack in the > class) to do this nicely... But maybe I'm not thinking laterally enough. > > I guess something like a categoryLink TS property, or some functional > equivalent of aTagBeforeWrap from TMENU, is what I'm wishing for here > ;) Is the code generating this link changing in tt_news v3? This is > one of the very very few aspects of tt_news that doesn't seem to be > configurable from TS. > > Many thanks > > Paul > > > -- Oliver Rowlands :: Liquid Light :: E - oliver at liquidlight.co.uk W - http://www.liquidlight.co.uk T - 00 44 (0)845 6 58 88 35 F - 00 44 (0)845 6 58 44 35 From oliver at liquidlight.co.uk Sun Sep 7 12:32:07 2008 From: oliver at liquidlight.co.uk (Oliver Rowlands) Date: Sun, 07 Sep 2008 11:32:07 +0100 Subject: [TYPO3-ttnews] workspaces for tt_news and type Link external url In-Reply-To: References: Message-ID: Hi Ralph, Are you publishing or swapping your tt_news article or the parent page of the tt_news article? It all works fine for me if I create a 'Link external URL' tt_news record in a draft workspace and publish it individually through the 'Workspace' module. It sounds like a workspace bug to me. Best regards, Oliver R.E. Klerk wrote: > Hello, I use T3 v 4.1.7 with Workspaces and tt_news v2.5.2. When > creating and publishing a news record with type "News" all is well. But > when publishing a news record with type "Link external url" the log says: > > Swapping successful for table "tt_news" uid 773=>774 > Record 'test' (tt_news:774) was deleted unrecoverable from page '' (-1) > > So as I understand the new news record (uid 774) is swapped over the old > record (uid 773) but then it is mysteriously "deleted unrecoverable". > It also seems that the news record suddenly does not have a category. > > Is it a bug? Is it impossible to publish news records with type "Link > external url"? Do I have to make special settings for > usergroup/user/workspace? Does anyone have a solution? > > CU, Ralph -- Oliver Rowlands :: Liquid Light :: E - oliver at liquidlight.co.uk W - http://www.liquidlight.co.uk T - 00 44 (0)845 6 58 88 35 F - 00 44 (0)845 6 58 44 35 From oliver at liquidlight.co.uk Sun Sep 7 12:57:34 2008 From: oliver at liquidlight.co.uk (Oliver Rowlands) Date: Sun, 07 Sep 2008 11:57:34 +0100 Subject: [TYPO3-ttnews] Move the "by" outside the
    tags in news-single-author In-Reply-To: References: Message-ID: Hi Stig, Try the following TS Setup: plugin.tt_news { displaySingle { author_stdWrap.wrap = author_stdWrap.dataWrap =

    {LLL:EXT:ll_fe/locallang.xml:fe.site_search}|

    } _LOCAL_LANG { default { preAuthor = } } } Alternatively you could extend tt_news and add an additional marker containing only the author name and link. Best regards, Oliver Stig Kjeldsen wrote: > is it possible to move the textstring "By" out of the
    tags? > > Right now the wrapping is done so the "By" is inside the like this: > >

    By: Stig Kjeldsen

    > > I would like to have it this way > >

    By: Stig Kjeldsen

    > > > Best regards > > Stig Kjeldsen -- Oliver Rowlands :: Liquid Light :: E - oliver at liquidlight.co.uk W - http://www.liquidlight.co.uk T - 00 44 (0)845 6 58 88 35 F - 00 44 (0)845 6 58 44 35 From oliver at liquidlight.co.uk Sun Sep 7 13:01:32 2008 From: oliver at liquidlight.co.uk (Oliver Rowlands) Date: Sun, 07 Sep 2008 12:01:32 +0100 Subject: [TYPO3-ttnews] catmenu and realurl In-Reply-To: References: Message-ID: Hi Daniel, RealURL will have cached the old category title in the 'Unique Aliases' > 'tt_news_cat'. Make sure you delete from there as well. Best regards, Oliver Daniel Calderini wrote: > Hi list, > > I am using the following Typoscript setup to render a menu of news > categories: > > I am also using the following realurl config. to rewrite categories URLs: > > The menu works well, it displays my categories and rewrites the URLs > nicely. > > The problem is, I changed the name of a category. The title in the menu > changed but not the URL: the old one is still used. > > I cleared all caches and also deleted everything in module "Info > > Speaking Url management". It didn't work. > > Did I do something wrong in my Typoscript or in my realurl config? > > Thanks -- Oliver Rowlands :: Liquid Light :: E - oliver at liquidlight.co.uk W - http://www.liquidlight.co.uk T - 00 44 (0)845 6 58 88 35 F - 00 44 (0)845 6 58 44 35 From oliver at liquidlight.co.uk Sun Sep 7 13:32:36 2008 From: oliver at liquidlight.co.uk (Oliver Rowlands) Date: Sun, 07 Sep 2008 12:32:36 +0100 Subject: [TYPO3-ttnews] tt_news_cat In-Reply-To: References: Message-ID: Hi Antonio, Use the following TS setup: [globalVar = GP:tx_ttnews|cat > 0] lib.test = RECORDS lib.test { dontCheckPid = 1 tables = tt_news_cat source.data = GPvar:tx_ttnews|cat conf.tt_news_cat = TEXT conf.tt_news_cat { htmlSpecialChars = 1 field = title } } [end] Best regards, Oliver Antonio Willybiro wrote: > Hi there, > > how can i get by TS the News Category title of the news currently displayed > (news detailed page) > > I tried: > > temp.newscatuid = RECORDS > temp.newscatuid { > source.data = GPvar:tx_ttnews|tt_news > tables = tt_news > conf.tt_news = TEXT > conf.tt_news.field = category > } > > temp.newscattitle = RECORDS > temp.newscattitle { > source.cObject < temp.newscatuid > tables = tt_news_cat > conf.tt_news_cat = TEXT > conf.tt_news_cat.field = title > } > > lib.test < temp.newscattitle > > > But this does not work. > > Any hint? > > Antonio > > -- Oliver Rowlands :: Liquid Light :: E - oliver at liquidlight.co.uk W - http://www.liquidlight.co.uk T - 00 44 (0)845 6 58 88 35 F - 00 44 (0)845 6 58 44 35 From oliver at liquidlight.co.uk Sun Sep 7 13:48:06 2008 From: oliver at liquidlight.co.uk (Oliver Rowlands) Date: Sun, 07 Sep 2008 12:48:06 +0100 Subject: [TYPO3-ttnews] Convert common HMENU to CATMENU In-Reply-To: References: Message-ID: Hi maaboo, That is going to be very hard to achieve using tt_news's default nestedWraps category menu as it does not have all the necessary wrap hooks that are needed in order to create your CSS drop down menu. You could create your own category menu using the 'userDisplayCatmenuHook' tt_news hook which will implement this functionality. Have a look at EXT:timtab for an example implementation. Best regards, Oliver maaboo wrote: > Hi! > I have the following menu: > > lib.mainmenu = HMENU > lib.mainmenu.1 = TMENU > lib.mainmenu.1 { > expAll = 1 > wrap =
      |
    > NO.linkWrap =
  • |
  • > IFSUB = 1 > IFSUB { > wrapItemAndSub =
  • |
  • > stdWrap.wrap = | > linkWrap = | > } > } > > It works fine, but doesn't fit into my goal. So i move to CATMENU and wrote: > > displayCatMenu { > mode = nestedWraps > catmenu_stdWrap.wrap = > > ... and here got a stuck, because the construction above with multiple > wraps, linkWraps and wrapItmeAndSubs. I don't understand how to correctly > "convert" my menu with full functionality such as conditional comments. > > Can somebody help me? Thanx. > -- Oliver Rowlands :: Liquid Light :: E - oliver at liquidlight.co.uk W - http://www.liquidlight.co.uk T - 00 44 (0)845 6 58 88 35 F - 00 44 (0)845 6 58 44 35 From oliver at liquidlight.co.uk Sun Sep 7 13:54:28 2008 From: oliver at liquidlight.co.uk (Oliver Rowlands) Date: Sun, 07 Sep 2008 12:54:28 +0100 Subject: [TYPO3-ttnews] LATEST and LIST on one page - second page?? In-Reply-To: References: Message-ID: Hi Steffen, The 'More news' link is the simplest solution. However if you were inserting the LATEST tt_news plugin via TS you should be able to use TS conditions and the presence of the tx_ttnews[pointer] GET parameter in order to only show the LATEST plugin on the first page, something along the lines of: [globalVar = GP:tx_ttnews|pointer > 0] # Do nothing [else] lib.latestNews < plugin.tt_news lib.latestNews { code > code = LATEST [...] } [end] Best regards, Oliver Steffen Gebert wrote: > Hey, > > I have a LATEST view (Top News) and a LIST view of tt_news on a page. At the > bottom there's the pagebrowser where you can read older news. > > Problem: LATEST appears also on the second page. > > Is there any possibility to just display it on the first page? Templavoila > is used. > > How do you solve this problem otherwise? Just a link "more news" to a page > with just LIST and there a pagebrowser? > > Thanks > Steffen > -- Oliver Rowlands :: Liquid Light :: E - oliver at liquidlight.co.uk W - http://www.liquidlight.co.uk T - 00 44 (0)845 6 58 88 35 F - 00 44 (0)845 6 58 44 35 From sk at itu.dk Tue Sep 9 13:16:31 2008 From: sk at itu.dk (Stig Kjeldsen) Date: Tue, 09 Sep 2008 13:16:31 +0200 Subject: [TYPO3-ttnews] Add. '&tx_ttnews[cat]=XXX' to the link parameter Message-ID: Hi list I would like to add the the parametre '&tx_ttnews[cat]=XXX' to the link parameter in the LIST and LATEST view. Right now the url string for a news from LIST or LATEST view is shown as http://domain.com/index.php?id=XXX&tx_ttnews[tt_news]=XXX&tx_ttnews[backPid]=XXX&cHash=865d980785 Is it possible to add the string: &tx_ttnews[cat]={field:uid} Like this: http://domain.com/index.php?id=XXX&tx_ttnews[tt_news]=XXX&tx_ttnews[cat]=XXX&tx_ttnews[backPid]=XXX&cHash=865d980785 Best regards Stig Kjeldsen From adulovic at gmail.com Tue Sep 9 20:20:40 2008 From: adulovic at gmail.com (Aleksandar Dulovic) Date: Tue, 9 Sep 2008 14:20:40 -0400 Subject: [TYPO3-ttnews] tt_news - ordering multiple elements on one page In-Reply-To: References: Message-ID: Hi Oliver, Thanks for the recommendation, but although the extension looks promising, once the news is sorted by "manual sorting" it loses the original sorting by date, thus rendering this extension useless for the task at hand. Like I said, I'm trying to make a newspaper portal by having a number of containers on the page, and I'm not sure if this makes sense, but the order in which they are presented on the page is not the order I in which I need them to be processed. Perhaps I can accomplish what I need using typoscript? Cheers On Sun, Sep 7, 2008 at 6:19 AM, Oliver Rowlands wrote: > Hi Aleksandar, > > EXT:mpossnewssorting might be able to help you. > > Best regards, > > Oliver > > Aleksandar Dulovic wrote: > > Hello everyone, > > > > I am trying to create a newspaper portal using 6 tt_news elements in > > three columns. > > All of the elements are set to display a different amount of latest > > news articles, and filter them by categories which denote their > > importance. > > I have set [excludeAlreadyDisplayedNews = 1] using typoscript, so that > > the articles won't get repeated. > > > > Everything works fine except for one small glitch - the order in which > > the elements are processed...! > > > > Let's say that I have the following: > > > > | 1 | 2 | 3 | > > | 4 | 5 | 6 | > > > > The default processing order seems to be 1,4,2,5,3,6 > > I would like to set it to something like 1,2,6,4,3,5 > > > > I just spent three days racking my brains and experimenting, all to no > > avail, so I would really greatly appreciate any helpful words of > > advice. > > > > Cheers, > > Aleksandar Dulovi? > > -- > Oliver Rowlands > :: Liquid Light :: > > E - oliver at liquidlight.co.uk > W - http://www.liquidlight.co.uk > > T - 00 44 (0)845 6 58 88 35 > F - 00 44 (0)845 6 58 44 35 > _______________________________________________ > 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 > From adulovic at gmail.com Tue Sep 9 21:00:45 2008 From: adulovic at gmail.com (Aleksandar Dulovic) Date: Tue, 9 Sep 2008 15:00:45 -0400 Subject: [TYPO3-ttnews] today's date Message-ID: Hello everyone, I'd like to use an IF clause in my TS to substitute today's date in my tt_news with the word "today" This is as far as I get: plugin.tt_news { displayLatest{ # Formatting the time time_stdWrap.strftime = %I:%M %p # Formatting the date date_stdWrap { # The formatted value from the database, so far so good strftime = %a, %e-%b # Start IF comparison if { # today value.data = date:U # compare value to dbase field (probably wrong) equals.field = datetime # never works... try something else... } } } } Cheers From steffen at steffen-gebert.de Wed Sep 10 22:14:02 2008 From: steffen at steffen-gebert.de (Steffen Gebert) Date: Wed, 10 Sep 2008 22:14:02 +0200 Subject: [TYPO3-ttnews] How to push patches? Message-ID: Hey list! Can I send SVN patch requests to this list or is there any internal list? I'd like to have Bug 9216 [1] fixed, which shouldn't really be a big deal :( But tt_news-development and bug fixing seems to stagnate.. Thanks Steffen [1] http://bugs.typo3.org/view.php?id=9216 From dmitry at typo3.org Thu Sep 11 12:06:23 2008 From: dmitry at typo3.org (Dmitry Dulepov [typo3]) Date: Thu, 11 Sep 2008 13:06:23 +0300 Subject: [TYPO3-ttnews] How to push patches? In-Reply-To: References: Message-ID: Hi! Steffen Gebert wrote: > Can I send SVN patch requests to this list or is there any internal list? > > I'd like to have Bug 9216 [1] fixed, which shouldn't really be a big deal :( > But tt_news-development and bug fixing seems to stagnate.. There is no internal list. There is only bug tracker. I think bug fixing/development is not active because there is no real interest in fixing bugs. tt_news more or less works, so what's the point? Some things were sponsored by companies and they were fixed really fast. -- Dmitry Dulepov TYPO3 Core team My TYPO3 book: http://www.packtpub.com/typo3-extension-development/book In the blog: http://typo3bloke.net/pages/book-reviews/presentation-zen-by-garr-reynolds/ From steffen at steffen-gebert.de Thu Sep 11 20:58:55 2008 From: steffen at steffen-gebert.de (Steffen Gebert) Date: Thu, 11 Sep 2008 20:58:55 +0200 Subject: [TYPO3-ttnews] How to push patches? In-Reply-To: References: Message-ID: Hey Dmitry > There is no internal list. There is only bug tracker. I think bug > fixing/development is not active because there is no real interest in > fixing bugs. tt_news more or less works, so what's the point? Some things > were sponsored by companies and they were fixed really fast. I thought tt_news 3 would be released within the next months, so I started building a new project using tt_news trunk version. So far (except the mentioned image-marker bug) it works very well and has a few features (prev/next links, BE module) which I miss in version 2.5. Steffen From office at zedwoo.de Mon Sep 15 16:46:15 2008 From: office at zedwoo.de (Michael Janssen) Date: Mon, 15 Sep 2008 16:46:15 +0200 Subject: [TYPO3-ttnews] Related News: all the same date in the url Message-ID: Hi, since a long time, i was wondering why Google have one article with different urls in the index. The only thing, which have changed was the HumanReadableDate. And i had no clue, where are the different dates from. I thought the editors had changed dates. But no, today i found the cause: The related news have all the same HumanReadableDate. Ist the bug known! Know somebody how to eliminate this bad behaviour? Wishes, Michael From info at digi-bis.com Wed Sep 17 07:12:17 2008 From: info at digi-bis.com (Brian Lynch) Date: Wed, 17 Sep 2008 05:12:17 +0000 (UTC) Subject: [TYPO3-ttnews] FE Editing for TT_News Message-ID: Does anyone have a solutions for FE Editing of TT_News? I know about the edit panel, but that is for front end users who have backend accounts, or use a plug in to to have them all pretend to have a sigle backend account, but this set up will not work for me, I need a true front end editing solution, where the user is the Auther, etc. I have tired meta_feedit but there are too many bugs and the documentation is so out of date with the actual program, I can't get it to run without throughing tons of errors. Thanks for any help, Brian From christian.hennecke at ruhr-uni-bochum.de Wed Sep 17 12:56:28 2008 From: christian.hennecke at ruhr-uni-bochum.de (Christian Hennecke) Date: Wed, 17 Sep 2008 10:56:28 +0000 (UTC) Subject: [TYPO3-ttnews] FE Editing for TT_News References: Message-ID: On Wed, 17 Sep 2008 05:12:17 UTC, Brian Lynch wrote: > Does anyone have a solutions for FE Editing of TT_News? > > I know about the edit panel, but that is for front end users who have > backend accounts, or use a plug in to to have them all pretend to have a > sigle backend account, but this set up will not work for me, I need a true > front end editing solution, where the user is the Auther, etc. > > I have tired meta_feedit but there are too many bugs and the documentation > is so out of date with the actual program, I can't get it to run without > throughing tons of errors. I've been facing the same problem. All available options have certain drawbacks like support for multiple languages, RTE, etc. If you only need a single language, fe_rtenews (version 1.4 since 1.41 is broken) and sg_newsplus are probably the best choice at the moment. The latter can do much of what meta_feedit does. -- "I smell blood and an era of prominent madmen." - W.H. Auden From mik at kleinerChemiker.net Wed Sep 17 14:07:16 2008 From: mik at kleinerChemiker.net (M.Kellner) Date: Wed, 17 Sep 2008 14:07:16 +0200 Subject: [TYPO3-ttnews] Plugin don't use Template Message-ID: I add the template in the Flexform plugin configuration but it seems that tt_news don't use it because the page stays blank. I have not added a static template to my site template because i want to use my own plugin that lies in the fileadmin directory. From Info at Digi-Bis.com Wed Sep 17 16:24:54 2008 From: Info at Digi-Bis.com (Brian Lynch) Date: Wed, 17 Sep 2008 14:24:54 +0000 (UTC) Subject: [TYPO3-ttnews] FE Editing for TT_News References: Message-ID: "Christian Hennecke" wrote in news:mailman.1.1221648988.7328.typo3-project-tt-news at lists.netfielders.de Thank You for your response, Yes, I only need one language for the near future. I working with sg_newsplus right now, however, the plug-in states it only works with up to Typo3 version 4.1.9 and I'm on 4.2.1 (I dont' know if this is a problem or not) I have installed the extension and followed the documentation for setting it up, and I can display the news, but it's not loading any means of editing. It looks like it may use Javascript for editing, and it's not loading. I have printed off the setup.txt and editing.txt file and will look throught them today to see if I can find something that I can fix, but this extension doesn't look too promising at the moment. I have not tired fe_rtenews, but anyport in a storm! So I'll try that one also. Thank you very much for the tip! Brian : > On Wed, 17 Sep 2008 05:12:17 UTC, Brian Lynch > wrote: > >> Does anyone have a solutions for FE Editing of TT_News? >> >> I know about the edit panel, but that is for front end users who have >> backend accounts, or use a plug in to to have them all pretend to >> have a sigle backend account, but this set up will not work for me, I >> need a true front end editing solution, where the user is the Auther, >> etc. >> >> I have tired meta_feedit but there are too many bugs and the >> documentation is so out of date with the actual program, I can't get >> it to run without throughing tons of errors. > > I've been facing the same problem. All available options have certain > drawbacks like support for multiple languages, RTE, etc. If you only > need a single language, fe_rtenews (version 1.4 since 1.41 is broken) > and sg_newsplus are probably the best choice at the moment. The latter > can do much of what meta_feedit does. From Info at Digi-Bis.com Wed Sep 17 16:30:48 2008 From: Info at Digi-Bis.com (Brian Lynch) Date: Wed, 17 Sep 2008 14:30:48 +0000 (UTC) Subject: [TYPO3-ttnews] FE Editing for TT_News References: Message-ID: Brian Lynch wrote in news:mailman.1.1221661494.20931.typo3-project-tt-news at lists.netfielders.d e: Ok, I just realized, that I don't know were to ger the previous version of fe_rtenews, where would I find that? Thank You, Brian > "Christian Hennecke" wrote in > news:mailman.1.1221648988.7328.typo3-project-tt-news at lists.netfielders. > de > > Thank You for your response, Yes, I only need one language for the > near future. I working with sg_newsplus right now, however, the > plug-in states it only works with up to Typo3 version 4.1.9 and I'm > on 4.2.1 (I dont' know if this is a problem or not) I have installed > the extension and followed the documentation for setting it up, and I > can display the news, but it's not loading any means of editing. It > looks like it may use Javascript for editing, and it's not loading. I > have printed off the setup.txt and editing.txt file and will look > throught them today to see if I can find something that I can fix, but > this extension doesn't look too promising at the moment. I have not > tired fe_rtenews, but anyport in a storm! So I'll try that one also. > > Thank you very much for the tip! > > Brian > > >: > > > > > > >> On Wed, 17 Sep 2008 05:12:17 UTC, Brian Lynch >> wrote: >> >>> Does anyone have a solutions for FE Editing of TT_News? >>> >>> I know about the edit panel, but that is for front end users who >>> have backend accounts, or use a plug in to to have them all pretend >>> to have a sigle backend account, but this set up will not work for >>> me, I need a true front end editing solution, where the user is the >>> Auther, etc. >>> >>> I have tired meta_feedit but there are too many bugs and the >>> documentation is so out of date with the actual program, I can't get >>> it to run without throughing tons of errors. >> >> I've been facing the same problem. All available options have certain >> drawbacks like support for multiple languages, RTE, etc. If you only >> need a single language, fe_rtenews (version 1.4 since 1.41 is broken) >> and sg_newsplus are probably the best choice at the moment. The >> latter can do much of what meta_feedit does. > > From steffen at steffen-gebert.de Wed Sep 17 17:05:50 2008 From: steffen at steffen-gebert.de (Steffen Gebert) Date: Wed, 17 Sep 2008 17:05:50 +0200 Subject: [TYPO3-ttnews] FE Editing for TT_News In-Reply-To: References: Message-ID: Hi Brian > Ok, I just realized, that I don't know were to ger the previous version > of fe_rtenews, where would I find that? Go to the extension manager, select Import extensions, then search for fe_rtenews and click on the link to get the extension details. On the upper left you can select which version to import. Steffen From info at digi-bis.com Wed Sep 17 19:36:51 2008 From: info at digi-bis.com (Brian Lynch) Date: Wed, 17 Sep 2008 17:36:51 +0000 (UTC) Subject: [TYPO3-ttnews] FE Editing for TT_News References: Message-ID: Steffen Gebert wrote in news:mailman.35347.1221663973.4573.typo3-project-tt-news at lists.netfielder s.de: Hi Steffen: Thank you for replying agian, now the download from the extension manager is not working, it must be the the site typo3.org is not working agian. Currently they don't even list fe_rtenews plug in at all. So close, yet so far... Any other ideas on how I can get my hands on that previous version? Thank You again, Brian > Hi Brian > >> Ok, I just realized, that I don't know were to ger the previous >> version of fe_rtenews, where would I find that? > > Go to the extension manager, select Import extensions, then search for > fe_rtenews and click on the link to get the extension details. On the > upper left you can select which version to import. > > Steffen > > From kaufmann at dwwd.ch Wed Sep 17 20:13:30 2008 From: kaufmann at dwwd.ch (Stefan Kaufmann) Date: Wed, 17 Sep 2008 20:13:30 +0200 Subject: [TYPO3-ttnews] FE Editing for TT_News In-Reply-To: References: Message-ID: Hi Brian sg_newsplus works like a charm in TYPO3 4.2.1. I use it on a fairly big site and its by far the best solution to edit news, if you do not need the RTE for editing the news. Javascript is not needed to run this extension. If you can't edit anything, check that you are using the correct file for it: single_news.html Good luck. Stefan Brian Lynch wrote: > "Christian Hennecke" wrote in > news:mailman.1.1221648988.7328.typo3-project-tt-news at lists.netfielders.de > > Thank You for your response, Yes, I only need one language for the near > future. I working with sg_newsplus right now, however, the plug-in states > it only works with up to Typo3 version 4.1.9 and I'm on 4.2.1 (I dont' > know if this is a problem or not) I have installed the extension and > followed the documentation for setting it up, and I can display the news, > but it's not loading any means of editing. It looks like it may use > Javascript for editing, and it's not loading. I have printed off the > setup.txt and editing.txt file and will look throught them today to see if > I can find something that I can fix, but this extension doesn't look too > promising at the moment. I have not tired fe_rtenews, but anyport in a > storm! So I'll try that one also. > > Thank you very much for the tip! > > Brian > From Info at Digi-Bis.com Wed Sep 17 21:04:56 2008 From: Info at Digi-Bis.com (Brian Lynch) Date: Wed, 17 Sep 2008 19:04:56 +0000 (UTC) Subject: [TYPO3-ttnews] FE Editing for TT_News References: Message-ID: Stefan Kaufmann wrote in news:mailman.35426.1221675214.4573.typo3-project-tt-news at lists.netfielder s.de: Stefan: I got newplus working, thanks to your help!!! Thank You so much! I need to block some of the fields from showing up, and my guess is I do that by copying out and relocating and editing the template file. No sweet there. thank you very much! > Hi Brian > > sg_newsplus works like a charm in TYPO3 4.2.1. I use it on a fairly > big site and its by far the best solution to edit news, if you do not > need the RTE for editing the news. Javascript is not needed to run > this extension. > > If you can't edit anything, check that you are using the correct file > for it: single_news.html > > Good luck. > Stefan > > Brian Lynch wrote: >> "Christian Hennecke" wrote in >> news:mailman.1.1221648988.7328.typo3-project-tt-news at lists.netfielders >> .de >> From hphoeksma at stylence.nl Wed Sep 17 21:40:56 2008 From: hphoeksma at stylence.nl (Henjo Hoeksma) Date: Wed, 17 Sep 2008 21:40:56 +0200 Subject: [TYPO3-ttnews] ordering category tree in web-info > cat manager Message-ID: Hi list, according to the manual it would be possible to sort news categories using the categorie manager bij use of drag and drop. This doesn't seem to work though... Running TYPO3 4.2.1 and tt_news 2.5.2 Is this a bug or do I miss some TS settings? Thanks in advance, Henjo From oliver at liquidlight.co.uk Thu Sep 18 10:52:15 2008 From: oliver at liquidlight.co.uk (Oliver Rowlands) Date: Thu, 18 Sep 2008 09:52:15 +0100 Subject: [TYPO3-ttnews] Plugin don't use Template In-Reply-To: References: Message-ID: Hi M, You need to include the tt_news static template in your root template otherwise tt_news will not work. Best regards, Oliver M.Kellner wrote: > I add the template in the Flexform plugin configuration but it seems > that tt_news don't use it because the page stays blank. I have not > added a static template to my site template because i want to use my > own plugin that lies in the fileadmin directory. -- Oliver Rowlands :: Liquid Light :: E - oliver at liquidlight.co.uk W - http://www.liquidlight.co.uk T - 00 44 (0)845 6 58 88 35 F - 00 44 (0)845 6 58 44 35 From info at digi-bis.com Fri Sep 19 00:14:50 2008 From: info at digi-bis.com (Brian Lynch) Date: Thu, 18 Sep 2008 22:14:50 +0000 (UTC) Subject: [TYPO3-ttnews] FE Editing for TT_News References: Message-ID: Brian Lynch wrote in news:mailman.1.1221678296.16243.typo3-project-tt-news at lists.netfielders.d e: Stefan: In my joy I failed to notice that newsplus does not provide a RTE editor for the front end, You even point this out in your message, have you done anything for front end editing to help this situation? Like incorporated a RTE editor? Thanks again > Stefan Kaufmann wrote in > news:mailman.35426.1221675214.4573.typo3-project-tt-news at lists.netfield > er s.de: > > Stefan: > > I got newplus working, thanks to your help!!! > > Thank You so much! > > I need to block some of the fields from showing up, and my guess is I > do that by copying out and relocating and editing the template file. > No sweet there. > > thank you very much! > > >> Hi Brian >> >> sg_newsplus works like a charm in TYPO3 4.2.1. I use it on a fairly >> big site and its by far the best solution to edit news, if you do not >> need the RTE for editing the news. Javascript is not needed to run >> this extension. >> >> If you can't edit anything, check that you are using the correct file >> for it: single_news.html >> >> Good luck. >> Stefan From kaufmann at dwwd.ch Fri Sep 19 10:50:57 2008 From: kaufmann at dwwd.ch (Stefan Kaufmann) Date: Fri, 19 Sep 2008 10:50:57 +0200 Subject: [TYPO3-ttnews] FE Editing for TT_News In-Reply-To: References: Message-ID: > Stefan: > > In my joy I failed to notice that newsplus does not provide a RTE editor > for the front end, You even point this out in your message, have you done > anything for front end editing to help this situation? > > Like incorporated a RTE editor? > > Thanks again Hello Brian Sorry I can't help you here. My programming skills are not good enough to do such a thing. For my page I do not need the RTE, as the users fill in simple data (form). Bigger text paragraphs can be edited in the BE with the RTE (field: bodytext) before the article is released. Stefan From info at digi-bis.com Sat Sep 20 07:47:37 2008 From: info at digi-bis.com (Brian Lynch) Date: Sat, 20 Sep 2008 05:47:37 +0000 (UTC) Subject: [TYPO3-ttnews] FE Editing for TT_News References: Message-ID: Stefan Kaufmann wrote in news:mailman.36104.1221814263.4573.typo3-project-tt-news at lists.netfielder s.de: That sounds like a good idea, they post it, and we'll make it look pretty. Thanks, Brian > > Stefan: >> >> In my joy I failed to notice that newsplus does not provide a RTE >> editor for the front end, You even point this out in your message, >> have you done anything for front end editing to help this situation? >> >> Like incorporated a RTE editor? >> >> Thanks again > > Hello Brian > > Sorry I can't help you here. My programming skills are not good enough > to do such a thing. For my page I do not need the RTE, as the users > fill in simple data (form). Bigger text paragraphs can be edited in > the BE with the RTE (field: bodytext) before the article is released. > Stefan > > From markus.bucher at bucher-it.de Sun Sep 21 14:56:22 2008 From: markus.bucher at bucher-it.de (Markus Bucher) Date: Sun, 21 Sep 2008 14:56:22 +0200 Subject: [TYPO3-ttnews] having the category inside RealURL Message-ID: Hi there, is there a way to insert the name of the category and the subcategory of a tt_news-Record inside the URL? E.G.: www.domain.de/news/vehicles/cars/the_new_beetle_is_there.html where vehicles is the main-category and cars the subcategory. Thanx and big cheers, Markus From mail at st-g.de Sun Sep 21 18:40:34 2008 From: mail at st-g.de (Steffen Gebert) Date: Sun, 21 Sep 2008 18:40:34 +0200 Subject: [TYPO3-ttnews] FE Editing for TT_News References: Message-ID: Hi Brian > Thank you for replying agian, now the download from the extension manager > is not working, it must be the the site typo3.org is not working agian. > Currently they don't even list fe_rtenews plug in at all. I just also had some trouble with installing new extensions. Maybe TER has some problems these days... Is there any way to display a pencil for every news-record and then edit the record - like with admin panel for normal content elements? This is what I need atm. Thanks Steffen From maaboo at gmail.com Sun Sep 21 19:52:57 2008 From: maaboo at gmail.com (maaboo) Date: Sun, 21 Sep 2008 21:52:57 +0400 Subject: [TYPO3-ttnews] Several separate news sources on one page Message-ID: I need to collect several news on main page. It may be easy if u just insert one plugin and tell to it pid_list. And it works now, but doesn't fit my requirements. Here there are. Every source must be separated from each other to has its own Header, own pid_list, template, etc. The problem that i'm new to Typo3 and don't understand how i can gain access to every news plugin (i know that it has tt_content id) to indicate header, pid_list, template, etc... /// May be this way? something_here1.tt_news.orsomething_here2 { pid_list = 11, 12 } something_here2.tt_news.orsomething_here2 { pid_list = 13, 14 } /// Any suggestions? -- with respect, MaaBoo ICQ UIN: 22694713 From dmitry at typo3.org Mon Sep 22 12:44:08 2008 From: dmitry at typo3.org (Dmitry Dulepov [typo3]) Date: Mon, 22 Sep 2008 13:44:08 +0300 Subject: [TYPO3-ttnews] having the category inside RealURL In-Reply-To: References: Message-ID: Hi! Markus Bucher wrote: > is there a way to insert the name of the category and the subcategory of > a tt_news-Record inside the URL? > > E.G.: > > www.domain.de/news/vehicles/cars/the_new_beetle_is_there.html > > where vehicles is the main-category and cars the subcategory. Use lookup maps in RealURL. -- Dmitry Dulepov TYPO3 Core team My TYPO3 book: http://www.packtpub.com/typo3-extension-development/book In the blog: http://typo3bloke.net/post-details/tag_your_typo3_extension_releases_in_svn/ From maaboo at gmail.com Tue Sep 23 16:54:13 2008 From: maaboo at gmail.com (maaboo) Date: Tue, 23 Sep 2008 18:54:13 +0400 Subject: [TYPO3-ttnews] [t3-newbie] 2 questions: inheritance and _LOCAL_LANG Message-ID: 1. I use the following tt_news settings: /// begin /// plugin.tt_news { templateFile = fileadmin/templates/tt_news.html _CSS_DEFAULT_STYLE > dontUseBackPid = 1 useHRDates = 1 defaultCode = LATEST subheader_stdWrap { crop = 1000 | ... | 1 ifEmpty.field = bodytext } } } /// end /// I insert into root page (id=14) COA which consist of several news sources: /// begin /// [globalVar = TSFE:id = 14] lib.newsholder = COA lib.newsholder { 10 < plugin.tt_news 10 { code = LATEST pid_list = 43 } 20 < plugin.tt_news 20 { code = LATEST pid_list = 42 } } [global] /// end /// The code above shows two news sources from correct pages (42 and 43). But it doesn't inherit subheader_stdWrap from general settings (and other settings), but T3 use templateFile (and may be others). Why? May be i'm doing something wrong fundamentally? 2. Where i can read about _LOCAL_LANG (is it tt_news option or T3 core)? I need to be sure that _LOCAL_LANG is RU by default. Where i can see it and set it? -- with respect, MaaBoo ICQ UIN: 22694713 From news at ringerge.org Tue Sep 23 17:02:35 2008 From: news at ringerge.org (Georg Ringer) Date: Tue, 23 Sep 2008 17:02:35 +0200 Subject: [TYPO3-ttnews] [t3-newbie] 2 questions: inheritance and _LOCAL_LANG In-Reply-To: References: Message-ID: Hi, maaboo wrote: Can you please use your real name here, thanks! > 1. I use the following tt_news settings: > I insert into root page (id=14) COA which consist of several news sources: > The code above shows two news sources from correct pages (42 and 43). But it > doesn't inherit subheader_stdWrap from general settings (and other > settings), but T3 use templateFile (and may be others). the first code is in TS befor the 2nd one? > 2. Where i can read about _LOCAL_LANG (is it tt_news option or T3 core)? I > need to be sure that _LOCAL_LANG is RU by default. Where i can see it and > set it? Set config.language = en config.htmlTag_langKey = en config.locale_all = en_EN of course with the correct locales for RU georg From michael.miousse at infoglobe.ca Tue Sep 23 17:05:47 2008 From: michael.miousse at infoglobe.ca (Michael Miousse) Date: Tue, 23 Sep 2008 11:05:47 -0400 Subject: [TYPO3-ttnews] [t3-newbie] 2 questions: inheritance and _LOCAL_LANG References: Message-ID: maaboo wrote: > 1. I use the following tt_news settings: > > /// begin /// > plugin.tt_news { > templateFile = fileadmin/templates/tt_news.html > _CSS_DEFAULT_STYLE > > dontUseBackPid = 1 > useHRDates = 1 > defaultCode = LATEST > subheader_stdWrap { > crop = 1000 | ... | 1 > ifEmpty.field = bodytext > } > } > } > /// end /// > > I insert into root page (id=14) COA which consist of several news sources: > > /// begin /// > [globalVar = TSFE:id = 14] > lib.newsholder = COA > lib.newsholder { > 10 < plugin.tt_news > 10 { > code = LATEST > pid_list = 43 > > } > 20 < plugin.tt_news > 20 { > code = LATEST > pid_list = 42 > } > } > [global] > /// end /// > > The code above shows two news sources from correct pages (42 and 43). But > it doesn't inherit subheader_stdWrap from general settings (and other > settings), but T3 use templateFile (and may be others). > > Why? May be i'm doing something wrong fundamentally? your inheritance is correct, you need to set the display type for your field subheader_stdWrap default config in ts like this plugin.tt_news { templateFile = fileadmin/templates/tt_news.html _CSS_DEFAULT_STYLE > dontUseBackPid = 1 useHRDates = 1 defaultCode = LATEST displayLatest{ subheader_stdWrap { crop = 1000 | ... | 1 ifEmpty.field = bodytext } } } > > 2. Where i can read about _LOCAL_LANG (is it tt_news option or T3 core)? I > need to be sure that _LOCAL_LANG is RU by default. Where i can see it and > set it? > -- Michael Miousse Infoglobe michael.miousse at infoglobe.ca From maaboo at gmail.com Tue Sep 23 17:16:17 2008 From: maaboo at gmail.com (maaboo) Date: Tue, 23 Sep 2008 19:16:17 +0400 Subject: [TYPO3-ttnews] [t3-newbie] 2 questions: inheritance and _LOCAL_LANG In-Reply-To: References: Message-ID: 2008/9/23 Georg Ringer > Hi, > > maaboo wrote: > > Can you please use your real name here, thanks! Sorry, i don't know where i can change it. I wrote it in "Your name (optional)". > > 1. I use the following tt_news settings: > > I insert into root page (id=14) COA which consist of several news > sources: > > > The code above shows two news sources from correct pages (42 and 43). But > it > > doesn't inherit subheader_stdWrap from general settings (and other > > settings), but T3 use templateFile (and may be others). > > the first code is in TS befor the 2nd one? The first is plugin.tt_news { ... } the second right after the first: [globalVar = TSFE:id = 14] lib.newsholder = COA lib.newsholder { 10 < plugin.tt_news ... } [global] > > > 2. Where i can read about _LOCAL_LANG (is it tt_news option or T3 core)? > I > > need to be sure that _LOCAL_LANG is RU by default. Where i can see it and > > set it? > > Set > config.language = en > config.htmlTag_langKey = en > config.locale_all = en_EN I have: config { language = ru locale_all = ru_RU } is it enough? -- with respect, MaaBoo ICQ UIN: 22694713 From maaboo at gmail.com Tue Sep 23 17:21:48 2008 From: maaboo at gmail.com (maaboo) Date: Tue, 23 Sep 2008 19:21:48 +0400 Subject: [TYPO3-ttnews] [t3-newbie] 2 questions: inheritance and _LOCAL_LANG In-Reply-To: References: Message-ID: Yes, you're right! I just wrap subheader_stdWrap by displayLatest and it works!. :-) So many levels.. { { {. Probably i delete it early and did not catch sight of it. :-\ 2008/9/23 Michael Miousse > your inheritance is correct, you need to set the display type for your > field > subheader_stdWrap default config in ts like this > plugin.tt_news { > templateFile = fileadmin/templates/tt_news.html > _CSS_DEFAULT_STYLE > > dontUseBackPid = 1 > useHRDates = 1 > defaultCode = LATEST > displayLatest{ > subheader_stdWrap { > crop = 1000 | ... | 1 > ifEmpty.field = bodytext > } > } > } > -- > Michael Miousse > Infoglobe > michael.miousse at infoglobe.ca > -- with respect, MaaBoo ICQ UIN: 22694713 From mail at st-g.de Wed Sep 24 09:07:55 2008 From: mail at st-g.de (Steffen Gebert) Date: Wed, 24 Sep 2008 09:07:55 +0200 Subject: [TYPO3-ttnews] [t3-newbie] 2 questions: inheritance and _LOCAL_LANG References: Message-ID: >> Can you please use your real name here, thanks! > Sorry, i don't know where i can change it. I wrote it in "Your name > (optional)". You have to set it in your newsreader- / email-software as sender name. Furthermore you can put your name at the end of your messages, so responders can adress you using your real name - just like this way: Regards, Steffen From nicolas at ranlogic.com Sun Sep 28 19:12:13 2008 From: nicolas at ranlogic.com (Nicolas Cohen) Date: Sun, 28 Sep 2008 14:12:13 -0300 Subject: [TYPO3-ttnews] How to keep HTML formatting in subheader when copying content from body in LATEST Message-ID: I have a typo3 installation running since april 2007 at www.global-art.com The websites has an event agenda that uses tt_news Each day is a separate tt_news article with information for the whole day. A "Latest" list in the sidebar shows the latest article, with the subheader cropped to 1000 characters. The subheader content is automatically copied from article body. Until a week ago i was running Typo3 4.1.5 with tt_news 2.5.0 and this worked ok. I had an issue between the BE and Firefox 3 and decided to upgrade. Recommended steps included upgrading all FE plugins, so i did so. Everything went ok, except that now subheader don't have HTML formatting when copied from body. this is the relevant part of my tt_news conf #tt_news //clear subheader Wrap for Single and Latest view plugin.tt_news.displayLatest.subheader_stdWrap.wrap = | plugin.tt_news.displaySingle.subheader_stdWrap.wrap = | //clear general wrap plugin.tt_news.general_stdWrap > // Now it is necessary to set the parseFunc for the RTE field: plugin.tt_news.displaySingle.content_stdWrap.parseFunc < lib.parseFunc_RTE # i added this line after updating, but got no effect plugin.tt_news.displayLatest.subheader_stdWrap.parseFunc < lib.parseFunc_RTE