From info at sk-typo3.de Thu Mar 5 01:17:58 2009 From: info at sk-typo3.de (Steffen Kamper) Date: Thu, 05 Mar 2009 01:17:58 +0100 Subject: [TYPO3-templavoila] Section with two containers - how to map? Message-ID: Hi, i want to use a section with 2 containers, so i have the possibility of choice for adding elements Here is an example XML:
1
array array Container 1 my title input 30 60 array Container 2 Single Textfield text 60 5 richtext:rte_transform[flag=rte_enabled|mode=ts_css]
This works, but i don't know how to map container1 and container2 - in HTML there is only one container where the content should be placed, and mapping to the same container isn't possible. Any tip how i can do this? vg Steffen From leeperry at slack.de Thu Mar 5 10:45:45 2009 From: leeperry at slack.de (Lee Perry) Date: Thu, 05 Mar 2009 10:45:45 +0100 Subject: [TYPO3-templavoila] Section with two containers - how to map? In-Reply-To: References: Message-ID: Hi Steffen, > This works, but i don't know how to map container1 and container2 - in > HTML there is only one container where the content should be placed, and > mapping to the same container isn't possible. > Any tip how i can do this? you want to map two containers in a section - just put two containers inside the section in your HTML and map your first container with the first container in HTML and the other with the second one. So I cannot see any problem - maybe it was too late at 1:17 ;) Greetings, Lee From dmitry at typo3.org Thu Mar 5 11:05:26 2009 From: dmitry at typo3.org (Dmitry Dulepov) Date: Thu, 05 Mar 2009 12:05:26 +0200 Subject: [TYPO3-templavoila] Section with two containers - how to map? In-Reply-To: References: Message-ID: Hi! Lee Perry wrote: > you want to map two containers in a section - just put two containers > inside the section in your HTML and map your first container with the > first container in HTML and the other with the second one. Exactly :) Mininews extension uses the same principle for alternating news. -- Dmitry Dulepov TYPO3 core team http://dmitry-dulepov.com/ "Computers are so unreliable... just like people" (Major Cain, "Resident Evil: Apocalypse") From info at sk-typo3.de Thu Mar 5 11:40:12 2009 From: info at sk-typo3.de (Steffen Kamper) Date: Thu, 05 Mar 2009 11:40:12 +0100 Subject: [TYPO3-templavoila] Section with two containers - how to map? In-Reply-To: References: Message-ID: Dmitry Dulepov schrieb: > Hi! > > Lee Perry wrote: >> you want to map two containers in a section - just put two containers >> inside the section in your HTML and map your first container with the >> first container in HTML and the other with the second one. > > Exactly :) Mininews extension uses the same principle for alternating news. > yes - maybay it was too late :-) I feared that code-fragments still left in generated output. Now my next problem: how to use a plugin as element? Is it possible? I could use Content Elements - but then you have to create them seperate. vg Steffen From info at sk-typo3.de Thu Mar 5 12:16:06 2009 From: info at sk-typo3.de (Steffen Kamper) Date: Thu, 05 Mar 2009 12:16:06 +0100 Subject: [TYPO3-templavoila] Section with two containers - how to map? In-Reply-To: References: Message-ID: Steffen Kamper schrieb: > Dmitry Dulepov schrieb: >> Hi! >> >> Lee Perry wrote: >>> you want to map two containers in a section - just put two containers >>> inside the section in your HTML and map your first container with the >>> first container in HTML and the other with the second one. >> >> Exactly :) Mininews extension uses the same principle for alternating >> news. >> > > yes - maybay it was too late :-) I feared that code-fragments still left > in generated output. > > Now my next problem: how to use a plugin as element? Is it possible? > I could use Content Elements - but then you have to create them seperate. > > vg Steffen i start a new thread for this question as it's to complex for here. vg Steffen From info at sk-typo3.de Thu Mar 5 12:22:10 2009 From: info at sk-typo3.de (Steffen Kamper) Date: Thu, 05 Mar 2009 12:22:10 +0100 Subject: [TYPO3-templavoila] Using a plugin as Element in DS Message-ID: Hi, the question sounds easy: using a plugin in an element of a DS displaying the flexform of the plugin. But it seems to be very hard or impossible. I read the section about using mininews in DS, but this is something like simulating the flexform ( i didn't tested the example yet, but i will do to have deeper knowledge of this) So, who experienced with that or give me an answer about this issue? thx, vg Steffen From dmitry at typo3.org Thu Mar 5 12:40:59 2009 From: dmitry at typo3.org (Dmitry Dulepov) Date: Thu, 05 Mar 2009 13:40:59 +0200 Subject: [TYPO3-templavoila] Using a plugin as Element in DS In-Reply-To: References: Message-ID: Hi! Steffen Kamper wrote: > the question sounds easy: using a plugin in an element of a DS > displaying the flexform of the plugin. Not easy for me at all :( What do you mean? -- Dmitry Dulepov TYPO3 core team http://dmitry-dulepov.com/ "Computers are so unreliable... just like people" (Major Cain, "Resident Evil: Apocalypse") From niels.froehling at adsignum.com Thu Mar 5 12:52:08 2009 From: niels.froehling at adsignum.com (=?ISO-8859-1?Q?Niels_Fr=F6hling?=) Date: Thu, 05 Mar 2009 05:52:08 -0600 Subject: [TYPO3-templavoila] Using a plugin as Element in DS In-Reply-To: References: Message-ID: Steffen Kamper wrote: > Hi, > > the question sounds easy: using a plugin in an element of a DS > displaying the flexform of the plugin. > > But it seems to be very hard or impossible. > > I read the section about using mininews in DS, but this is something > like simulating the flexform ( i didn't tested the example yet, but i > will do to have deeper knowledge of this) > > So, who experienced with that or give me an answer about this issue? Well there are several "issues" connected to this: - recursive Flexform-resolution in the page-module previews (data-fragments) - DS-detection and selection in the mapper (possibly through a new -element type: inline-flexform or external-flexform) - recursive Flexform-resolution in the content-element attributes The first is a minor thing and in TV hands, the second is a bit more complicated, I guess there are no collections of flexform available, and there is no flexform-registry, which makes the entire thing very dirty. Also because there is no FF-include in the basic core-FF you have to carry around FF-fragment copies in your DSs, you update the extension, FFs will possibly superseded, you can make checks for modification dates, but its rather uncomfortable because of the lack of support-routines. The third is core-ff and possibly extreme ugly, I expect you'll get extreme GUI problems when you arrive at FF-constructions with sections in section with elements that have tabs, which have ... and so on. Actually FFs are more like standalone blobs, they are by no means a complete context-free OO GUI description (that would be nice BTW - XUL, XAML and the old Win32 resource-defnitions would have been good inspirations). Most of the restrictions, you see come from the core, no access-interface and no reliable FF-GUI renderer. I like the prospect/idea though! Ciao Niels From info at sk-typo3.de Thu Mar 5 13:50:22 2009 From: info at sk-typo3.de (Steffen Kamper) Date: Thu, 05 Mar 2009 13:50:22 +0100 Subject: [TYPO3-templavoila] Using a plugin as Element in DS In-Reply-To: References: Message-ID: Hi Niels, Niels Fr?hling schrieb: > Steffen Kamper wrote: >> Hi, >> >> the question sounds easy: using a plugin in an element of a DS >> displaying the flexform of the plugin. >> >> But it seems to be very hard or impossible. >> >> I read the section about using mininews in DS, but this is something >> like simulating the flexform ( i didn't tested the example yet, but i >> will do to have deeper knowledge of this) >> >> So, who experienced with that or give me an answer about this issue? > > Well there are several "issues" connected to this: > > - recursive Flexform-resolution in the page-module previews > (data-fragments) > - DS-detection and selection in the mapper (possibly through a new > -element type: inline-flexform or external-flexform) > - recursive Flexform-resolution in the content-element attributes > that's why i call it "complex" > The first is a minor thing and in TV hands, yes - that should be changed anyway. I don't like preview of complete section there, something like section "xyz": containing 5 elements would be sufficient. > the second is a bit more > complicated, I guess there are no collections of flexform available, and > there is no flexform-registry, which makes the entire thing very dirty. > Also because there is no FF-include in the basic core-FF you have to > carry around FF-fragment copies in your DSs, you update the extension, > FFs will possibly superseded, you can make checks for modification > dates, but its rather uncomfortable because of the lack of > support-routines. if the plugin comes with an flexform it's rendered by tceforms type flex. All information is known as plugin does the complete configuration. > The third is core-ff and possibly extreme ugly, I expect you'll get > extreme GUI problems when you arrive at FF-constructions with sections > in section with elements that have tabs, which have ... and so on. > Actually FFs are more like standalone blobs, they are by no means a > complete context-free OO GUI description (that would be nice BTW - XUL, > XAML and the old Win32 resource-defnitions would have been good > inspirations). > i don't think this is a big problem, as tceforms know how to render. Sure - the tabs - this could cause problems, but render a flexform should be easy. I experimented with nested sections, and core can handle this without a big problem - as far as i could test > Most of the restrictions, you see come from the core, no > access-interface and no reliable FF-GUI renderer. I like the > prospect/idea though! > > Ciao > Niels > yeah - again the complexity. But from user sight this is a simple request. Example: I have a tutorial fce with section where you enter different paragraphs of the tutorial. Now you need a codebox. Therefore i would like to use a section with plugin codebox, you see the flexform (in this cse no tabs) and enter the code, configure etc. Next section will be normal text paragraph again. You see - a "simple" request :D vg Steffen From info at sk-typo3.de Thu Mar 5 13:50:50 2009 From: info at sk-typo3.de (Steffen Kamper) Date: Thu, 05 Mar 2009 13:50:50 +0100 Subject: [TYPO3-templavoila] Using a plugin as Element in DS In-Reply-To: References: Message-ID: Hi Dmitry, Dmitry Dulepov schrieb: > Hi! > > Steffen Kamper wrote: >> the question sounds easy: using a plugin in an element of a DS >> displaying the flexform of the plugin. > > Not easy for me at all :( What do you mean? > see my answer to Niels for more details. vg Steffen From thomasr at REMOVETHISlinkfactory.dk Fri Mar 6 01:28:12 2009 From: thomasr at REMOVETHISlinkfactory.dk (Thomas Rehhoff) Date: Fri, 6 Mar 2009 01:28:12 +0100 Subject: [TYPO3-templavoila] New mapping module References: Message-ID: Hi Steffen I've tested this and the ability to be able to edit TS settings directly in the TV module is a great enhancement opposed to the normal XML-editing method. Genereally I think you've succeded with creating more overview for the developer, data elements are listed in a drop-down, when saving you DS+TO you have a good understanding of what lies in which GRSP and so on. The general overview of your GRSP are now visualised as folders which wasn't obvious before. So generally I think you have succeded with a lot of usability/HCI improvements. But, I think there's one drawback and that is that creating data-elements now involves more clicking on the "update" and "close" button than before, in order to get the "map" button to appear and that say, for instance when creating a Typoscript Object Path, you have to click on the "update" in order to get the "extra functions" field" and then click on that, in order to get to input field for the Object path. Would it be possible instead to have that appear as in the original module under the "Element preset" in the "Configuration"-tab? That would make it both quicker to work with and more accessible. and to get the "Map" button to appear without having to hit the "Close" button" - that's how it works up until version 1.3.7 All the best Thomas "Steffen Kamper" skrev i en meddelelse news:mailman.1.1235607834.26286.typo3-project-templavoila at lists.netfielders.de... > Hi, > > the long awaited featur is now committed to svn. > > To be correct, it's not a "new" mapping editor, but it was enhanced the > way that you can edit now many things that was possible only in XML of DS > record before. > > The new features are > > * element presets are organized with option group > * Typoscript section: edit Typoscript constants and Typoscript direct in > mapping module > * Data processing: set flags for integer or HSC (htmlspecialchars), edit > Custom stdWrap > * edit TCEForms direct in mapping module > * new Element type "NO" (not mapped) for typoscript processing only > > The sections in edit are grouped with a little JS-driven menu which makes > it easy for edit > > Additional the "show details" in TemplaVoil? Control Center are now > "humanized". Before it was a debug output of the arrays, now you see > readable informations about the elements. > > Most of the work was done by Niels Fr?hling, many thanks for your work > Niels! > > So please go ahead and check out latest version from svn [1] and test it, > i hope you enjoy. > > vg Steffen > > [1] https://svn.typo3.org/TYPO3v4/Extensions/templavoila/trunk From info at sk-typo3.de Fri Mar 6 01:34:15 2009 From: info at sk-typo3.de (Steffen Kamper) Date: Fri, 06 Mar 2009 01:34:15 +0100 Subject: [TYPO3-templavoila] New mapping module In-Reply-To: References: Message-ID: Hi Thomas, Thomas Rehhoff schrieb: > Hi Steffen > I've tested this and the ability to be able to edit TS settings directly > in the TV module is a great enhancement opposed to the normal > XML-editing method. > > Genereally I think you've succeded with creating more overview for the > developer, data elements are listed in a drop-down, when saving you > DS+TO you have a good understanding of what lies in which GRSP and so > on. The general overview of your GRSP are now visualised as folders > which wasn't obvious before. So generally I think you have succeded with > a lot of usability/HCI improvements. > thanks. great to hear :-) > But, I think there's one drawback and that is that creating > data-elements now involves more clicking on the "update" and "close" > button than before, in order to get the "map" button to appear and that > say, for instance when creating a Typoscript Object Path, you have to > click on the "update" in order to get the "extra functions" field" and > then click on that, in order to get to input field for the Object path. > Would it be possible instead to have that appear as in the original > module under the "Element preset" in the "Configuration"-tab? That would > make it both quicker to work with and more accessible. > and to get the "Map" button to appear without having to hit the "Close" > button" - that's how it works up until version 1.3.7 > > All the best > Thomas > the mapping module isn't in last stage, you're right. There are some more improvements to come, so it helps me a lot if i get some feedback like yours. Currently i'm working on the presets for elements, and my goal is that you can override them with TS, or simply add some own. When i get finished this i'll take your (and hopefully others) comments into account to raise usability, thx. vg Steffen From info at sk-typo3.de Fri Mar 6 14:10:03 2009 From: info at sk-typo3.de (Steffen Kamper) Date: Fri, 06 Mar 2009 14:10:03 +0100 Subject: [TYPO3-templavoila] Mapping preview not working In-Reply-To: References: Message-ID: Hi, Goran Milicic schrieb: > Hi, > > I'm using T3 v4.2.6 and TV 1.3.7. I have mapped the templates with some > of the previous version Typo3 (4.1, I think). I've been updating > regularly T3 source from 4.1 to the latest 4.2.6 release. > > I've noticed that when I go to TV module and choose a DS for a already > mapped template I cannot see mapped template in preview mode (see the > picture attached). The red block is just part of the menu. There is > nothing else to see. > > Is this some bug or what? > > Thanks in advance. > as i can see you're in DRAFT mode - try again in LIVE if it works there, vg Steffen From Goran.Milicic at rns-nis.co.rs Fri Mar 6 14:39:55 2009 From: Goran.Milicic at rns-nis.co.rs (Goran Milicic) Date: Fri, 06 Mar 2009 14:39:55 +0100 Subject: [TYPO3-templavoila] Mapping preview not working In-Reply-To: References: Message-ID: Steffen Kamper wrote: > Hi, > > Goran Milicic schrieb: >> Hi, >> >> I'm using T3 v4.2.6 and TV 1.3.7. I have mapped the templates with some >> of the previous version Typo3 (4.1, I think). I've been updating >> regularly T3 source from 4.1 to the latest 4.2.6 release. >> >> I've noticed that when I go to TV module and choose a DS for a already >> mapped template I cannot see mapped template in preview mode (see the >> picture attached). The red block is just part of the menu. There is >> nothing else to see. >> >> Is this some bug or what? >> >> Thanks in advance. >> > > as i can see you're in DRAFT mode - try again in LIVE if it works there, > > vg Steffen Thanks it works! From paul.bucalo at gmail.com Fri Mar 6 20:00:46 2009 From: paul.bucalo at gmail.com (Paul Bucalo) Date: Fri, 6 Mar 2009 14:00:46 -0500 Subject: [TYPO3-templavoila] templavoila FCE image problem Message-ID: I'm trying to create a flexible content element that uses two image uploads. The problem is that the flex form does not include a way to effect the images size. As a result, the image gets a size of 0 on the front end (error message): convert: Negative or zero image size `/var/www/html/typo3/uploads/ tx_templavoila/tips_divider.gif'. What am I doing wrong? I tried both Image and Image fixed w+h from Templavoila I don't ever remember running into this before. I'm running v4.2.6 on a RHEL server. thank you, -Paul Bucalo From info at sk-typo3.de Sat Mar 7 00:11:49 2009 From: info at sk-typo3.de (Steffen Kamper) Date: Sat, 07 Mar 2009 00:11:49 +0100 Subject: [TYPO3-templavoila] templavoila FCE image problem In-Reply-To: References: Message-ID: Hi, Paul Bucalo schrieb: > I'm trying to create a flexible content element that uses two image uploads. > The problem is that the flex form does not include a way to effect the > images size. > As a result, the image gets a size of 0 on the front end (error message): > convert: Negative or zero image size `/var/www/html/typo3/uploads/ > tx_templavoila/tips_divider.gif'. > > What am I doing wrong? > I tried both Image and Image fixed w+h from Templavoila > > I don't ever remember running into this before. I'm running v4.2.6 on a RHEL > server. > > thank you, > -Paul Bucalo what is negative size? I must say, i never run in such problem. As the sizing is done while FE rendering, the upload of pic doesn't change anything. Check access rights of your upload folder. Try with a simple image field in a new FCE. vg Steffen From info at sk-typo3.de Sun Mar 8 19:04:13 2009 From: info at sk-typo3.de (Steffen Kamper) Date: Sun, 08 Mar 2009 19:04:13 +0100 Subject: [TYPO3-templavoila] New mapping module In-Reply-To: References: Message-ID: Hi, Thomas Rehhoff schrieb: > But, I think there's one drawback and that is that creating > data-elements now involves more clicking on the "update" and "close" > button than before, in order to get the "map" button to appear and that > say, for instance when creating a Typoscript Object Path, you have to > click on the "update" in order to get the "extra functions" field" and > then click on that, in order to get to input field for the Object path. > Would it be possible instead to have that appear as in the original > module under the "Element preset" in the "Configuration"-tab? That would > make it both quicker to work with and more accessible. > and to get the "Map" button to appear without having to hit the "Close" > button" - that's how it works up until version 1.3.7 > > All the best > Thomas > i raised usability now as the mapping-links and commands are shown while edit a field, so you don't have to close edit. Also edit stay while (re)mapping or viewing. This saves some extra clicks. vg Steffen From ian at webian.it Mon Mar 9 12:11:05 2009 From: ian at webian.it (Ian Solo) Date: Mon, 09 Mar 2009 12:11:05 +0100 Subject: [TYPO3-templavoila] Thumb generation of DS and TO previewIcon In-Reply-To: References: Message-ID: Hi, I'm just checking out the SVN version in a new project. First of all, thank you very much for the great job that you guys did and are doing in this extension! I have a small problem. With TV page module, when I edit a page or FCE record the relative icons aren't shown anymore. I just have the list of TO names. Can you please check if this happens to you too? Else I should better check my installation. Thank you in advance. Regards, ian Steffen Kamper wrote: > Hi, > > following feature was committed: > > When using previewIcons for DS or TO they are not resized but > displayed in orignal size. > This enforce to create the icons in the prefered size. > > Now you have the possibility to set these preview icons to thumbs > (pageTS or userTS) > > mod.web_txtemplavoilaM2 { > dsPreviewIconThumb = 120x80 > toPreviewIconThumb = 120x80 > } > will resize the previewIcons to prefered size ([width]x[height]) > > mod.web_txtemplavoilaM2 { > dsPreviewIconThumb = 1 > toPreviewIconThumb = 1 > } > will resize the previewIcons to standard BE thumb size (which is 56x56) > > without the setting previewIcons will displayed in original size (same > behaviour as before) which is the default. > > This is added to manual also. > > vg Steffen From info at sk-typo3.de Mon Mar 9 12:14:40 2009 From: info at sk-typo3.de (Steffen Kamper) Date: Mon, 09 Mar 2009 12:14:40 +0100 Subject: [TYPO3-templavoila] Thumb generation of DS and TO previewIcon In-Reply-To: References: Message-ID: Hi, Ian Solo schrieb: > Hi, > I'm just checking out the SVN version in a new project. > First of all, thank you very much for the great job that you guys did > and are doing in this extension! > > I have a small problem. > With TV page module, when I edit a page or FCE record the relative icons > aren't shown anymore. > I just have the list of TO names. > > Can you please check if this happens to you too? > Else I should better check my installation. > > Thank you in advance. > Regards, > ian > i saw that yesterday too, and i check this. Could you open a BT-entry for this? thx. vg Steffen From ian at webian.it Mon Mar 9 13:08:30 2009 From: ian at webian.it (Ian Solo) Date: Mon, 09 Mar 2009 13:08:30 +0100 Subject: [TYPO3-templavoila] Thumb generation of DS and TO previewIcon In-Reply-To: References: Message-ID: Hi, Steffen Kamper wrote: >> With TV page module, when I edit a page or FCE record the relative >> icons aren't shown anymore. >> I just have the list of TO names. > i saw that yesterday too, and i check this. > Could you open a BT-entry for this? thx. > Done. http://bugs.typo3.org/view.php?id=10643 Thank you! ian From ian at webian.it Mon Mar 9 13:29:00 2009 From: ian at webian.it (Ian Solo) Date: Mon, 09 Mar 2009 13:29:00 +0100 Subject: [TYPO3-templavoila] templatePath In-Reply-To: References: Message-ID: Hi, Steffen Kamper wrote: > > In Templavoila module you have the tab "Template Files" > Before the default was empty, and you only got a list "Used files". > If you wanted to start a new DS/TO from (unused) html you had to go to > file list module and access the html file with context menu. > Very handy! Thanks. Unluckily it doesn't work completely in my test installation. When I click on the "Create..." link I get a 404. This is a sample link: http://www.foo.com/typo3conf/ext/templavoila/mod2/id=&file=%2Fhome%2Ftestclient%2Fwww.foo.com%2Ffileadmin%2Ftemplates%2Ffce%2FFCE.1ColumnContainer.html&mapElPath=%5BROOT%5D I just changed the test domain with www.foo.com. I guess that the link misses "index.php?" but even if I cheat the link it brings me to the TV NEW SITE WIZARD page. Please, can you check this in your installation? Thank you! Regards, ian From dmitry at typo3.org Mon Mar 9 13:40:16 2009 From: dmitry at typo3.org (Dmitry Dulepov) Date: Mon, 09 Mar 2009 14:40:16 +0200 Subject: [TYPO3-templavoila] Thumb generation of DS and TO previewIcon In-Reply-To: References: Message-ID: Hi! Ian Solo wrote: > With TV page module, when I edit a page or FCE record the relative icons > aren't shown anymore. What is "relative icons"? > I just have the list of TO names. That's right. Trunk version ides data sources. You can revert back to the old behaviour if you wish, look in the extension properties. -- Dmitry Dulepov TYPO3 core team http://dmitry-dulepov.com/ From dmitry at typo3.org Mon Mar 9 13:41:28 2009 From: dmitry at typo3.org (Dmitry Dulepov) Date: Mon, 09 Mar 2009 14:41:28 +0200 Subject: [TYPO3-templavoila] Thumb generation of DS and TO previewIcon In-Reply-To: References: Message-ID: Hi! Ian Solo wrote: > Done. > http://bugs.typo3.org/view.php?id=10643 The bug report should be descriptive. It is not possible to understand what you mean with this bug report. TemplaVoila does not have any "relative icon" concept. Please, describe it better. Otherwise it can be "cleaned up" some time in the future. -- Dmitry Dulepov TYPO3 core team http://dmitry-dulepov.com/ From info at sk-typo3.de Mon Mar 9 14:17:13 2009 From: info at sk-typo3.de (Steffen Kamper) Date: Mon, 09 Mar 2009 14:17:13 +0100 Subject: [TYPO3-templavoila] templatePath In-Reply-To: References: Message-ID: Hi, Ian Solo schrieb: > Unluckily it doesn't work completely in my test installation. > When I click on the "Create..." link I get a 404. fixed in svn vg Steffen From gaumondpatrick-s-p-a-m at hotmail-sp-a-m.com Mon Mar 9 14:21:19 2009 From: gaumondpatrick-s-p-a-m at hotmail-sp-a-m.com (Patrick Gaumond) Date: Mon, 09 Mar 2009 09:21:19 -0400 Subject: [TYPO3-templavoila] Thumb generation of DS and TO previewIcon In-Reply-To: References: Message-ID: Dmitry Dulepov wrote: >> http://bugs.typo3.org/view.php?id=10643 > > The bug report should be descriptive. It is not possible to understand what you mean with this bug report. TemplaVoila does not have any "relative icon" concept. > > Please, describe it better. Otherwise it can be "cleaned up" some time in the future. >(FTB page 49) >Icons for TOs and DSs >A really nice touch of DS and TO records is that you can attach icons >to them which and used in the forms where people select them as >templates/data structures. This is the feature that "disappeared" in recent TV trunk. I've added this text to bug 10643. Patrick From ian at webian.it Mon Mar 9 14:33:23 2009 From: ian at webian.it (Ian Solo) Date: Mon, 09 Mar 2009 14:33:23 +0100 Subject: [TYPO3-templavoila] templatePath In-Reply-To: References: Message-ID: Hi, Steffen Kamper wrote: > Hi, > > Ian Solo schrieb: >> Unluckily it doesn't work completely in my test installation. >> When I click on the "Create..." link I get a 404. > > fixed in svn > > vg Steffen Great! now it works. Thank you! ian From info at sk-typo3.de Mon Mar 9 14:58:01 2009 From: info at sk-typo3.de (Steffen Kamper) Date: Mon, 09 Mar 2009 14:58:01 +0100 Subject: [TYPO3-templavoila] Thumb generation of DS and TO previewIcon In-Reply-To: References: Message-ID: Hi Dmitry, Dmitry Dulepov schrieb: > Hi! > > Ian Solo wrote: >> With TV page module, when I edit a page or FCE record the relative icons >> aren't shown anymore. > > What is "relative icons"? > >> I just have the list of TO names. > > That's right. Trunk version ides data sources. You can revert back to the old behaviour if you wish, look in the extension properties. > yes, by checking "enable.selectDataSource" the DS-Selector appears again. But there are no preview icons as before. I compare the TCA-setting to version before and look if i find the reason. vg Steffen From info at sk-typo3.de Mon Mar 9 15:24:57 2009 From: info at sk-typo3.de (Steffen Kamper) Date: Mon, 09 Mar 2009 15:24:57 +0100 Subject: [TYPO3-templavoila] Thumb generation of DS and TO previewIcon In-Reply-To: References: Message-ID: Hi, Steffen Kamper schrieb: > Hi Dmitry, > yes, by checking "enable.selectDataSource" the DS-Selector appears again. > But there are no preview icons as before. > I compare the TCA-setting to version before and look if i find the reason. > > vg Steffen i found the readson, icon path is set by t3lib_div::getIndpEnv('TYPO3_SITE_URL'), generated path will be gfx/http://... as it is used in inline-css it has to be relative, so correct path would be $iconPath = '../../uploads/tx_templavoila/'; not nice i know, do you have a better idea? vg Steffen From ian at webian.it Mon Mar 9 16:00:51 2009 From: ian at webian.it (Ian Solo) Date: Mon, 09 Mar 2009 16:00:51 +0100 Subject: [TYPO3-templavoila] Thumb generation of DS and TO previewIcon In-Reply-To: References: Message-ID: Hi, Steffen Kamper wrote: > i found the readson, icon path is set by > t3lib_div::getIndpEnv('TYPO3_SITE_URL'), generated path will be > gfx/http://... > > as it is used in inline-css it has to be relative, so correct path > would be > $iconPath = '../../uploads/tx_templavoila/'; > not nice i know, do you have a better idea? What about make a left trim of the first 4 characters? Too bad hack? :P Regards, ian From info at sk-typo3.de Mon Mar 9 16:11:29 2009 From: info at sk-typo3.de (Steffen Kamper) Date: Mon, 09 Mar 2009 16:11:29 +0100 Subject: [TYPO3-templavoila] Thumb generation of DS and TO previewIcon In-Reply-To: References: Message-ID: Hi, Ian Solo schrieb: > Hi, > > Steffen Kamper wrote: >> i found the readson, icon path is set by >> t3lib_div::getIndpEnv('TYPO3_SITE_URL'), generated path will be >> gfx/http://... >> >> as it is used in inline-css it has to be relative, so correct path >> would be >> $iconPath = '../../uploads/tx_templavoila/'; >> not nice i know, do you have a better idea? > > What about make a left trim of the first 4 characters? > Too bad hack? :P > > Regards, > ian > yes, bad hack :-) look to t3lib_TCEforms:getIcon path is calculated correct when it starts with ../ vg Steffen From dmitry at typo3.org Mon Mar 9 16:26:22 2009 From: dmitry at typo3.org (Dmitry Dulepov) Date: Mon, 09 Mar 2009 17:26:22 +0200 Subject: [TYPO3-templavoila] Thumb generation of DS and TO previewIcon In-Reply-To: References: Message-ID: Hi! Patrick Gaumond wrote: > This is the feature that "disappeared" in recent TV trunk. > > I've added this text to bug 10643. I still see icons for TOs in my test installation. -- Dmitry Dulepov TYPO3 core team http://dmitry-dulepov.com/ From dmitry at typo3.org Mon Mar 9 16:27:15 2009 From: dmitry at typo3.org (Dmitry Dulepov) Date: Mon, 09 Mar 2009 17:27:15 +0200 Subject: [TYPO3-templavoila] Thumb generation of DS and TO previewIcon In-Reply-To: References: Message-ID: Hi! Steffen Kamper wrote: > yes, by checking "enable.selectDataSource" the DS-Selector appears again. > But there are no preview icons as before. > I compare the TCA-setting to version before and look if i find the reason. Is it TV or core problem? -- Dmitry Dulepov TYPO3 core team http://dmitry-dulepov.com/ From info at sk-typo3.de Mon Mar 9 16:38:33 2009 From: info at sk-typo3.de (Steffen Kamper) Date: Mon, 09 Mar 2009 16:38:33 +0100 Subject: [TYPO3-templavoila] Thumb generation of DS and TO previewIcon In-Reply-To: References: Message-ID: Hi, Dmitry Dulepov schrieb: > Hi! > > Steffen Kamper wrote: >> yes, by checking "enable.selectDataSource" the DS-Selector appears again. >> But there are no preview icons as before. >> I compare the TCA-setting to version before and look if i find the reason. > > Is it TV or core problem? > it's TV, see class.tx_templavoila_handlestaticdatastructures.php icons with absolute path will be prefixed with gfx/ so path need to start with ../ see also tceforms::getIcon vg Steffen From info at sk-typo3.de Mon Mar 9 16:41:47 2009 From: info at sk-typo3.de (Steffen Kamper) Date: Mon, 09 Mar 2009 16:41:47 +0100 Subject: [TYPO3-templavoila] Thumb generation of DS and TO previewIcon In-Reply-To: References: Message-ID: Hi, i uploaded a working patch in http://bugs.typo3.org/view.php?id=10643 vg Steffen From gaumondpatrick-s-p-a-m at hotmail-sp-a-m.com Mon Mar 9 17:48:30 2009 From: gaumondpatrick-s-p-a-m at hotmail-sp-a-m.com (Patrick Gaumond) Date: Mon, 09 Mar 2009 12:48:30 -0400 Subject: [TYPO3-templavoila] Thumb generation of DS and TO previewIcon In-Reply-To: References: Message-ID: Steffen Kamper wrote: > Hi, > > i uploaded a working patch in > http://bugs.typo3.org/view.php?id=10643 Applied patch. Changed nothing. Voil? ! Got the "preview" icons now for my DS or TS in Page properties. In bonus I now have a nice debug message giving me the path to my image on top ! Nice. :) BTW, I also tested using images already in fileadmin instead of uploading them in /uploads/tx_templavoila/ and it works fine too. Patrick From gaumondpatrick-s-p-a-m at hotmail-sp-a-m.com Mon Mar 9 17:59:03 2009 From: gaumondpatrick-s-p-a-m at hotmail-sp-a-m.com (Patrick Gaumond) Date: Mon, 09 Mar 2009 12:59:03 -0400 Subject: [TYPO3-templavoila] Thumb generation of DS and TO previewIcon In-Reply-To: References: Message-ID: Steffen Kamper wrote: > Now you have the possibility to set these preview icons to thumbs > (pageTS or userTS) > mod.web_txtemplavoilaM2 { > dsPreviewIconThumb = 1 > toPreviewIconThumb = 1 > } > will resize the previewIcons to standard BE thumb size (which is 56x56) This setting in UserTS for a BE user (admin) doesn't work here... Same for PageTS. My image is 131x202 in page properties (original dimension of the file in fileadmin). But 56x36 in the DS record itself. What's the point of resizing if not for the page properties? Or did I misunderstand the feature ? Patrick From dmitry at typo3.org Mon Mar 9 19:41:04 2009 From: dmitry at typo3.org (Dmitry Dulepov) Date: Mon, 09 Mar 2009 20:41:04 +0200 Subject: [TYPO3-templavoila] Thumb generation of DS and TO previewIcon In-Reply-To: References: Message-ID: Hi! Steffen Kamper wrote: > it's TV, see class.tx_templavoila_handlestaticdatastructures.php > > icons with absolute path will be prefixed with gfx/ > so path need to start with ../ > see also tceforms::getIcon Hmmm. I wonder how it worked for me... :( -- Dmitry Dulepov TYPO3 core team http://dmitry-dulepov.com/ From info at sk-typo3.de Mon Mar 9 20:37:33 2009 From: info at sk-typo3.de (Steffen Kamper) Date: Mon, 09 Mar 2009 20:37:33 +0100 Subject: [TYPO3-templavoila] Thumb generation of DS and TO previewIcon In-Reply-To: References: Message-ID: Hi, Patrick Gaumond schrieb: > Steffen Kamper wrote: >> Hi, >> >> i uploaded a working patch in >> http://bugs.typo3.org/view.php?id=10643 > > Applied patch. Changed nothing. Voil? ! Got the "preview" icons now for > my DS or TS in Page properties. > > In bonus I now have a nice debug message giving me the path to my image > on top ! Nice. :) > > BTW, I also tested using images already in fileadmin instead of > uploading them in /uploads/tx_templavoila/ and it works fine too. > > Patrick yes, how bad ... I exchanged the patch in BT :-) vg Steffen From info at sk-typo3.de Mon Mar 9 20:40:19 2009 From: info at sk-typo3.de (Steffen Kamper) Date: Mon, 09 Mar 2009 20:40:19 +0100 Subject: [TYPO3-templavoila] Thumb generation of DS and TO previewIcon In-Reply-To: References: Message-ID: Hi Patrick, Patrick Gaumond schrieb: > Steffen Kamper wrote: > >> Now you have the possibility to set these preview icons to thumbs >> (pageTS or userTS) > >> mod.web_txtemplavoilaM2 { >> dsPreviewIconThumb = 1 >> toPreviewIconThumb = 1 >> } >> will resize the previewIcons to standard BE thumb size (which is 56x56) > > This setting in UserTS for a BE user (admin) doesn't work here... > Same for PageTS. > > My image is 131x202 in page properties (original dimension of the file > in fileadmin). But 56x36 in the DS record itself. > > What's the point of resizing if not for the page properties? Or did I > misunderstand the feature ? > > Patrick the resize does work in the templavoila module (web>templavoila). It currently doesn't work in any TCAform - means in page properties, tt_content record, ds-record or to-record. This is because missing options in trunk for defining thumbs for select boxes. i try to find a workaround for that. vg Steffen From info at sk-typo3.de Tue Mar 10 09:00:49 2009 From: info at sk-typo3.de (Steffen Kamper) Date: Tue, 10 Mar 2009 09:00:49 +0100 Subject: [TYPO3-templavoila] Thumb generation of DS and TO previewIcon In-Reply-To: References: Message-ID: Hi, i made a patch for core to make resize possible in TCAforms. If you want to support, look to #10645. vg Steffen From thomasr at REMOVETHISlinkfactory.dk Tue Mar 10 22:58:46 2009 From: thomasr at REMOVETHISlinkfactory.dk (Thomas Rehhoff) Date: Tue, 10 Mar 2009 22:58:46 +0100 Subject: [TYPO3-templavoila] templatePath References: Message-ID: "Steffen Kamper" skrev i en meddelelse news:mailman.1.1235764993.19566.typo3-project-templavoila at lists.netfielders.de... > Now you'll see a second list "Template Archive" which shows you all html > files of the configured directories in templatePath. This is a point from > where you can start now and create new DS/TO > > vg Steffen ]) Date: Wed, 11 Mar 2009 00:01:13 +0100 Subject: [TYPO3-templavoila] FCE loses translations after "Create local copy" In-Reply-To: References: Message-ID: Hi Ian, Id like to ask you for a favour: the effect you describe may be related to http://bugs.typo3.org/view.php?id=10165 If you have the possibility to do so, please try patch the suggested in the ticket and report if there is any effect. thnx in advance pekue Ian Solo schrieb: > Hi Steffen > > Steffen Kamper wrote: >>>> Please reread the doc here [1] to be sure using the right concept (i >>>> know language settings are very complex) >>>> >>>> vg Steffen >>>> >>>> [1] >>>> http://typo3.org/documentation/document-library/core-documentation/doc_l10nguide/1.0.0/view/1/3/#id3988857 >>> >>> >>> >>> if you mean the section "Localized TemplaVoila Template Objects" >>> maybe I still did not explain well what this issue is about. >>> >>> The section "Localized TemplaVoila Template Objects" talks about how >>> to create a different Template Object for different languages. So >>> it's something related to the presentation of the data in the frontend. >> >> in the document the different paradigms are explained, so posting this >> link was addressed to all people reading this, may be finding this >> post via google when they struggle with localization. >> > That's right, but the link points to the specific section "Localized > TemplaVoila Template Objects" that is not directly related to this > issue. That's why I did wonder. :) >>> Instead, my issue is related to the management of the data in the >>> backend. >>> >>> Please, can you be so kind to try this step by step in one of your >>> backend? >>> 1. With "TV page module" selected click on a page with at least 1 >>> translation >>> 2. Create new element of type "Regular text element", write something >>> into it and save without closing it. >>> 3. In the dropdown "Language" menu, select a [NEW] language. >>> 4. Save and close document. >>> 5. Click on the button "Create reference" of this just created element >>> 6. In the page three, click on a different page. This page must have >>> set the same translations of the previous page. >>> 7. Click on "Paste element". Now you have a reference to the previous >>> created content element with its translation. >>> 8. Click on "Create local copy" and confirm. >>> >>> Now, in all my installations I end with a copy of the previous >>> created content element but NOT of its translations. >>> >>> Does it happen to you too? >>> >>> Thank you. Regards. >>> Ian >> >> i understand what you mean. What i see is that it's not TV-related but >> core related. >> It seems normal to me that, if you copy an element, it's always >> handled as single record. As you described, the translation is in a >> new record, so i think you have to copy the translations each manually >> too. >> >> It's quite difficult to implement such KI - copy single record/copy >> single record + all translations/copy single record + versionized >> records/ a.s.o. >> >> Do you agree? > I agree! > But the data to achieve this "Create local copy" keeping the > localizations of the record are stored in the database when you "Create > reference" of the record. > So, please correct me if I'm wrong, it is not something impossible to > do. I can't say by myself how much difficult it is to implement cause > I'm just a freelance web designer, not a good programmer, and I never > had the pleasure to debug or take a look inside the code of this great > extension. But, indeed, I trust you. > > Now I know that this is a normal behavior and I think about this issue > as a missing (core or TV) feature. A very useful feature IMHO, cause it > will give much more power to the reference feature of TV. > > Thanks for your attention. > Regards, > ian From ian at webian.it Thu Mar 12 16:19:37 2009 From: ian at webian.it (Ian Solo) Date: Thu, 12 Mar 2009 16:19:37 +0100 Subject: [TYPO3-templavoila] Display FCE template title or icon in TV page module Message-ID: Hi! Is there a way to show the FCE template title or its preview icon in TV page module? By instance: when the editor creates standard content elements ( regular text element; text with images; etc.) there's a little icon just after the language icon. This helps the editor to quickly understand what type each element is. Using the TV repository version 1.3.7, when the editor creates FCE elements, at least in my installations, the icon after the language icon is always the "Regular text element" icon. Using the TV trunk revision 17753, the FCE icon after the language icon is a nice "Lego piece" icon. IMHO, it should be useful if this icon could be customized: - or using a small icon made from the preview icon - or adding a new preview small icon for the TV page module. Another solution to help editors could be to display the FCE template title in the TV page module. Or, better, both the small preview icon and FCE template title could be displayed. Regards, ian From ian at webian.it Thu Mar 12 19:06:33 2009 From: ian at webian.it (Ian Solo) Date: Thu, 12 Mar 2009 19:06:33 +0100 Subject: [TYPO3-templavoila] FCE loses translations after "Create local copy" In-Reply-To: References: Message-ID: Hi Peter, Peter Kuehn [wmdb>] wrote: > Hi Ian, > > Id like to ask you for a favour: > the effect you describe may be related to > http://bugs.typo3.org/view.php?id=10165 > > If you have the possibility to do so, please try patch the suggested > in the ticket and report if there is any effect. I was checking your patch and I have a doubt... I patched t3lib/class.t3lib_tcemain.php with bug_10165_fix1.diff Then I installed the extension T3X_wmdb_rfc10165_demo-1_1_0-z-200901311256.t3x At page 4 of the manual I see 3 relations in the picture of the first record (3,4,5) In my installation, if I edit that record, I don't find the 3 relations. Should I add them manually or is there something wrong? Waiting for further instructions... regards, ian From ian at webian.it Thu Mar 12 19:11:21 2009 From: ian at webian.it (Ian Solo) Date: Thu, 12 Mar 2009 19:11:21 +0100 Subject: [TYPO3-templavoila] FCE loses translations after "Create local copy" In-Reply-To: References: Message-ID: Hi Steffen, Steffen Kamper wrote: > i understand what you mean. What i see is that it's not TV-related but > core related. > It seems normal to me that, if you copy an element, it's always > handled as single record. As you described, the translation is in a > new record, so i think you have to copy the translations each manually > too. > > It's quite difficult to implement such KI - copy single record/copy > single record + all translations/copy single record + versionized > records/ a.s.o. > > Do you agree? > > vg Steffen please, have a look at this bug report: http://bugs.typo3.org/view.php?id=2314 I tested the Philippe's patches and they solve the issue described in this thread. Thanks! ian From dmitry at typo3.org Fri Mar 13 12:30:17 2009 From: dmitry at typo3.org (Dmitry Dulepov) Date: Fri, 13 Mar 2009 13:30:17 +0200 Subject: [TYPO3-templavoila] Display FCE template title or icon in TV page module In-Reply-To: References: Message-ID: Hi! Ian Solo wrote: > Is there a way to show the FCE template title or its preview icon in TV > page module? Not possible. Wouldn't this make the interface more crowded? Probably we can implement it as a TSConfig option (off by default). > Using the TV trunk revision 17753, the FCE icon after the language icon > is a nice "Lego piece" icon. > > IMHO, it should be useful if this icon could be customized: > - or using a small icon made from the preview icon > - or adding a new preview small icon for the TV page module. The idea is good but the icon has to be 16x16. -- Dmitry Dulepov TYPO3 core team http://dmitry-dulepov.com/ From info at sk-typo3.de Fri Mar 13 13:15:45 2009 From: info at sk-typo3.de (Steffen Kamper) Date: Fri, 13 Mar 2009 13:15:45 +0100 Subject: [TYPO3-templavoila] Display FCE template title or icon in TV page module In-Reply-To: References: Message-ID: Hi, Ian Solo schrieb: > Hi! > Is there a way to show the FCE template title or its preview icon in TV > page module? > > By instance: when the editor creates standard content elements ( regular > text element; text with images; etc.) there's a little icon just after > the language icon. > This helps the editor to quickly understand what type each element is. > > Using the TV repository version 1.3.7, when the editor creates FCE > elements, at least in my installations, the icon after the language icon > is always the "Regular text element" icon. > > Using the TV trunk revision 17753, the FCE icon after the language icon > is a nice "Lego piece" icon. > > IMHO, it should be useful if this icon could be customized: > - or using a small icon made from the preview icon > - or adding a new preview small icon for the TV page module. > you mean display i custom icon for each FCE? This will be extra work, as you have to create an icon for special FCE too. thumb the FCE preview icon might be too small to detect whicj one it is. Also i won't add something to the ds record. > Another solution to help editors could be to display the FCE template > title in the TV page module. > Or, better, both the small preview icon and FCE template title could be > displayed. > this would be the best solution imho. vg Steffen From info at sk-typo3.de Fri Mar 13 13:34:28 2009 From: info at sk-typo3.de (Steffen Kamper) Date: Fri, 13 Mar 2009 13:34:28 +0100 Subject: [TYPO3-templavoila] sys_notes Message-ID: Hi, in latest svn the sys_notes are displayed in page module, the same like you have in list module or in classic page module. This is very useful to give editors special instructions on pages. vg Steffen From dmitry at typo3.org Fri Mar 13 13:49:43 2009 From: dmitry at typo3.org (Dmitry Dulepov) Date: Fri, 13 Mar 2009 14:49:43 +0200 Subject: [TYPO3-templavoila] sys_notes In-Reply-To: References: Message-ID: Hi! Steffen Kamper wrote: > in latest svn the sys_notes are displayed in page module, the same like > you have in list module or in classic page module. > > This is very useful to give editors special instructions on pages. Must be switchable, off by default. -- Dmitry Dulepov TYPO3 core team http://dmitry-dulepov.com/ From info at sk-typo3.de Fri Mar 13 13:57:13 2009 From: info at sk-typo3.de (Steffen Kamper) Date: Fri, 13 Mar 2009 13:57:13 +0100 Subject: [TYPO3-templavoila] sys_notes In-Reply-To: References: Message-ID: Hi Dmitry, Dmitry Dulepov schrieb: > Hi! > > Steffen Kamper wrote: >> in latest svn the sys_notes are displayed in page module, the same like >> you have in list module or in classic page module. >> >> This is very useful to give editors special instructions on pages. > > Must be switchable, off by default. > it's shown at end of page, so it doesn't hurt imho. It's not switchable in the other modules, why do you think it should? vg Steffen From ian at webian.it Fri Mar 13 18:59:47 2009 From: ian at webian.it (Ian Solo) Date: Fri, 13 Mar 2009 18:59:47 +0100 Subject: [TYPO3-templavoila] Display FCE template title or icon in TV page module In-Reply-To: References: Message-ID: Hi... Dmitry Dulepov wrote: > Hi! > > Ian Solo wrote: > >> Is there a way to show the FCE template title or its preview icon in TV >> page module? >> > Not possible. Wouldn't this make the interface more crowded? Probably we can implement it as a TSConfig option (off by default). > > Yes, the interface will be a little more crowded. But it's just one row for each FCE (icon + title) and has the good effect to give to the editor useful informations about the FCE. >> Using the TV trunk revision 17753, the FCE icon after the language icon >> is a nice "Lego piece" icon. >> >> IMHO, it should be useful if this icon could be customized: >> - or using a small icon made from the preview icon >> - or adding a new preview small icon for the TV page module. >> > > The idea is good but the icon has to be 16x16. > > Right, as Steffen said in the other post: "This will be extra work, as you have to create an icon for special FCE too. thumb the FCE preview icon might be too small to detect whicj one it is." It's extra work and the icon has to be 16x16 but, as you said, a TSConfig option will give the admin the choose. What about using an ICO format [1] for the preview icons? In the same file you can manage different sizes/graphics for the icon. It's just a suggestion. I guess that it will change a lot in the code and will have compatibility issues with previous version of TV. Regards, ian [1] http://en.wikipedia.org/wiki/ICO_(icon_image_file_format) From dmitry at typo3.org Fri Mar 13 20:33:56 2009 From: dmitry at typo3.org (Dmitry Dulepov) Date: Fri, 13 Mar 2009 21:33:56 +0200 Subject: [TYPO3-templavoila] Display FCE template title or icon in TV page module In-Reply-To: References: Message-ID: Hi! Ian Solo wrote: > What about using an ICO format [1] for the preview icons? In the same > file you can manage different sizes/graphics for the icon. > It's just a suggestion. I guess that it will change a lot in the code > and will have compatibility issues with previous version of TV. As far as I know most browsers cannot display them. This is not a web-style image. -- Dmitry Dulepov TYPO3 core team http://dmitry-dulepov.com/ From ian at webian.it Fri Mar 13 21:13:30 2009 From: ian at webian.it (Ian Solo) Date: Fri, 13 Mar 2009 21:13:30 +0100 Subject: [TYPO3-templavoila] Display FCE template title or icon in TV page module In-Reply-To: References: Message-ID: Hi... Dmitry Dulepov wrote: > Hi! > > Ian Solo wrote: > >> What about using an ICO format [1] for the preview icons? In the same >> file you can manage different sizes/graphics for the icon. >> It's just a suggestion. I guess that it will change a lot in the code >> and will have compatibility issues with previous version of TV. >> > > As far as I know most browsers cannot display them. This is not a web-style image. > > Right! I wrote a piece of nonsense :) Bye!ian From info at sk-typo3.de Sun Mar 15 13:22:37 2009 From: info at sk-typo3.de (Steffen Kamper) Date: Sun, 15 Mar 2009 13:22:37 +0100 Subject: [TYPO3-templavoila] Reconstruction of page module Message-ID: Hi, due some bugs and incomplete integration i will reconstruct the code of page module to get it work proper. To have a transparent history, i will do it in little steps. Please be patient for a while and don't open BT entries for little bugs while this process, i will inform you when it's done. The plans are mostly make the code structure more transparent and fix Bugs/new feature, as they are * drag and drop fix with using be_layout * better display of unused elements (simular to used elements) * drag and drop from/to unused elements * change "unlink" icon as the trash is used for delete * fade in element in unused elements (if unused view is visible) when unlink element I planned to have the process finished within 2 weeks. vg Steffen From lordef at gmail.com Thu Mar 19 22:47:37 2009 From: lordef at gmail.com (=?ISO-8859-1?Q?Fr=E9d=E9ric_Ollivier?=) Date: Thu, 19 Mar 2009 22:47:37 +0100 Subject: [TYPO3-templavoila] Passing FCE field value to userFunc as parameter Message-ID: Hi all, I'm new to this list and quite a newbie in TV so forgive me in advance if the answer is too obvious. I've created a FCE with a field named SKU. In FE, I need to display an image based on this SKU. I thought I could access SKU field using TypoScript in my Setup and pass it to a userFunc but this does not work. Here's my setup : 100 = USER 100 { userFunc = user_functions->showBadge SKUvalue.field = SKU } showBadge returns HTML code depending if stock for SKU is not empty. Is this the good way ? Thanks for your help -- Fredol From info at sk-typo3.de Fri Mar 20 09:46:33 2009 From: info at sk-typo3.de (Steffen Kamper) Date: Fri, 20 Mar 2009 09:46:33 +0100 Subject: [TYPO3-templavoila] Passing FCE field value to userFunc as parameter In-Reply-To: References: Message-ID: Hi, Fr?d?ric Ollivier schrieb: > Hi all, > I'm new to this list and quite a newbie in TV so forgive me in advance if > the answer is too obvious. > welcome ;-) > I've created a FCE with a field named SKU. > > In FE, I need to display an image based on this SKU. > > I thought I could access SKU field using TypoScript in my Setup and pass it > to a userFunc but this does not work. > > Here's my setup : > > 100 = USER 100 { > userFunc = user_functions->showBadge > SKUvalue.field = SKU > } > > showBadge returns HTML code depending if stock for SKU is not empty. > > Is this the good way ? > > Thanks for your help > when you use TS, the fields you have are from current record, and this is the page record. Wen you are in page module of TV, use the page icon, context menu, View: Flexform XML. This is the way TV saves the data to the page, it's in the field tx_templavoila_flex. When you use a userfunc, you should point to this data. There is an extension called best_getflexfield which ables you to use some xpath - syntax in TS, but some you have to do in the userfunc. Also have a look to TV api, which is included in the extension, there are a lot of functions for extracting the content. I would like to say that's easy, but unfortunally it's not. vg Steffen From lordef at gmail.com Fri Mar 20 10:05:16 2009 From: lordef at gmail.com (=?ISO-8859-1?Q?Fr=E9d=E9ric_Ollivier?=) Date: Fri, 20 Mar 2009 10:05:16 +0100 Subject: [TYPO3-templavoila] Passing FCE field value to userFunc as parameter In-Reply-To: References: Message-ID: Thanks for this. I hoped it was easy because I can access this data with this TS : 200 = TEXT 200.field = SKU Then SKU is displayed for each FCE. But no way to pass it to userFunc? Any way, thanks for your help Fredol 2009/3/20 Steffen Kamper > Hi, > > Fr?d?ric Ollivier schrieb: > > Hi all, > > I'm new to this list and quite a newbie in TV so forgive me in advance if > > the answer is too obvious. > > > > welcome ;-) > > > > I've created a FCE with a field named SKU. > > > > In FE, I need to display an image based on this SKU. > > > > I thought I could access SKU field using TypoScript in my Setup and pass > it > > to a userFunc but this does not work. > > > > Here's my setup : > > > > 100 = USER 100 { > > userFunc = user_functions->showBadge > > SKUvalue.field = SKU > > } > > > > showBadge returns HTML code depending if stock for SKU is not empty. > > > > Is this the good way ? > > > > Thanks for your help > > > > when you use TS, the fields you have are from current record, and this > is the page record. Wen you are in page module of TV, use the page icon, > context menu, View: Flexform XML. This is the way TV saves the data to > the page, it's in the field tx_templavoila_flex. > > When you use a userfunc, you should point to this data. There is an > extension called best_getflexfield which ables you to use some xpath - > syntax in TS, but some you have to do in the userfunc. > > Also have a look to TV api, which is included in the extension, there > are a lot of functions for extracting the content. > > I would like to say that's easy, but unfortunally it's not. > > vg Steffen > _______________________________________________ > TYPO3-project-templavoila mailing list > TYPO3-project-templavoila at lists.netfielders.de > http://lists.netfielders.de/cgi-bin/mailman/listinfo/ > typo3-project-templavoila > From info at sk-typo3.de Fri Mar 20 10:10:06 2009 From: info at sk-typo3.de (Steffen Kamper) Date: Fri, 20 Mar 2009 10:10:06 +0100 Subject: [TYPO3-templavoila] Passing FCE field value to userFunc as parameter In-Reply-To: References: Message-ID: Hi, Fr?d?ric Ollivier schrieb: > Thanks for this. > I hoped it was easy because I can access this data with this TS : > > 200 = TEXT > 200.field = SKU > > Then SKU is displayed for each FCE. > > But no way to pass it to userFunc? > > Any way, thanks for your help > > Fredol > have a look to the extension best_getflexfield, there is no manual but a textfile with some examples for usage. vg Steffen From lordef at gmail.com Fri Mar 20 10:30:08 2009 From: lordef at gmail.com (=?ISO-8859-1?Q?Fr=E9d=E9ric_Ollivier?=) Date: Fri, 20 Mar 2009 10:30:08 +0100 Subject: [TYPO3-templavoila] Passing FCE field value to userFunc as parameter In-Reply-To: References: Message-ID: This looks good ! Thanks again Fredol 2009/3/20 Steffen Kamper > Hi, > > Fr?d?ric Ollivier schrieb: > > Thanks for this. > > I hoped it was easy because I can access this data with this TS : > > > > 200 = TEXT > > 200.field = SKU > > > > Then SKU is displayed for each FCE. > > > > But no way to pass it to userFunc? > > > > Any way, thanks for your help > > > > Fredol > > > > have a look to the extension best_getflexfield, there is no manual but a > textfile with some examples for usage. > > vg Steffen > _______________________________________________ > TYPO3-project-templavoila mailing list > TYPO3-project-templavoila at lists.netfielders.de > http://lists.netfielders.de/cgi-bin/mailman/listinfo/ > typo3-project-templavoila > From Felix.Buenemann at gmx.de Fri Mar 20 10:55:21 2009 From: Felix.Buenemann at gmx.de (Felix Buenemann) Date: Fri, 20 Mar 2009 10:55:21 +0100 Subject: [TYPO3-templavoila] Inserting Image<->Link Pairs In-Reply-To: References: Message-ID: Am 03.11.2008 8:52 Uhr, Steffen Kamper schrieb: > Hi, > > I solved it with a section, givving a image field and a link field for > each. > > vg Steffen I have tried Steffen's suggestion using a section, container, one element and one attribute. Using the following (example) html:
I have mapped div#images as a section, the range a[1] to a[2] as the container of elements and created an element "Image" mapping to a:inner of a[1] and "Link" mapping to a:attr:href of a[1]. Now if I try to insert content using the template, the range of a[1] to a[2] gets replaced with nothing instead of one or more image/link pairs. I'm using TV 1.3.7 on T3 4.2.1+secfixes. Regards, Felix Buenemann From info at sk-typo3.de Fri Mar 20 10:59:50 2009 From: info at sk-typo3.de (Steffen Kamper) Date: Fri, 20 Mar 2009 10:59:50 +0100 Subject: [TYPO3-templavoila] Inserting Image<->Link Pairs In-Reply-To: References: Message-ID: Hi, Felix Buenemann schrieb: > Am 03.11.2008 8:52 Uhr, Steffen Kamper schrieb: >> Hi, >> >> I solved it with a section, givving a image field and a link field for >> each. >> >> vg Steffen > > I have tried Steffen's suggestion using a section, container, one > element and one attribute. > > Using the following (example) html: >
> > >
> why 2 images and range? Use one and map it. vg Steffen From info at sk-typo3.de Fri Mar 20 11:06:42 2009 From: info at sk-typo3.de (Steffen Kamper) Date: Fri, 20 Mar 2009 11:06:42 +0100 Subject: [TYPO3-templavoila] Reconstruction of page module In-Reply-To: References: Message-ID: Hi, most of the things are done. I would like to hear your experiences with, please go ahead and play around with it. Details can be found here: http://bugs.typo3.org/view.php?id=10697 vg Steffen From Felix.Buenemann at gmx.de Fri Mar 20 13:24:27 2009 From: Felix.Buenemann at gmx.de (Felix Buenemann) Date: Fri, 20 Mar 2009 13:24:27 +0100 Subject: [TYPO3-templavoila] Inserting Image<->Link Pairs In-Reply-To: References: Message-ID: Hi Steffen, Am 20.03.2009 10:59 Uhr, Steffen Kamper schrieb: > Hi, > > Felix Buenemann schrieb: >> Am 03.11.2008 8:52 Uhr, Steffen Kamper schrieb: >>> Hi, >>> >>> I solved it with a section, givving a image field and a link field for >>> each. >>> >>> vg Steffen >> >> I have tried Steffen's suggestion using a section, container, one >> element and one attribute. >> >> Using the following (example) html: >>
>> >> >>
>> > > why 2 images and range? Use one and map it. Because the design template included several images to illustrate the desired design. I changed the content element to map to a:outer of a[1], which also caused the a tag to be swallowed. It seems to be a bug in TV, as it allows to map the field with a:inner mapping rule inside the content element with a:outer rule. It seems I have to modify the html template and add an enclosing div to solve this. > > vg Steffen Regards, Felix From Felix.Buenemann at gmx.de Fri Mar 20 14:01:38 2009 From: Felix.Buenemann at gmx.de (Felix Buenemann) Date: Fri, 20 Mar 2009 14:01:38 +0100 Subject: [TYPO3-templavoila] Inserting Image<->Link Pairs In-Reply-To: References: Message-ID: Am 20.03.2009 13:24 Uhr, Felix Buenemann schrieb: > Hi Steffen, > > Am 20.03.2009 10:59 Uhr, Steffen Kamper schrieb: >> Hi, >> >> Felix Buenemann schrieb: >>> Am 03.11.2008 8:52 Uhr, Steffen Kamper schrieb: >>>> Hi, >>>> >>>> I solved it with a section, givving a image field and a link field for >>>> each. >>>> >>>> vg Steffen >>> I have tried Steffen's suggestion using a section, container, one >>> element and one attribute. >>> >>> Using the following (example) html: >>>
>>> >>> >>>
>>> >> why 2 images and range? Use one and map it. > Because the design template included several images to illustrate the > desired design. I changed the content element to map to a:outer of a[1], > which also caused the a tag to be swallowed. It seems to be a bug in TV, > as it allows to map the field with a:inner mapping rule inside the > content element with a:outer rule. > It seems I have to modify the html template and add an enclosing div to > solve this. OK, I retried with the following code:
The section was mapped to div#bilder:inner, container element to span:outer, picture element to a:inner, link attribute to a:attr:href. Output:
When mapping container elment to span:inner:
Still no links/pics are shown. > >> vg Steffen > > Regards, > Felix Regards, Felix From info at sk-typo3.de Fri Mar 20 14:04:17 2009 From: info at sk-typo3.de (Steffen Kamper) Date: Fri, 20 Mar 2009 14:04:17 +0100 Subject: [TYPO3-templavoila] Inserting Image<->Link Pairs In-Reply-To: References: Message-ID: Hi, it seems you made a mistake with mapping and used wrong mode (inner/outer) Try the preview in mapping module. vg Steffen From Felix.Buenemann at gmx.de Fri Mar 20 14:44:55 2009 From: Felix.Buenemann at gmx.de (Felix Buenemann) Date: Fri, 20 Mar 2009 14:44:55 +0100 Subject: [TYPO3-templavoila] Inserting Image<->Link Pairs In-Reply-To: References: Message-ID: Hi Steffen, Am 20.03.2009 14:04 Uhr, Steffen Kamper schrieb: > Hi, > > it seems you made a mistake with mapping and used wrong mode (inner/outer) > > Try the preview in mapping module. I found the problem. It seems TV didn't like that I reconfigured old field from a previous template. I deleted the section container, saved the template. Then modified it adding back in the section container, container element and the rest and now it works. > > vg Steffen Regards, Felix From gaumondpatrick-s-p-a-m at hotmail-sp-a-m.com Fri Mar 20 15:41:41 2009 From: gaumondpatrick-s-p-a-m at hotmail-sp-a-m.com (Patrick Gaumond) Date: Fri, 20 Mar 2009 10:41:41 -0400 Subject: [TYPO3-templavoila] Reconstruction of page module In-Reply-To: References: Message-ID: Steffen Kamper wrote: > most of the things are done. I would like to hear your experiences with, > please go ahead and play around with it. > > Details can be found here: > http://bugs.typo3.org/view.php?id=10697 Will the final released version (I presume it will be 2 or 1.4 at least) of TV will require TYPO3 4.3 ? One thing I really like in RTEhtmlarea changelog is mention of compatibility with TYPO3 version. I know in this case that it's a sysext but still, I think it's a good practice to specify end of compatibility on release even if it's supposed to be handle with dependency field. That helps choose version since the dependency field is always for current TER version... Patrick From gaumondpatrick-s-p-a-m at hotmail-sp-a-m.com Fri Mar 20 15:58:03 2009 From: gaumondpatrick-s-p-a-m at hotmail-sp-a-m.com (Patrick Gaumond) Date: Fri, 20 Mar 2009 10:58:03 -0400 Subject: [TYPO3-templavoila] Reconstruction of page module In-Reply-To: References: Message-ID: Steffen Kamper wrote: I was wondering. Is it a good or suggested method to change version number of extension while in progress to separate it from the current version? I mean having "version 1.4-dev", "1.4.000" or something. Patrick, trying trunk of TV on IIS at this very moment... From Felix.Buenemann at gmx.de Fri Mar 20 16:02:31 2009 From: Felix.Buenemann at gmx.de (Felix Buenemann) Date: Fri, 20 Mar 2009 16:02:31 +0100 Subject: [TYPO3-templavoila] Inserting Image<->Link Pairs In-Reply-To: References: Message-ID: Hi, Am 20.03.2009 14:44 Uhr, Felix Buenemann schrieb: > Hi Steffen, > > Am 20.03.2009 14:04 Uhr, Steffen Kamper schrieb: >> Hi, >> >> it seems you made a mistake with mapping and used wrong mode (inner/outer) >> >> Try the preview in mapping module. > > I found the problem. It seems TV didn't like that I reconfigured old > field from a previous template. I deleted the section container, saved > the template. Then modified it adding back in the section container, > container element and the rest and now it works. Hmm, on a closer view it's still buggy. As soon as I map the image field to either a:inner or img:outer, it'll output the tag twice. Mapping only a:attr:href of a: Also mapping image to a:inner or img:outer: Regards, Felix From Felix.Buenemann at gmx.de Fri Mar 20 18:10:50 2009 From: Felix.Buenemann at gmx.de (Felix Buenemann) Date: Fri, 20 Mar 2009 18:10:50 +0100 Subject: [TYPO3-templavoila] Inserting Image<->Link Pairs In-Reply-To: References: Message-ID: Problem solved. Am 20.03.2009 16:02 Uhr, Felix Buenemann schrieb: > Hi, > > Am 20.03.2009 14:44 Uhr, Felix Buenemann schrieb: >> Hi Steffen, >> >> Am 20.03.2009 14:04 Uhr, Steffen Kamper schrieb: >>> Hi, >>> >>> it seems you made a mistake with mapping and used wrong mode (inner/outer) >>> >>> Try the preview in mapping module. >> I found the problem. It seems TV didn't like that I reconfigured old >> field from a previous template. I deleted the section container, saved >> the template. Then modified it adding back in the section container, >> container element and the rest and now it works. > > Hmm, on a closer view it's still buggy. As soon as I map the image field > to either a:inner or img:outer, it'll output the tag twice. > > Mapping only a:attr:href of a: >
> >
> > Also mapping image to a:inner or img:outer: >
> > >
Looking at the datastructure xml I noticed that - for some obscure reason - TV had inserted the following code inside the TypoScript for the image field: 10.stdWrap.typolink.parameter.field = field_link This was what generated the duplicate a tag. So to solve the problem I switched my link field from "attribute" to "not mapped" and I was done. Regards, Felix From info at sk-typo3.de Fri Mar 20 19:16:39 2009 From: info at sk-typo3.de (Steffen Kamper) Date: Fri, 20 Mar 2009 19:16:39 +0100 Subject: [TYPO3-templavoila] Reconstruction of page module In-Reply-To: References: Message-ID: Hi, Patrick Gaumond schrieb: > Steffen Kamper wrote: > >> most of the things are done. I would like to hear your experiences >> with, please go ahead and play around with it. >> >> Details can be found here: >> http://bugs.typo3.org/view.php?id=10697 > > Will the final released version (I presume it will be 2 or 1.4 at least) > of TV will require TYPO3 4.3 ? > no, not at all. It should work wit 4.x > One thing I really like in RTEhtmlarea changelog is mention of > compatibility with TYPO3 version. I know in this case that it's a sysext > but still, I think it's a good practice to specify end of compatibility > on release even if it's supposed to be handle with dependency field. > That helps choose version since the dependency field is always for > current TER version... > > Patrick extensions are different to core, the version will be raised on a release (1.3.7 => 1.3.8) - but you'll know if you run the svn version ;-) Thanks for testing on a such extravagant server :-) vg Steffen From dmitry at typo3.org Fri Mar 20 20:17:02 2009 From: dmitry at typo3.org (Dmitry Dulepov) Date: Fri, 20 Mar 2009 22:17:02 +0300 Subject: [TYPO3-templavoila] Passing FCE field value to userFunc as parameter In-Reply-To: References: Message-ID: Hi! Fr?d?ric Ollivier wrote: > I've created a FCE with a field named SKU. > > In FE, I need to display an image based on this SKU. > > I thought I could access SKU field using TypoScript in my Setup and pass it > to a userFunc but this does not work. Yes, you can do it. For example, content elements are fetched this way. Here is TS for the content elements that TemplaVoila generates: 10 = RECORDS 10.source.current=1 10.tables = tt_content Try dumping $this->cObj->data and see what you got there. -- Dmitry Dulepov TYPO3 core team http://dmitry-dulepov.com/article/typo3-extension-update-google-sitemap.html From dmitry at typo3.org Fri Mar 20 20:18:03 2009 From: dmitry at typo3.org (Dmitry Dulepov) Date: Fri, 20 Mar 2009 22:18:03 +0300 Subject: [TYPO3-templavoila] Reconstruction of page module In-Reply-To: References: Message-ID: Hi! Patrick Gaumond wrote: > Will the final released version (I presume it will be 2 or 1.4 at least) > of TV will require TYPO3 4.3 ? It will require 4.2. 4.1 will not be supported any more. -- Dmitry Dulepov TYPO3 core team http://dmitry-dulepov.com/article/typo3-extension-update-google-sitemap.html From dmitry at typo3.org Fri Mar 20 21:30:15 2009 From: dmitry at typo3.org (Dmitry Dulepov) Date: Fri, 20 Mar 2009 23:30:15 +0300 Subject: [TYPO3-templavoila] Passing FCE field value to userFunc as parameter In-Reply-To: References: Message-ID: Hi again! Dmitry Dulepov wrote: > Fr?d?ric Ollivier wrote: >> I've created a FCE with a field named SKU. >> >> In FE, I need to display an image based on this SKU. >> >> I thought I could access SKU field using TypoScript in my Setup and pass it >> to a userFunc but this does not work. > > Yes, you can do it. For example, content elements are fetched this way. Here is TS for the content elements that TemplaVoila generates: > > 10 = RECORDS > 10.source.current=1 > 10.tables = tt_content > > Try dumping $this->cObj->data and see what you got there. I just made a demo of it. My user function looks like: =================== cObj->stdWrap($content, $conf['stdWrap.']); } } ?> ==================== DS looks like: ==================== 1 ROOT Select the HTML element on the page which you want to be the overall container element for the template. array Field 1 input 1 input 48 trim Field 2 none main stdWrap.field = field_1 stdWrap.noTrimWrap = |The value of field_1 is: || } ]]> ==================== It works well. You get t3d export and PHP file at http://privatepaste.com/download/3bwjjbn11Q Is this what you were looking for? -- Dmitry Dulepov TYPO3 core team http://dmitry-dulepov.com/article/typo3-extension-update-google-sitemap.html From lordef at gmail.com Sat Mar 21 17:51:41 2009 From: lordef at gmail.com (=?ISO-8859-1?Q?Fr=E9d=E9ric_Ollivier?=) Date: Sat, 21 Mar 2009 17:51:41 +0100 Subject: [TYPO3-templavoila] Passing FCE field value to userFunc as parameter In-Reply-To: References: Message-ID: Hi This is exactly what I'd like to do. Thanks a lot ! When I try your demo, userFunc is not processed. Where do I put it ? I send it at fileadmin root. Fredol 2009/3/20 Dmitry Dulepov > Hi again! > > Dmitry Dulepov wrote: > > Fr?d?ric Ollivier wrote: > >> I've created a FCE with a field named SKU. > >> > >> In FE, I need to display an image based on this SKU. > >> > >> I thought I could access SKU field using TypoScript in my Setup and pass > it > >> to a userFunc but this does not work. > > > > Yes, you can do it. For example, content elements are fetched this way. > Here is TS for the content elements that TemplaVoila generates: > > > > 10 = RECORDS > > 10.source.current=1 > > 10.tables = tt_content > > > > Try dumping $this->cObj->data and see what you got there. > > I just made a demo of it. My user function looks like: > > =================== > > class user_testfunc { > > function main($content, $conf) { > return $this->cObj->stdWrap($content, $conf['stdWrap.']); > } > > } > > ?> > ==================== > > DS looks like: > ==================== > > > > 1 > > > > ROOT > Select the HTML element on the page > which you want to be the overall container element for the > template. > > array > > > > Field 1 > > index="0"> > > input > > > 1 > > > > > > input > 48 > trim > > > > > > Field 2 > > index="0"> > > none > 10 = USER > 10 { > userFunc = user_testfunc->main > stdWrap.field = field_1 > stdWrap.noTrimWrap = |The value of field_1 is: || > } > ]]> > > > > > > > > > ==================== > > It works well. You get t3d export and PHP file at > http://privatepaste.com/download/3bwjjbn11Q > > Is this what you were looking for? > > -- > Dmitry Dulepov > TYPO3 core team > > http://dmitry-dulepov.com/article/typo3-extension-update-google-sitemap.html > _______________________________________________ > TYPO3-project-templavoila mailing list > TYPO3-project-templavoila at lists.netfielders.de > > http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-project-templavoila > From gaumondpatrick-s-p-a-m at hotmail-sp-a-m.com Sat Mar 21 22:30:30 2009 From: gaumondpatrick-s-p-a-m at hotmail-sp-a-m.com (Patrick Gaumond) Date: Sat, 21 Mar 2009 17:30:30 -0400 Subject: [TYPO3-templavoila] Comments on TV trunk Message-ID: Report so far on latest: 1. While creating DS element, after the "Add" button is clicked, I was expecting to see the form "closed". Maybe show: "Add and continue configuration" (actual behavior) and "Add and close" (old way) and even a "Cancel" button? 2. Saving TS object path (from lib.myObject -> lib.myheader) gets reverted (to lib.myObject) using the "update" button. 3. Feature request: A "TV" icon added at the right of the pencil in the TV-Control Center. When selecting a TO to modify, it's a bit annoying to have to use the contextual menu. The pencil gives a "record view", but no way to get the "Template mapping" view. I'm using: TYPO3 4.2.6 TV trunk from yesterday IIS 5.1, RealURL Running under FF3 Windows with cache disable. Patrick From dmitry at typo3.org Sun Mar 22 17:39:25 2009 From: dmitry at typo3.org (Dmitry Dulepov) Date: Sun, 22 Mar 2009 19:39:25 +0300 Subject: [TYPO3-templavoila] Comments on TV trunk In-Reply-To: References: Message-ID: Hi! Patrick Gaumond wrote: > Report so far on latest: To the bug tracker, please :) -- Dmitry Dulepov TYPO3 core team http://dmitry-dulepov.com/article/typo3-extension-update-google-sitemap.html From dmitry at typo3.org Sun Mar 22 17:40:33 2009 From: dmitry at typo3.org (Dmitry Dulepov) Date: Sun, 22 Mar 2009 19:40:33 +0300 Subject: [TYPO3-templavoila] Passing FCE field value to userFunc as parameter In-Reply-To: References: Message-ID: Hi! Fr?d?ric Ollivier wrote: > When I try your demo, userFunc is not processed. Where do I put it ? I send > it at fileadmin root. You need to add "includeLibs.user_testfunc = fileadmin/path/to/user_testfunc.php" to your TS setup. -- Dmitry Dulepov TYPO3 core team http://dmitry-dulepov.com/article/typo3-extension-update-google-sitemap.html From lordef at gmail.com Sun Mar 22 19:49:24 2009 From: lordef at gmail.com (=?ISO-8859-1?Q?Fr=E9d=E9ric_Ollivier?=) Date: Sun, 22 Mar 2009 19:49:24 +0100 Subject: [TYPO3-templavoila] Passing FCE field value to userFunc as parameter In-Reply-To: References: Message-ID: Hi Dimitri This works perfectly well !! Many thanks Fredol 2009/3/22 Dmitry Dulepov > Hi! > > Fr?d?ric Ollivier wrote: > > When I try your demo, userFunc is not processed. Where do I put it ? I > send > > it at fileadmin root. > > You need to add "includeLibs.user_testfunc = > fileadmin/path/to/user_testfunc.php" to your TS setup. > > -- > Dmitry Dulepov > TYPO3 core team > > http://dmitry-dulepov.com/article/typo3-extension-update-google-sitemap.html > _______________________________________________ > TYPO3-project-templavoila mailing list > TYPO3-project-templavoila at lists.netfielders.de > > http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-project-templavoila > From typo3 at perseguers.ch Mon Mar 23 07:16:04 2009 From: typo3 at perseguers.ch (Xavier Perseguers) Date: Mon, 23 Mar 2009 07:16:04 +0100 Subject: [TYPO3-templavoila] RFC #9465: Additional hook to allow user postprocessing of available languages for translation In-Reply-To: References: Message-ID: Hi there, >>>> Imho mod.SHARED isn't the right place to influence the page module, it >>>> should be >>>> mod.web_txtemplavoilaM1 >> >> SHARED. It is already used, for example, for the default language flag >> because of the same reason: shared info between TV and core. > > This was my idea even before thinking to change core (btw thanks to > Steffen to asking to do this to core too). > >>> However, if the patch for core list has no high chance to be committed >>> "in conjunction" with this patch, it's OK for me to use >>> mod.web_txtemplavoilaM1 as I really need this patch and I use TV anyway >>> :-) I just wanted to unify core and TV handling of this new feature. >> >> I can't look at your core patch right now but I eventually will. If >> Steffen is ok with TV patch, may be he can give his +1 to the core >> patch too. Patch for core is just waiting someone to commit as mandatory +1's were given. Then the TV patch may be committed too. Thanks -- Xavier Perseguers http://xavier.perseguers.ch/en One contribution a day keeps the fork away From bwijbenga at chello.nl Tue Mar 24 10:15:10 2009 From: bwijbenga at chello.nl (Barbara Wijbenga) Date: Tue, 24 Mar 2009 10:15:10 +0100 Subject: [TYPO3-templavoila] FCE - link inside of

