IRC logs

20150325

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

IRC log range: 20150325*

20150325

  • 05:12:57 <erredeco> Hi there... I am trying to get the category (sys_category) related to a page or a tt_content record using this snippet:
  • 05:13:07 <erredeco> <v:resource.record table="sys_category" field="uid" uid="{record.uid}" as="catTitle">{catTitle.0}</v:resource.record>
  • 05:13:41 <erredeco> but I get the error:
  • 05:13:42 <erredeco> The "field" argument was not found on the selected record.
  • 05:14:15 <erredeco> using vhs 2.0.2
  • 05:15:23 <gencha__> neat. kiwi reconnects when i get back to work
  • 06:41:48 <dracol> hi
  • 06:43:08 <dracol> in the last few days I'm studying fluidtypo3
  • 06:43:26 <dracol> i use a select ViewHelper
  • 06:43:39 <dracol> and i want enable multiple feature
  • 06:44:10 <dracol> like <flux:field.select name="availableClasses" label="Prova" items="aaaa,bbbb" size="2" multiple="TRUE" />
  • 06:44:30 <dracol> but i can't chose multiple value
  • 06:44:52 <dracol> i try with renderMode option with same result
  • 07:08:37 <NamelessCoder> dracol you'll need maxItems as well
  • 07:08:57 <NamelessCoder> (explanation is that's how TYPO3 triggers the special rendering for multiselect)
  • 07:30:11 <dracol> NamelessCoder thanks...
  • 07:30:47 <dracol> and compliment: fluidtypo3 is a great work!!
  • 07:31:15 <NamelessCoder> I almost feel bad recommending this because of the size, dracol, but the official TCA docs explain every little detail about every parameter and combination ;)
  • 07:31:19 <NamelessCoder> thx!
  • 07:32:00 <NamelessCoder> when you use flux fields you're basically using TCA, so the same features apply
  • 07:32:51 <dracol> thanks!!
  • 07:38:22 <Xatenev> Heya
  • 07:38:29 <Xatenev> fast question, its not rly fluid based, but maybe somebody has an answer
  • 07:38:34 <Xatenev> cus #typo3 doesnt
  • 07:38:42 <Xatenev> is it possible to create the jsonview for one action only?
  • 07:38:47 <Xatenev> instead of setting it for the whole controller?
  • 09:29:15 <deffcon> hey there. i updated to typo3 6.2 and latest fluidcontent + vhs version and now when i use the vhs page header meta viewhelper like following:
  • 09:29:20 <deffcon> <v:page.header.meta name="keywords" content="{category.seoKeywords}" />
  • 09:29:59 <deffcon> if ends up in an output like <meta name="keywords" content="keyword1,keyword2">keyword1,keyword2</meta>
  • 09:30:17 <deffcon> which destroys the header. before the update it just worked fine.
  • 09:30:21 <deffcon> how to fix this?
  • 10:03:36 <deffcon> it seems to be a general issue in the Page/Header/MetaViewHelper. if i replace the $this->renderTag() with an own implementation it works
  • 10:04:30 <deffcon> in TagViewHelperTrait there is an undeclared variable $forceClosingTag used in line 76. maybe it is related with this?
  • 10:04:38 <deffcon> it's in the renderTag method
  • 10:36:59 <gencha__> @deffcon Might be worth opening a ticket on GitHub
  • 12:04:49 <deffcon> @gencha__ yes i should do that. temporarily resolved it by overriding the MetaViewHelper with an own implementation
  • 12:05:04 <deffcon> will open the ticket tomorrow , got to go now ,)
  • 12:47:32 <jonasjo> why does {record.uid} not get replaced inside of
  • 12:47:34 <jonasjo> <script type="text/javascript">
  • 12:47:34 <jonasjo> document.addEventListener("DOMContentLoaded", function(event) {
  • 12:47:34 <jonasjo> $('.slider-{record.uid}').slick({ });
  • 12:47:34 <jonasjo> });
  • 12:47:34 <jonasjo> </script>
  • 12:50:39 <bjo3rn> Jomunagd you'll have to wrap it into <f:format.raw></f:format.raw>
  • 12:51:35 <Jomunagd> ah! thank you
  • 12:53:12 <bjo3rn> fluid gets sort of confused by the curly braces of JS.
  • 12:53:59 <Jomunagd> I SEE
  • 12:54:02 <Jomunagd> upps
  • 12:54:09 <Jomunagd> doesn't work though
  • 12:54:21 <Jomunagd> still {record.uid} does not get repalceds
  • 12:54:26 <Jomunagd> *replaced
  • 12:54:34 <bjo3rn> is this inside a v:asset.script vh?
  • 12:55:43 <Jomunagd> no, just inside of a section
  • 12:56:09 <Jomunagd> it gets replaced in the div class={record.uid}
  • 12:56:19 <Jomunagd> but not inside the script tag
  • 12:56:26 <bjo3rn> $('.slider-<f:format.raw>{record.uid}</f:format.raw>').slick({ });
  • 12:56:51 <Jomunagd> ah
  • 12:56:59 <Jomunagd> yes, that works!
  • 12:57:02 <bjo3rn> cool
  • 12:57:06 <Jomunagd> thank you!
  • 12:57:10 <bjo3rn> yw
  • 12:57:33 <bjo3rn> reads a little weird but it works.
  • 12:57:35 <Jomunagd> i wraped it aroud the whole script tag...
  • 12:57:47 <Jomunagd> yep :)
  • 13:08:04 <NamelessCoder> you can also use <![CDATA[...]]> - same result :)
  • 13:11:36 <bjo3rn> which reads even weirder ^^
  • 13:12:11 <Jomunagd> hrhr. ok thanks :)
  • 13:41:17 * Jomunagd is away: I'm busy