IRC logs

20140922

Logs from channel #fedext on freenode - our official support channel.

IRC log range: 20140922*

20140922

  • 09:44:45 <LarsP> Good Morning, I have updated to the new versions of flux, fluidcontent and vhs (dev-staging). With older versions, FluidContent wrote "Namespace.UpperCamelCaseExtensionName:Template.html" into the the Database field "tx_fed_fcefile". But in the current dev-stating version it writes "ext_name:Template.html" into the database. The FluidContent elements are registered with "\FluidTYPO3\Flux\Core::registerProviderExtensionKey('Namespace.UpperCamelCaseExtensionName
  • 09:44:56 <LarsP> Does somebody has the same problem?
  • 10:40:40 <erredeco> [OT] I need a little help with the RTE I added to an extension developed by my team
  • 10:41:14 <erredeco> I see here how to add the RTE to a field in the extension:
  • 10:41:15 <erredeco> http://docs.typo3.org/typo3cms/CoreApiReference/Rte/InTheBackend/Index.html
  • 10:43:37 <erredeco> now... in the fluid template the field is {myext.testoPrincipale}
  • 10:44:19 <erredeco> If I put it in the code like this the tags are converted i.e. &lt;h2&gt; etc.
  • 10:44:44 <erredeco> Obviously I have to {myext.testoPrincipale -> f:format.html()}
  • 10:45:11 <erredeco> but doing so everything becomes surrounded by a paragraph tag ?!?!?!
  • 10:45:13 <erredeco> :S
  • 10:51:03 <erredeco> ok It seems a problem of TS Config
  • 10:51:17 <erredeco> I try to add RTE.default.proc.allowTagsOutside = address, article, aside, blockquote, footer, header, hr, nav, section,h1,h2,h3,h4,h5,h6,p,ul,ol,table
  • 10:53:17 <erredeco> but it does not work :S I cleared all caches and even typo3temp folder
  • 10:58:38 <erredeco> problem solved: use f:format.raw instead of f:format.html
  • 11:00:10 <erredeco> :)
  • 11:29:24 <TorstenFink> should it be possible to translate a non "default language" CE into the default language?
  • 11:29:44 <TorstenFink> currently its not possible with the latest staging version and TYPO3 6.2.4
  • 11:36:19 <erredeco> question: I have a CE with ID=51 inside a sysfolder with ID=2
  • 11:36:31 <erredeco> I want to render this element and this element only
  • 11:38:38 <erredeco> like with RECORDS typoscript object
  • 11:38:53 <erredeco> should I use <v:render.record />?
  • 11:40:07 <erredeco> the syntax is this: <v:render.record pageUid="2" contentUids="51"/> ?
  • 11:41:11 <TorstenFink> hm
  • 11:41:16 <TorstenFink> if it works, do it
  • 11:41:53 <LarsP> erredeco, I guess its <v:render.record contentUids="{0: {uid: 51}}" />
  • 11:42:36 <LarsP> sorry, it sould be: <v:render.record record="{uid: 51}" />
  • 11:44:02 <erredeco> umm nothing seems to work :S
  • 11:44:08 <erredeco> I tried even with <v:render.record pageUid="2" record="{uid:51}" />
  • 11:45:44 <erredeco> sorry... cache problem
  • 11:45:49 <erredeco> this works <v:render.record pageUid="2" record="{uid:51}" />
  • 11:46:33 <LarsP> pageUid attribute should not be necessary
  • 12:24:37 <ndee> hi overlords, regarding this: https://github.com/FluidTYPO3/documentation <-- is there an easy way to create a PDF of the whole repo?
  • 12:34:07 <marteadrian> hi all. i'm using latest git develop versions of the extensions. I'm trying to create a sluider, which has background-image, an image and some text fields per slide. Now i tried following configuration: <flux:form.object name="slide">
  • 12:34:07 <marteadrian> <flux:field.file name="settings.image" allowed="jpg, jpeg, png, gif"
  • 12:34:07 <marteadrian> maxItems="1" showThumbnails="1" />
  • 12:34:07 <marteadrian> <flux:field.file name="settings.backgroundImage" allowed="jpg, jpeg, png, gif"
  • 12:34:07 <marteadrian> maxItems="1" showThumbnails="1" />
  • 12:34:08 <marteadrian> <flux:field.text name="settings.header" />
  • 12:34:08 <marteadrian> </flux:form.object>
  • 12:34:32 <marteadrian> the problem is that on frontend only <flux:field.text name="settings.header" /> is available
  • 12:35:07 <marteadrian> when i dump the slides i see only:
  • 12:35:07 <marteadrian> array(1 item)
  • 12:35:07 <marteadrian> 1 => array(1 item)
  • 12:35:07 <marteadrian> slide => array(1 item)
  • 12:35:07 <marteadrian> settings => array(1 item)
  • 12:35:07 <marteadrian> header => 'TEST 1' (6 chars)
  • 12:56:37 <gbod> marteadrian: Please give some more flesh of your frontend template?
  • 13:00:43 <erredeco> @marteadrian: take a look at this...you could use it a basis for your needs
  • 13:00:44 <erredeco> https://github.com/FluidTYPO3/fluidcontent_bootstrap/blob/development/Resources/Private/Templates/Content/Carousel.html
  • 13:06:44 <gbod> erredeco: I think marteadrian would be happier, if we show him https://github.com/bootstraptheme-for-typo3/fluidbootstraptheme/blob/development/Resources/Private/Templates/Content/Carousel.html He really likes links to that extension. :D
  • 13:07:31 <erredeco> :)
  • 13:43:02 <marteadrian> @gbod & erredeco: hehe, thanks for the hints :) i'll check those... my frontend template is like so:
  • 13:43:04 <marteadrian> <f:section name="Main">
  • 13:43:04 <marteadrian> <f:if condition="{slides}">
  • 13:43:04 <marteadrian> <f:for each="{slides}" as="slide" iteration="iteration">
  • 13:43:04 <marteadrian> <f:debug>{slides}</f:debug>
  • 13:43:25 <marteadrian> so here you can see where this debug output from above came from
  • 13:44:02 <marteadrian> but anyway i'll check examples you sent me, if i don't get it i'll be glad to come back to you guys then again :)
  • 13:48:34 <marteadrian> ahh.. and i'll use Gist next time...
  • 14:13:33 <william_klee> hi all, i have a problem about hidding custom fluid content's header.
  • 14:13:44 <william_klee> When i create a custom fluid content, i have a field "Header" and i filled it.
  • 14:13:56 <william_klee> But this header field is always displayed in front page, and i want to have choose to hide or to show it.
  • 14:14:14 <william_klee> I did some google search and tried to add custom css class for header ("appearance" tab then "header" tab), but i cant see class that i defined in typoscript there.
  • 14:14:47 <william_klee> So i want to ask if there a way to do that with fluid viewhelper ?
  • 14:16:17 <gbod> william_klee: you build the header with <flux:field.input/>? Or is it the standard CE header?
  • 14:28:29 <william_klee> i created a custom content element with fluidcontent.
  • 14:28:30 <william_klee> https://gist.github.com/anonymous/c1264511c21e78f6ced5
  • 14:29:26 <william_klee> i didnt created the header field, this field is always displayed for anycontent
  • 14:45:12 <marteadrian> @gbod & erredeco: I found the problem. I used as name for the flux.field something like "settings.xy". Now i just use "xy"and it works. Is that behaviour explainable?
  • 14:46:53 <gbod> william_klee: It's the standard header. https://worksonmymachine.org/blog/custom-rendering-of-default-headlines-in-fluidtypo3
  • 14:50:53 <gbod> marteadrian: Crystal Ball is on vacation. Please, show some code!
  • 14:54:11 <marteadrian> check my code from above at 12:33:41 PM. If i use in side an object field names separated with a dot, e.g. <flux:field.file name="settings.image"> i don't get that on frontent with e.g. <f:image src="{slide.slide.settings.backgroundImage}" />. But i i use a name without a dot, e.g. flux:field.file name="image"> i get it correctly with <f:image src=
  • 14:54:11 <marteadrian> "{slide.slide.backgroundImage}" />
  • 14:58:34 <NamelessCoder> marteadrian fields inside objects and inside containers should not use prefixes
  • 14:58:59 <NamelessCoder> root-level fields, sections and containers should
  • 15:01:15 <NamelessCoder> william_klee are you using fluidcontent_core? If yes, change the layout in elements' templates to a layout that does not render the header. If you use css_styled_content you have to create a condition in the header cObject that gets rendered, to match the selected tx_fed_fcefile value
  • 15:01:38 <NamelessCoder> (FCC rocks, CSC sucks)
  • 15:10:12 <gbod> !!1eleven!
  • 15:15:59 <marteadrian> ok, thanks!
  • 15:39:13 <william_klee> gbod : thanks you :) that works, cant believe that could me so simple
  • 17:41:24 <Defos> Hey lads. I'm currently upgrading VHS, is v:page.info gone?
  • 17:47:51 <Defos> update: it seems like the "as" param doesnt work anymore: <v:page.info as="pageInfo"/><f:debug>{pageInfo}</f:debug> returns NULL
  • 17:51:54 <Defos> it works if youre inside the tag like <v:page.info as="pageInfo"><f:debug>{pageInfo}</f:debug></v:page.info> but it's more handy the other way
  • 17:52:34 <BenjaminR> Defos: try {v:page.info() -> v:var.set(name: 'pageInfo')}
  • 17:52:55 <BenjaminR> as argurments are only available for tag children
  • 17:54:50 <Defos> yea that will work, thanks
  • 18:15:09 <Defos> Another thing: A lot of my content elements, which were inserted in different content areas set by flux (just like in the twitter bootstrap well example), are gone and now shown in the "Relations" Tab in the Typo3 Backend. When I edit one of those content elements, it says "Invalid value("18181") under Column.
  • 18:15:43 <Defos> Oh and Flux Debug says: Flux Debug
  • 18:15:43 <Defos> No content template found in "tt_content:55"
  • 18:19:10 <Defos> Gotta go, leaving this open in case someone has an idea.
  • 19:38:50 <Guest|38654> Please, what's the best method to get prev/next record links in Fluid?
  • 20:03:35 <gbod_> Guest|38654: Take a look at
  • 20:03:42 <gbod_> http://fluidtypo3.org/library/code-examples.html?tx_fluidshare_display%5Bgist%5D=11&tx_fluidshare_display%5Baction%5D=display&tx_fluidshare_display%5Bcontroller%5D=Gist&cHash=7a57d394600f5265e5a55242c7f1fadf
  • 20:17:41 <Guest|38654> Tnx gbod_ now I check it... but I found this solution: http://lists.typo3.org/pipermail/typo3-project-typo3v4mvc/2012-January/011460.html
  • 20:18:34 <Guest|38654> That actualized, to get the next record link use: <f:link.action action="show" controller="Product" arguments="{product : '{v:iterator.next(needle: product, haystack: products)}'}">next</f:link.action>