Message-ID: Hi all. I just started using Flexible Content Elements, and I don't get all of it yet. I can make a layout of two columns, but this I can't: This is the HTML template: ------------------------------
title
text
------------------------------ The href is being filled with an Attr. field. I want an

around the . If I use "wrap=

|

" in the DS, the

ends up inside the tags. This is obviously not what I want. And when the href Attr. field isn't filled, the tag shouldn't be made at all. That's why I started with this: ------------------------------

title

text

------------------------------ But this way, I have no idea how to get the
inside of the

. What is the best solution for this? Thanks, Barbara From laudenbach at agentur-brandung.de Tue Mar 24 10:36:42 2009 From: laudenbach at agentur-brandung.de (Dennis Laudenbach) Date: Tue, 24 Mar 2009 10:36:42 +0100 Subject: [TYPO3-templavoila] FCE - link inside of

In-Reply-To: <762E0BD0688041BEA495E0D10676727D@brandung.local> Message-ID: Hi Barbara, if you use:

title

text

You can wrap the

as element, create another element for the link (not mapped) and refer in the TypoScript of the

to the link. 10 = TEXT 10.current = 1 10.typolink.parameter.field = ###linkfield### Please replace ###linkfield### with the correct name. Ciao, Daniz -----Urspr?ngliche Nachricht----- Von: typo3-project-templavoila-bounces at lists.netfielders.de [mailto:typo3-project-templavoila-bounces at lists.netfielders.de] Im Auftrag von Barbara Wijbenga Gesendet: Dienstag, 24. M?rz 2009 10:31 An: typo3-project-templavoila at lists.netfielders.de Betreff: [TYPO3-templavoila] FCE - link inside of

