[TYPO3-english] Custom wrapping text and textpic cObj
Hi all, I need to be able to perform a custom wrap around text and textpic cObjects. To do this, I thought it would be a simple case of doing this: tt_content.text.30 = USER tt_content.text.30.userFunc = userMyUserFunc But this doesn't work; the function isn't called. I simply added the function to the end of typo3conf/localconf.php. If I do this: tt_content.text.30 = TEXT tt_content.text.30.value = FRED Then I get FRED all over the FE, as expected. What am I missing? ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] Custom wrapping text and textpic cObj
Hi Andrew, why don't you use a "normal" wrap: tt_content.text.wrap = FRED1|FRED2 The COA has a wrap-property: http://typo3.org/documentation/document-library/core-documentation/doc_core_tsref/4.2.1/view/1/8/#id4365577 Chris. Andrew Plank schrieb: Hi all, I need to be able to perform a custom wrap around text and textpic cObjects. To do this, I thought it would be a simple case of doing this: tt_content.text.30 = USER tt_content.text.30.userFunc = userMyUserFunc But this doesn't work; the function isn't called. I simply added the function to the end of typo3conf/localconf.php. If I do this: tt_content.text.30 = TEXT tt_content.text.30.value = FRED Then I get FRED all over the FE, as expected. What am I missing? ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
[TYPO3-english] rggooglemap: Tooltip configuration
Hi All! I want to us an other fieldset for the tooltip of rggooglemap. Google let me found the following: "Tooltip configuration: rggooglemap uses the field name of your table for the rollover tooltip to your markers. If you want to use a different field you will currently have to change it manually in rggooglemap/pi1/class.tx_rggooglemap_pi1.php on line 1670" Unfortunately, there seems to be the wrong code: function newLevel($name,$beginEndFlag=0,$params=array()){ ... Line 1670:$par=array(); ... } I would like to use: Title, First Name, Middle Name, Lastname. Thx, Lars Brinkmann -- brinkmann.l...@gmail.com ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
[TYPO3-english] question about ext.
Does anybody know if exist any extension to make web page for Virtual Memorials like this http://www.gonetoosoon.org/? Regards, Patrik ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] Custom wrapping text and textpic cObj
Chris Müller wrote: Hi Andrew, why don't you use a "normal" wrap: tt_content.text.wrap = FRED1|FRED2 Hi Chris, I need to add a trailing in very specific situations, relating to an extension I've created. It's a header-style extension that creates an accordion out of content elements, using the header as the accordion toggle, and the bodytext of the content element as the content of the accordion. Initially, I needed to add two HTML content elements to the page, one above and one below the content elements, the upper one containing: and the bottom one containing: ...so that the accordions can be targetted properly by the JS. Then I modified the extension so that the first content element on the page that has this scpecific header_layout property, has the HTML prepended to it. This works exactly as expected. However, to add a to the end, I'm targetting the last content element on the page, and simply adding "" to the bodytext property of the cObj. This *sort of* works. It adds the , but because this is happening before the content is rendered, then the is automatically wrapped by | by the rendering process, so it ends up as: ...which of course isn't valid XHTML. So I need to wrap it from "outside" the scope of the plugin, yet still be able to check if the currently processed content element is the last one on the page, and if so, wrap it with | It's complicated, but if I can get it to call a function, I can get it to work, which then makes the plugin far more usable. It's too much hassle to have to get users to remember to add in arbitrary HTML content elements to get it to work. Sorry for the long explanation, but you did ask :) //Plankmeister ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] Custom wrapping text and textpic cObj
> But this doesn't work; the function isn't called. I think it should be user_MyUserFunc. > I simply added the function to the end of typo3conf/localconf.php. The better probably is to place it into your own PHP file as: class user_myClass { myFunction($content, $conf) { } } ...include the file in your TS setup: page.includeLibs.mc = fileadmin/myCustomClass.php ...and then call: tt_content.text.30.userFunc = user_myClass->myFunction Tomas Mrozek ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
[TYPO3-english] static_info_tables
Hi, is there a way to submit patches for static_info_tables? I found out that for Italy 7 provinces are missing. I tried in forge.typo3.org but there i can't post an issue. kind regards, Georg Schönweger ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] Custom wrapping text and textpic cObj
> I need to add a trailing in very specific situations, relating > to an extension I've created. It's a header-style extension that > creates an accordion out of content elements, using the header as the > accordion toggle, and the bodytext of the content element as the > content of the accordion. Initially, I needed to add two HTML content > elements to the page, one above and one below the content elements, > the upper one containing: > > > > and the bottom one containing: > > And you really want to do this with two different elements although the id already contains the term pointing to the solution? You should NEVER use content elements for this purpose since this is a job for one of the different TypoScript WRAPs. tt_content.stdWrap.outerWrap = blah|blah should be doing exactly what you want. HTH Joey -- Wenn man keine Ahnung hat: Einfach mal Fresse halten! (If you have no clues: simply shut your gob sometimes!) Dieter Nuhr, German comedian Xing: http://contact.cybercraft.de Twitter: http://twitter.com/bunnyfield TYPO3 cookbook (2nd edition): http://www.typo3experts.com ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] static_info_tables
Hi Georg, Georg Schönweger wrote: is there a way to submit patches for static_info_tables? I found out that for Italy 7 provinces are missing. I tried in forge.typo3.org but there i can't post an issue. Once I'm signed in a link "new issue" appears on the right side of the "issues" page... Regards, Jigal. ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] static_info_tables
i know, but if i click there i get the message: No tracker is associated to this project. Please check the Project settings. kind regards, Georg Jigal van Hemert schrieb: > Hi Georg, > > Georg Schönweger wrote: >> is there a way to submit patches for static_info_tables? I found out >> that for Italy 7 provinces are missing. I tried in forge.typo3.org but >> there i can't post an issue. > > Once I'm signed in a link "new issue" appears on the right side of the > "issues" page... > > Regards, Jigal. > ___ > TYPO3-english mailing list > TYPO3-english@lists.typo3.org > http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english > ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] static_info_tables
Georg Schönweger wrote: i know, but if i click there i get the message: No tracker is associated to this project. Please check the Project settings. Then you should probably contact the project admin, Franz Holzinger: http://forge.typo3.org/account/show/824 To add a tracker for bugs, tasks, etc. to this extension, and inform him about the missing information for Italia. greets, Bernhard ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] Configuration space for plugins (?)
Francois Suter wrote: I found another unknown (for me) configuration in the TSref. At the end of the CONFIG top-level object, one can find the following: tx_[extension key with no underscores]_[*]Configuration space for plugins Is anyone using this? Was that a predecessor of syntax plugin.tx_[extension key with no underscores]_[*] or is that not the same? Hello Francois, I also read about this configuration space for the first time. Usually one uses plugin.tx_myext_whatever to have a configuration passed to a plugin. But of course you could use the config.tx_myext_whatever space to have some kind of configuration template and then copy it to one or more instances of your plugins like: plugin.tx_myext_pi1 < config.tx_myext_tmpl plugin.tx_myext_pi1 = USER plugin.tx_myext_pi2 < config.tx_myext_tmpl plugin.tx_myext_pi2 = USER_INT I do not know if this makes any sense, as you could use any arbitrary TypoScript path like lib.myPlugin, but if this is in the documentation I would like to know who introduced this. If no references can be found in the core (I did not have a look) I guess it could get removed from the documentation greets, Bernhard ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] Adding FCE with TS ??
André L. Keidser wrote: I would like to take a FCE that I have and put that in to an area that is defined as typoScripObjectPath with help of TS. I know how to do it with ordinary contents and plugins but not flexible contents... Is it possible? # quite easy ;) lib.yourObjectPath = RECORDS lib.yourObjectPath { tables = tt_content # UID of your content element source = 123 } greets, Bernhard ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] Configuration space for plugins (?)
Hi, I do not know if this makes any sense, as you could use any arbitrary TypoScript path like lib.myPlugin, but if this is in the documentation I would like to know who introduced this. My guess is that it's very old... If no references can be found in the core (I did not have a look) I guess it could get removed from the documentation That's what I think too. I'll write that down as a possible clean up to do at some point. Cheers -- Francois Suter Cobweb Development Sarl - http://www.cobweb.ch ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] Configuration space for plugins (?)
Francois Suter wrote: That's what I think too. I'll write that down as a possible clean up to do at some point. Hello ! I found an issue with T3Core-API: http://typo3.org/documentation/document-library/core-documentation/doc_core_api/4.2.0/view/4/2/#id4272080 Search for "Means that the relation to the records of" This term occurs exactly twice in TSref. At the upper one the whole sentence is: Means that the relation to the records of "foreign_table" / "new_foreign_table" is done with a M-M relation with a third "join" table. I guess the "new_foreign_table" should be "neg_foreign_table" instead. As there is no property "new_foreign_table" for a type=>select TCA field. greets, Bernhard ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] Configuration space for plugins (?)
Hi, I found an issue with T3Core-API: Could you please open a bug report for that and assign it to the "Documentation" category? That would be very nice. I'll loose track of it otherwise. Cheers -- Francois Suter Cobweb Development Sarl - http://www.cobweb.ch ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] Configuration space for plugins (?)
Hi. On 23.11.2009 21:14 Francois Suter wrote: > >> I do not know if this makes any sense, as you could use any arbitrary >> TypoScript path like lib.myPlugin, but if this is in the documentation >> I would like to know who introduced this. > > My guess is that it's very old... > >> If no references can be found in the core (I did not have a look) I >> guess it could get removed from the documentation > > That's what I think too. I'll write that down as a possible clean up to > do at some point. > You can also find this syntax in TSconfig docs. There we have tx_[extension key with no underscore] as a reserved syntax for custom top level objects in userTS/pageTS. IMHO it is used in tt_news to set the single pid for the save&view button. I also use it in a non-public extension. But I have never seen TS like config.tx_extname_pi.whatever in the last 7 years in the wild... -- cheers, Steffen TYPO3 Blog: http://www.t3node.com/ Blubber on Twitter: http://twitter.com/t3node ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
[TYPO3-english] TS to change plugin configuration according to position on page (tt_news)
Hi, I use TV for a website and would like to have a different TS configuration according to where a tt_news plugin is put on page (either in TV placeholder "content" or in TV placeholder "sidebar"). Any idea? Something that would work would be to define to TS object holding a special tt_news configuration (e.g. for sidebar) and ask editors to use EXT:tscobj but perhaps there's a better (=easier for editors) approach using some TS condition? -- Xavier Perseguers ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
[TYPO3-english] San Francisco Bay Area TYPO3 Users Group
Calling all Bay Area TYPO3 users! We are pleased to announce the formation of the Bay Area TYPO3 Users Group. Though hugely successful in Europe, TYPO3 is practically unknown in the US. We are trying to help change that by starting the Bay Area TYPO3 Users Group to help foster adaptation of TYPO3 in the US, as well as to offer a place for experienced developers to share their knowledge and experiences with this great content management system. So please show your support for TYPO3 and help grow the US community by spreading the word about this new Users Group. http://www.meetup.com/Bay-Area-TYPO3/ Thanks! -marc ___ Marc Infield ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english