IRC logs

20150902

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

IRC log range: 20150902*

20150902

  • 02:45:02 <braguzz> icons still missing
  • 02:45:51 <braguzz> it creates src like this <img src="../../..//data/ammtrasp/SpecialityDistribution/typo3conf/ext/speciality/Resources/Public/Source/Icons/icon-twitter.png" alt="">
  • 02:46:31 <braguzz> it puts also linux path '/data/ammtrasp/SpecialityDistribution'
  • 03:21:16 <xaver> braguzz: thats a bug - PATH_site should only be aded if the icon utility is used
  • 03:22:25 <xaver> but the icon utility should work - the line is reached, but the function isn't called (i use v7 on my laptop - can't debug it)
  • 03:24:24 <xaver> braguzz: the problem is v7 added a prefix to all icons in wizard, code should work in v6 and v7 and my idea was to add a utility to resize all icons by default to 24mx24m (same size as the other icons). No css size available.
  • 03:26:45 <braguzz> in my template I use options="{useTypoScript: 0, group: 'Unify', icon: '{f:uri.resource(path: \'Source/Icons/icon-twitter.png\'}' }"
  • 03:27:17 <braguzz> I copied it from fluidcontentbootstrap (and also fcb icons are missing)
  • 03:28:16 <xaver> braguzz: i don't use the con param
  • 03:29:04 <xaver> if your file is Example.html add a icon in Icons/Content/Example.svg or png or (gif)
  • 03:30:53 <xaver> you ask on a working solution -> v7 ;)
  • 03:30:58 <braguzz> but what about twittercontentbootstrap?
  • 03:31:06 <braguzz> I'm still with 6.2
  • 03:31:38 <xaver> Add icon with right name, it will be detected
  • 03:32:10 <braguzz> xaver sorry but twcontentbootst is an ext
  • 03:33:02 <braguzz> I could change the code, but at news update as you know..
  • 03:33:03 <xaver> i think v2 branch remved them :) Sry but i think next days until a PR or i fix it, it will be broken
  • 03:33:34 <braguzz> xaver I dont understand you :(
  • 03:34:29 <xaver> Somebody can fix it and create a Pull Request or i will take a look in next days or weekend
  • 03:34:44 <xaver> you cna't fix it without chaning the code.
  • 03:35:18 <braguzz> ok I'll wait the fix I think that I'm not the only person with this problem... :)
  • 03:35:52 <braguzz> could you put in the right direction also with one other flux problem?
  • 03:49:18 <duch> Hi all
  • 03:49:50 <duch> first time on this channel, i have a quick question about flux child contents
  • 03:51:07 <duch> my main content in on colPos=3, when i create a child content thanks to the relation tab it is created in colPos=0
  • 03:52:13 <duch> is there a way to filter out records with tx_flux_parent field != 0 in v:content.render ?
  • 03:54:59 <duch> or should i completely avoid to use colPos=0 for my contents and start at 1 ?
  • 04:54:48 <papillon6> Can anyone comfirm a bug with viewhelper vhs:iterator.sort? Trying to sort an ObjectStorage leads to an error: #1273753083: Cannot cast object of type "TYPO3\CMS\Extbase\Persistence\ObjectStorage" to string.
  • 08:56:23 <drlimbo> is it possible to use v:switch & v:case with inline-usage? like {v:switch(value: '{fooo}')} {v:case(case: '1', break: 1)}
  • 10:29:13 <galoppi> Hi there! I installed flux,fluidcontent,vhs,fluidpages from current development branches and got the following error in TYPO3 6.2.14 after clearing all caches in install tool:
  • 10:29:29 <galoppi> Fatal error: Call to a member function preparedGet() on a non-object in typo3conf/ext/fluidcontent/Classes/Service/ConfigurationService.php on line 218
  • 10:29:45 <galoppi> Could anyone help me?
  • 10:30:22 <arnekolja> hi there. i got a strange problem. when using the v:condition.type.isArray viewhelper, it doesnt return true even when debugging the value says it definitely is an array.
  • 10:30:48 <arnekolja> debug says "array", but "test" is not printed: <f:debug>{elements}</f:debug><v:condition.type.isArray value="{elements}">test</v:condition.type.isArray>
  • 10:32:38 <galoppi> @galoppi: found a solution: added fluidcontent_core, after that it works
  • 10:32:47 <arnekolja> galoppi: have you tried the stable branch/a tagged release? development versions can easily contain such bugs.
  • 10:32:49 <arnekolja> okay
  • 16:48:47 <duch> hi
  • 16:48:59 <duch> i use fluidpages + fluidcontent_core
  • 16:49:52 <duch> i'd like to order a menu by a field which stores page hits (i already have a hook that updates this field)
  • 16:50:35 <duch> i could do it thanks to the TS Records object but i'd like to avoid typoscript as much as possible
  • 16:53:35 <duch> i've read in the IRC logs someone who said to use existing menu content elements
  • 16:55:17 <duch> but i can't figure how to do it with fluidcontent_core :(
  • 17:19:25 <duch> i think i found a clue in RecentlyUpdated.html > v:iterator.sort
  • 17:20:36 <duch> my problem is that my menu should be sorted by the field on the child page
  • 17:21:56 <duch> therefore i need a first loop on my first level, collect all child pages uids (how?) and a menu.list on my child pages in order to use my iterator.sort
  • 17:58:20 <duch> i found my solution (i cheated a little bit since my pages on first level won't change) :
  • 17:58:23 <duch> <v:page.menu.directory pages="25,26,27,28,29,30,31,32,33,34">
  • 17:58:23 <duch> <ul class="fList">
  • 17:58:23 <duch> <f:for each="{menu -> v:iterator.sort(sortBy: 'tx_smenohitcounter_hits', order: 'DESC')->v:iterator.slice(length: '10')}" as="pageRecord">
  • 17:58:23 <duch> <li><v:page.link pageUid="{pageRecord.pid}" class="fCat" /><f:link.page pageUid="{pageRecord.uid}">{pageRecord.linktext}</f:link.page></li>
  • 17:58:23 <duch> </f:for>
  • 17:58:23 <duch> </ul>
  • 17:58:24 <duch> </v:page.menu.directory>
  • 17:58:46 <duch> hope this helps