Hi all. I just started using Flexible Content Elements, and I don't get all of it yet. I can make a layout of two columns, but this I can't: This is the HTML template: ------------------------------
title
text
------------------------------ The href is being filled with an Attr. field. I want an

around the . If I use "wrap=

|

" in the DS, the

ends up inside the tags. This is obviously not what I want. And when the href Attr. field isn't filled, the tag shouldn't be made at all. That's why I started with this: ------------------------------

title

text

------------------------------ But this way, I have no idea how to get the
inside of the

. What is the best solution for this? Thanks, Barbara _______________________________________________ TYPO3-project-templavoila mailing list TYPO3-project-templavoila at lists.netfielders.de http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-project-templavoila From bwijbenga at chello.nl Tue Mar 24 11:52:25 2009 From: bwijbenga at chello.nl (Barbara Wijbenga) Date: Tue, 24 Mar 2009 11:52:25 +0100 Subject: [TYPO3-templavoila] FCE - link inside of

In-Reply-To: References: <762E0BD0688041BEA495E0D10676727D@brandung.local> Message-ID: Thanks! You've been a very big help! The only thing now is that the link is made in normal text and not in HTML (I get "

<a href="downloads/" title="Downloads" target="_top" >Downloads</a>

") 10 = TEXT 10.current = 1 10.typolink.parameter.field = field_link I don't have 10.htmlSpecialChars on. Why doesn't this work the way I want to? Greetings, Barbara "Dennis Laudenbach" schreef in bericht news:mailman.3167.1237887409.27889.typo3-project-templavoila at lists.netfielders.de... Hi Barbara, if you use:

title

text

You can wrap the

as element, create another element for the link (not mapped) and refer in the TypoScript of the

to the link. 10 = TEXT 10.current = 1 10.typolink.parameter.field = ###linkfield### Please replace ###linkfield### with the correct name. Ciao, Daniz -----Urspr?ngliche Nachricht----- Von: typo3-project-templavoila-bounces at lists.netfielders.de [mailto:typo3-project-templavoila-bounces at lists.netfielders.de] Im Auftrag von Barbara Wijbenga Gesendet: Dienstag, 24. M?rz 2009 10:31 An: typo3-project-templavoila at lists.netfielders.de Betreff: [TYPO3-templavoila] FCE - link inside of

Hi all. I just started using Flexible Content Elements, and I don't get all of it yet. I can make a layout of two columns, but this I can't: This is the HTML template: ------------------------------
title
text
------------------------------ The href is being filled with an Attr. field. I want an

around the . If I use "wrap=

|

" in the DS, the

ends up inside the tags. This is obviously not what I want. And when the href Attr. field isn't filled, the tag shouldn't be made at all. That's why I started with this: ------------------------------

title

text

------------------------------ But this way, I have no idea how to get the
inside of the

. What is the best solution for this? Thanks, Barbara _______________________________________________ TYPO3-project-templavoila mailing list TYPO3-project-templavoila at lists.netfielders.de http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-project-templavoila From laudenbach at agentur-brandung.de Tue Mar 24 12:07:31 2009 From: laudenbach at agentur-brandung.de (Dennis Laudenbach) Date: Tue, 24 Mar 2009 12:07:31 +0100 Subject: [TYPO3-templavoila] FCE - link inside of

In-Reply-To: <03460713AD4246A09A3960F0E04FA790@brandung.local> Message-ID: No Problem! You have to put your Typoscript in a cdata-wrap: Ciao, Daniz -----Urspr?ngliche Nachricht----- Von: typo3-project-templavoila-bounces at lists.netfielders.de [mailto:typo3-project-templavoila-bounces at lists.netfielders.de] Im Auftrag von Barbara Wijbenga Gesendet: Dienstag, 24. M?rz 2009 12:01 An: typo3-project-templavoila at lists.netfielders.de Betreff: Re: [TYPO3-templavoila] FCE - link inside of

Thanks! You've been a very big help! The only thing now is that the link is made in normal text and not in HTML (I get "

<a href="downloads/" title="Downloads" target="_top" >Downloads</a>

") 10 = TEXT 10.current = 1 10.typolink.parameter.field = field_link I don't have 10.htmlSpecialChars on. Why doesn't this work the way I want to? Greetings, Barbara "Dennis Laudenbach" schreef in bericht news:mailman.3167.1237887409.27889.typo3-project-templavoila at lists.netfielders.de... Hi Barbara, if you use:

title

text

You can wrap the

as element, create another element for the link (not mapped) and refer in the TypoScript of the

to the link. 10 = TEXT 10.current = 1 10.typolink.parameter.field = ###linkfield### Please replace ###linkfield### with the correct name. Ciao, Daniz -----Urspr?ngliche Nachricht----- Von: typo3-project-templavoila-bounces at lists.netfielders.de [mailto:typo3-project-templavoila-bounces at lists.netfielders.de] Im Auftrag von Barbara Wijbenga Gesendet: Dienstag, 24. M?rz 2009 10:31 An: typo3-project-templavoila at lists.netfielders.de Betreff: [TYPO3-templavoila] FCE - link inside of

Hi all. I just started using Flexible Content Elements, and I don't get all of it yet. I can make a layout of two columns, but this I can't: This is the HTML template: ------------------------------
title
text
------------------------------ The href is being filled with an Attr. field. I want an

around the . If I use "wrap=

|

" in the DS, the

ends up inside the tags. This is obviously not what I want. And when the href Attr. field isn't filled, the tag shouldn't be made at all. That's why I started with this: ------------------------------

title

text

------------------------------ But this way, I have no idea how to get the
inside of the

. What is the best solution for this? Thanks, Barbara _______________________________________________ TYPO3-project-templavoila mailing list TYPO3-project-templavoila at lists.netfielders.de http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-project-templavoila _______________________________________________ TYPO3-project-templavoila mailing list TYPO3-project-templavoila at lists.netfielders.de http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-project-templavoila From info at sk-typo3.de Tue Mar 24 12:07:56 2009 From: info at sk-typo3.de (Steffen Kamper) Date: Tue, 24 Mar 2009 12:07:56 +0100 Subject: [TYPO3-templavoila] FCE - link inside of

In-Reply-To: References: <762E0BD0688041BEA495E0D10676727D@brandung.local> Message-ID: Hi, look in DS for 1 and change it to 0 vg Steffen Barbara Wijbenga schrieb: > Thanks! > > You've been a very big help! > > The only thing now is that the link is made in normal text and not in > HTML (I get "

<a href="downloads/" > title="Downloads" target="_top" > >Downloads</a>

") > > 10 = TEXT > 10.current = 1 > 10.typolink.parameter.field = field_link > > I don't have 10.htmlSpecialChars on. Why doesn't this work the way I > want to? > > Greetings, > Barbara > > > "Dennis Laudenbach" schreef in bericht > news:mailman.3167.1237887409.27889.typo3-project-templavoila at lists.netfielders.de... > > > Hi Barbara, > > if you use: > >
>

title

>
text
>

> > You can wrap the

as element, > create another element for the link (not mapped) > and refer in the TypoScript of the

to the link. > > 10 = TEXT > 10.current = 1 > 10.typolink.parameter.field = ###linkfield### > > Please replace ###linkfield### with the correct name. > > Ciao, > Daniz > > > > > -----Urspr?ngliche Nachricht----- > Von: typo3-project-templavoila-bounces at lists.netfielders.de > [mailto:typo3-project-templavoila-bounces at lists.netfielders.de] Im > Auftrag von Barbara Wijbenga > Gesendet: Dienstag, 24. M?rz 2009 10:31 > An: typo3-project-templavoila at lists.netfielders.de > Betreff: [TYPO3-templavoila] FCE - link inside of

> > Hi all. > > I just started using Flexible Content Elements, and I don't get all of > it yet. I can make a layout of two columns, but this I can't: > > This is the HTML template: > > ------------------------------ >
> title >
text
>
> ------------------------------ > > The href is being filled with an Attr. field. > I want an

around the . > If I use "wrap=

|

" in the DS, the

ends up inside the tags. > This is obviously not what I want. > > And when the href Attr. field isn't filled, the tag shouldn't be > made at all. > That's why I started with this: > > ------------------------------ >
>

title

>
text
>

> ------------------------------ > > But this way, I have no idea how to get the
inside of the

. > > What is the best solution for this? > > Thanks, > Barbara > > _______________________________________________ > TYPO3-project-templavoila mailing list > TYPO3-project-templavoila at lists.netfielders.de > http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-project-templavoila > > > From thomasr at linkfactory.dk Tue Mar 24 12:59:47 2009 From: thomasr at linkfactory.dk (Thomas Rehhoff) Date: Tue, 24 Mar 2009 12:59:47 +0100 Subject: [TYPO3-templavoila] New mapping module In-Reply-To: References: Message-ID: Hi Steffen, it's starting to look really good (using revision: 18253) One thing for the TV intreface when building a DS: Clicking on an existing Data Element in the DS, makes the buttons for "Update" and "Cancel/close" appear to the far right. I think it would be better to position those directly underneath the Data Element instead. I know this is a small thing, but I think they are to far away from the action. There's a nice HCI word for it which I can't remember, but the principle is, to put buttons/interactions close to where the action is. Best Thomas Rehhoff Steffen Kamper wrote: > Hi, > > Thomas Rehhoff schrieb: >> But, I think there's one drawback and that is that creating >> data-elements now involves more clicking on the "update" and "close" >> button than before, in order to get the "map" button to appear and that >> say, for instance when creating a Typoscript Object Path, you have to >> click on the "update" in order to get the "extra functions" field" and >> then click on that, in order to get to input field for the Object path. >> Would it be possible instead to have that appear as in the original >> module under the "Element preset" in the "Configuration"-tab? That would >> make it both quicker to work with and more accessible. >> and to get the "Map" button to appear without having to hit the "Close" >> button" - that's how it works up until version 1.3.7 >> >> All the best >> Thomas >> > > i raised usability now as the mapping-links and commands are shown while > edit a field, so you don't have to close edit. Also edit stay while > (re)mapping or viewing. > This saves some extra clicks. > > vg Steffen -- Venlig hilsen Thomas Rehhoff, Webkonsulent Linkfactory | + 45 70 22 23 22 Direkte Nummer: +45 36 93 88 32 Mail: thomasr at linkfactory.dk TYPO3 Open Source CMS - Enterprise CMS uden licensomkostninger, l?s mere p? www.linkfactory.dk From news.netfielders.de at digilog.de Tue Mar 24 14:02:08 2009 From: news.netfielders.de at digilog.de (Joerg Wagner [DigiLog]) Date: Tue, 24 Mar 2009 14:02:08 +0100 Subject: [TYPO3-templavoila] Change orientation of multiple content areas in TV page module Message-ID: Hello all! I have a TV template with multiple content areas on the same page. Problem is that in page module these areas are all shown side by side (like multiple columns), which makes the horizontal space for each area rather small and does not at all reflect the positioning on my final page. Is there a way to change the side-by-side display of multiple CEs in TV page module? Showing CEs areas below each other would help a lot. Even better would be the possibility to organize them freely (side-by-side and above-below as needed). Thanks for any hints into the right direction. Cheers J?rg. From laudenbach at agentur-brandung.de Tue Mar 24 14:39:01 2009 From: laudenbach at agentur-brandung.de (Dennis Laudenbach) Date: Tue, 24 Mar 2009 14:39:01 +0100 Subject: [TYPO3-templavoila] Change orientation of multiple content areas inTV page module In-Reply-To: <58DCE83E8759446FAE965753A5ABBFD9@brandung.local> Message-ID: Hi J?rg, you can change the Design of the backend by extending the DS for the site, i.E.: ###field_inhaltoben### ###field_inhaltlinks### ###field_inhaltmitte### ###field_inhaltrechts### ]]> Take a look at http://www.typo3.net/index.php?id=13&action=list_post&code_numbering=0&tid=59423&page= Ciao, Daniz -----Urspr?ngliche Nachricht----- Von: typo3-project-templavoila-bounces at lists.netfielders.de [mailto:typo3-project-templavoila-bounces at lists.netfielders.de] Im Auftrag von Joerg Wagner [DigiLog] Gesendet: Dienstag, 24. M?rz 2009 14:15 An: typo3-project-templavoila at lists.netfielders.de Betreff: [TYPO3-templavoila] Change orientation of multiple content areas inTV page module Hello all! I have a TV template with multiple content areas on the same page. Problem is that in page module these areas are all shown side by side (like multiple columns), which makes the horizontal space for each area rather small and does not at all reflect the positioning on my final page. Is there a way to change the side-by-side display of multiple CEs in TV page module? Showing CEs areas below each other would help a lot. Even better would be the possibility to organize them freely (side-by-side and above-below as needed). Thanks for any hints into the right direction. Cheers J?rg. _______________________________________________ TYPO3-project-templavoila mailing list TYPO3-project-templavoila at lists.netfielders.de http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-project-templavoila From dmitry at typo3.org Tue Mar 24 15:53:27 2009 From: dmitry at typo3.org (Dmitry Dulepov) Date: Tue, 24 Mar 2009 16:53:27 +0200 Subject: [TYPO3-templavoila] New mapping module In-Reply-To: References: Message-ID: Hi! Thomas Rehhoff wrote: > Hi Steffen, it's starting to look really good (using revision: 18253) > One thing for the TV intreface when building a DS: > Clicking on an existing Data Element in the DS, makes the buttons for > "Update" and "Cancel/close" appear to the far right. I think it would be > better to position those directly underneath the Data Element instead. > I know this is a small thing, but I think they are to far away from the > action. There's a nice HCI word for it which I can't remember, but the > principle is, to put buttons/interactions close to where the action is. There is a bug report about it already ;) -- Dmitry Dulepov TYPO3 core team http://dmitry-dulepov.com/article/blank-empty-page-in-typo3.html From news.netfielders.de at digilog.de Tue Mar 24 22:20:42 2009 From: news.netfielders.de at digilog.de (Joerg Wagner [DigiLog]) Date: Tue, 24 Mar 2009 22:20:42 +0100 Subject: [TYPO3-templavoila] Change orientation of multiple content areas inTV page module In-Reply-To: References: <58DCE83E8759446FAE965753A5ABBFD9@brandung.local> Message-ID: Hello Daniz, fantastico! This is exactly what I was searching for. Do you know by any chance whether these kind of TV / DS features are documented somewhere? Cheers, J?rg. Dennis Laudenbach schrieb: > Hi J?rg, > > you can change the Design of the backend by extending the DS for the site, i.E.: > > > > > > > > > > > > > > >
###field_inhaltoben###
###field_inhaltlinks######field_inhaltmitte######field_inhaltrechts###
> ]]> >
> > > > > Take a look at http://www.typo3.net/index.php?id=13&action=list_post&code_numbering=0&tid=59423&page= > > Ciao, > Daniz > > > -----Urspr?ngliche Nachricht----- > Von: typo3-project-templavoila-bounces at lists.netfielders.de [mailto:typo3-project-templavoila-bounces at lists.netfielders.de] Im Auftrag von Joerg Wagner [DigiLog] > Gesendet: Dienstag, 24. M?rz 2009 14:15 > An: typo3-project-templavoila at lists.netfielders.de > Betreff: [TYPO3-templavoila] Change orientation of multiple content areas inTV page module > > Hello all! > > I have a TV template with multiple content areas on the same page. > Problem is that in page module these areas are all shown side by side (like multiple columns), which makes the horizontal space for each area rather small and does not at all reflect the positioning on my final page. > > Is there a way to change the side-by-side display of multiple CEs in TV page module? Showing CEs areas below each other would help a lot. Even better would be the possibility to organize them freely (side-by-side and above-below as needed). > > Thanks for any hints into the right direction. > > Cheers J?rg. > _______________________________________________ > TYPO3-project-templavoila mailing list > TYPO3-project-templavoila at lists.netfielders.de > http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-project-templavoila From news.netfielders.de at digilog.de Wed Mar 25 06:53:36 2009 From: news.netfielders.de at digilog.de (Joerg Wagner [DigiLog]) Date: Wed, 25 Mar 2009 06:53:36 +0100 Subject: [TYPO3-templavoila] Change orientation of multiple content areas inTV page module In-Reply-To: References: <58DCE83E8759446FAE965753A5ABBFD9@brandung.local> Message-ID: Just FYI: I gave it a try now and it works like a charm. One thing is important though: the node has to be written with a capital L! Otherwise it won't work. So the correct code is: ###field_contentTop### ###field_contentLeft### ###field_contentMid### ###field_contentRight### ]]> Cheers, J?rg. Dennis Laudenbach schrieb: > Hi J?rg, > > you can change the Design of the backend by extending the DS for the site, i.E.: > > > > > > > > > > > > > > >
###field_inhaltoben###
###field_inhaltlinks######field_inhaltmitte######field_inhaltrechts###
> ]]> >
> > > > > Take a look at http://www.typo3.net/index.php?id=13&action=list_post&code_numbering=0&tid=59423&page= > > Ciao, > Daniz > > > -----Urspr?ngliche Nachricht----- > Von: typo3-project-templavoila-bounces at lists.netfielders.de [mailto:typo3-project-templavoila-bounces at lists.netfielders.de] Im Auftrag von Joerg Wagner [DigiLog] > Gesendet: Dienstag, 24. M?rz 2009 14:15 > An: typo3-project-templavoila at lists.netfielders.de > Betreff: [TYPO3-templavoila] Change orientation of multiple content areas inTV page module > > Hello all! > > I have a TV template with multiple content areas on the same page. > Problem is that in page module these areas are all shown side by side (like multiple columns), which makes the horizontal space for each area rather small and does not at all reflect the positioning on my final page. > > Is there a way to change the side-by-side display of multiple CEs in TV page module? Showing CEs areas below each other would help a lot. Even better would be the possibility to organize them freely (side-by-side and above-below as needed). > > Thanks for any hints into the right direction. > > Cheers J?rg. > _______________________________________________ > TYPO3-project-templavoila mailing list > TYPO3-project-templavoila at lists.netfielders.de > http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-project-templavoila From gaumondpatrick-s-p-a-m at hotmail-sp-a-m.com Wed Mar 25 15:08:20 2009 From: gaumondpatrick-s-p-a-m at hotmail-sp-a-m.com (Patrick Gaumond) Date: Wed, 25 Mar 2009 10:08:20 -0400 Subject: [TYPO3-templavoila] Change orientation of multiple content areas inTV page module In-Reply-To: References: <58DCE83E8759446FAE965753A5ABBFD9@brandung.local> Message-ID: Joerg Wagner [DigiLog] wrote: > I gave it a try now and it works like a charm. One thing is important > though: the node has to be written with a capital L! > Otherwise it won't work. And remember, you can be crystal clear for your Editors by using light "bgcolor" in your TD... For example: ###field_contentLeft### Patrick From gaumondpatrick-s-p-a-m at hotmail-sp-a-m.com Wed Mar 25 15:48:43 2009 From: gaumondpatrick-s-p-a-m at hotmail-sp-a-m.com (Patrick Gaumond) Date: Wed, 25 Mar 2009 10:48:43 -0400 Subject: [TYPO3-templavoila] TV usability - Ideas from TER Message-ID: Hello dear TVists, I was looking for TV extensions in TER and was wondering if you had a look at them ? As usual I'm not looking at the code quality but in functionality it provides and I think some ideas would be worth looking at: 1.http://typo3.org/documentation/document-library/extension-manuals/general_tvp/0.0.0/view/1/1/#id3975735 2.http://typo3.org/documentation/document-library/extension-manuals/color_tv/0.0.20/view/1/1/#id3555461 1. Colored Titlebar / Cellcolor 2A. Tabs ! For crowded pages(optionnal) 2B. Using color picker to set colors Also: 3.http://typo3.org/documentation/document-library/extension-manuals/templavoila_pagemod/0.2.2/view/1/1/#id3053082 Just for the "capability" to switch from Page to list when it detect a Sysfolder. 4.http://typo3.org/documentation/document-library/extension-manuals/tm_tvpagemodule/0.2.8/view/1/4/ Made in Tapio-land... But still, few interesting options: disableCSH = 1 ;) disableSidebarItems = I have not put them in the Bugtracker yet because I think discussions should happen first. Patrick From typo.removeformessage at fx-graefix.de Thu Mar 26 09:59:11 2009 From: typo.removeformessage at fx-graefix.de (Franz Koch) Date: Thu, 26 Mar 2009 09:59:11 +0100 Subject: [TYPO3-templavoila] check TCEform maxitems for CE-fields in TV page module Message-ID: Hey guys, in pageDS you can configure some TCEform settings for all fields - also for the content-element fields (eType "ce"). There you can use all common TCEform settings from TCA, like maxitems, minitems, multiple etc. Currently I have a request to only allow one CE in a certain field and set the according TCEform setting, but TV page module is not respecting this setting and allows multiple CEs to be added. By digging the source of TVs page module I haven't found anything like that, so I created a xclass and implemented it myself. Question is now - have I overseen something, so that this feature is already there and I could drop my xclass? Is this feature of common interest to get added to TV if not already there? -- kind regards, Franz Koch --------------------------------------------------- PayPal-Account: 'paypal _at_ elements-net _dot_ de' --------------------------------------------------- From info at sk-typo3.de Thu Mar 26 10:20:01 2009 From: info at sk-typo3.de (Steffen Kamper) Date: Thu, 26 Mar 2009 10:20:01 +0100 Subject: [TYPO3-templavoila] check TCEform maxitems for CE-fields in TV page module In-Reply-To: References: Message-ID: Hi Franz, Franz Koch schrieb: > Hey guys, > > in pageDS you can configure some TCEform settings for all fields - also > for the content-element fields (eType "ce"). There you can use all > common TCEform settings from TCA, like maxitems, minitems, multiple etc. > > Currently I have a request to only allow one CE in a certain field and > set the according TCEform setting, but TV page module is not respecting > this setting and allows multiple CEs to be added. By digging the source > of TVs page module I haven't found anything like that, so I created a > xclass and implemented it myself. > > Question is now - have I overseen something, so that this feature is > already there and I could drop my xclass? > > Is this feature of common interest to get added to TV if not already there? > for sure - i consider it as a bug. Please create a patch and add it to the Bugtracker vg Steffen From typo.removeformessage at fx-graefix.de Thu Mar 26 10:52:29 2009 From: typo.removeformessage at fx-graefix.de (Franz Koch) Date: Thu, 26 Mar 2009 10:52:29 +0100 Subject: [TYPO3-templavoila] check TCEform maxitems for CE-fields in TV page module In-Reply-To: References: Message-ID: Hi Steffen, >> in pageDS you can configure some TCEform settings for all fields - >> also for the content-element fields (eType "ce"). There you can use >> all common TCEform settings from TCA, like maxitems, minitems, >> multiple etc. >> >> Currently I have a request to only allow one CE in a certain field and >> set the according TCEform setting, but TV page module is not >> respecting this setting and allows multiple CEs to be added. By >> digging the source of TVs page module I haven't found anything like >> that, so I created a xclass and implemented it myself. >> >> Question is now - have I overseen something, so that this feature is >> already there and I could drop my xclass? >> >> Is this feature of common interest to get added to TV if not already >> there? >> > > for sure - i consider it as a bug. Please create a patch and add it to > the Bugtracker ok. For a quick solution for my problem I used some if-conditions to check for the TCEform settings and compare those with the current record number. Is there any BE-functionality that could be used for evaluating the TCEform stuff which I should use instead of the if-conditions in the final patch? -- kind regards, Franz Koch --------------------------------------------------- PayPal-Account: 'paypal _at_ elements-net _dot_ de' --------------------------------------------------- From info at sk-typo3.de Thu Mar 26 11:02:52 2009 From: info at sk-typo3.de (Steffen Kamper) Date: Thu, 26 Mar 2009 11:02:52 +0100 Subject: [TYPO3-templavoila] check TCEform maxitems for CE-fields in TV page module In-Reply-To: References: Message-ID: Hi Franz, Franz Koch schrieb: > Hi Steffen, >>> in pageDS you can configure some TCEform settings for all fields - >>> also for the content-element fields (eType "ce"). There you can use >>> all common TCEform settings from TCA, like maxitems, minitems, >>> multiple etc. >>> >>> Currently I have a request to only allow one CE in a certain field >>> and set the according TCEform setting, but TV page module is not >>> respecting this setting and allows multiple CEs to be added. By >>> digging the source of TVs page module I haven't found anything like >>> that, so I created a xclass and implemented it myself. >>> >>> Question is now - have I overseen something, so that this feature is >>> already there and I could drop my xclass? >>> >>> Is this feature of common interest to get added to TV if not already >>> there? >>> >> >> for sure - i consider it as a bug. Please create a patch and add it to >> the Bugtracker > > ok. For a quick solution for my problem I used some if-conditions to > check for the TCEform settings and compare those with the current record > number. Is there any BE-functionality that could be used for evaluating > the TCEform stuff which I should use instead of the if-conditions in the > final patch? > no, it's done manually. You could compare with t3lib_tceforms. vg Steffen From skyfreak1 at gmx.net Fri Mar 27 16:24:45 2009 From: skyfreak1 at gmx.net (G.Unger) Date: Fri, 27 Mar 2009 16:24:45 +0100 Subject: [TYPO3-templavoila] multilanguage - multitree Message-ID: hi group I have a question concerning the templavoila localisation. our tree concept looks like this website ch - branch for the swiss with 4 languages default en + it fr de int - international branch with 1 language default en lam - south american tree with 3 languages default en + pt sp so we do have 6 languages en = 0 = default for all trees/branches de fr it sp pt while that latest 5 are not for all trees/branches I have of cause created the languages on the worldbowl as alternative page language. the declarations eg config.sys_language_uid config.metaCharset config.locale_all config.language all are all set and templavoila and realurl all workz well. the only problem/hook I have is that in the page module of templavoila for me as an admin appear all languages in the top tab 'localisation view' and in the dropdown 'Create new page translation:' all languages appear. how can I limit by TS (? template or page TSconfig) that only the equivalent languages per branch appear in TV localisation? kind of stuck on a possibly small tweak :( rgds GUIDO From dmitry at typo3.org Fri Mar 27 16:55:39 2009 From: dmitry at typo3.org (Dmitry Dulepov) Date: Fri, 27 Mar 2009 17:55:39 +0200 Subject: [TYPO3-templavoila] multilanguage - multitree In-Reply-To: References: Message-ID: Hi! G.Unger wrote: > how can I limit by TS (? template or page TSconfig) that only the > equivalent languages per branch appear in TV localisation? Currenty TV shows all languages in the localization tab. Languages are installation wide. There was a discussion about it in this list. Best if you search. -- Dmitry Dulepov TYPO3 core team http://dmitry-dulepov.com/article/redirects-typo3-and-realurl-vs-mod-rewrite.html From typo3 at perseguers.ch Fri Mar 27 18:04:47 2009 From: typo3 at perseguers.ch (Xavier Perseguers) Date: Fri, 27 Mar 2009 18:04:47 +0100 Subject: [TYPO3-templavoila] multilanguage - multitree In-Reply-To: References: Message-ID: Hi, > G.Unger wrote: >> how can I limit by TS (? template or page TSconfig) that only the >> equivalent languages per branch appear in TV localisation? > > Currenty TV shows all languages in the localization tab. Languages are installation wide. There was a discussion about it in this list. Best if you search. Search for patch #9465 (10.01.08 / Additional hook to allow user postprocessing of available languages for translation). It was waiting for its sister patch to be accepted for TYPO3 core. It was committed a few days ago by Steffen, which should obviously review this patch when he finds a free slot ;-) If you wish to test before it gets committed to TV trunk: http://bugs.typo3.org/view.php?id=9465 -- Xavier Perseguers http://xavier.perseguers.ch/en One contribution a day keeps the fork away