IRC logs

20140825

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

IRC log range: 20140825*

20140825

  • 08:21:34 <ndee_> just a heads up: http://fluidtypo3.org/viewhelpers/fluid/master/FormViewHelper.html <-- the sub items on "Form" aren't working, e.g. the Form doesn't open like it used to.
  • 10:06:34 <erredeco> Hello. i use TYPO3 6.2.3 and VHS 1.9.1
  • 10:07:32 <erredeco> I changed in my templates the line:
  • 10:07:38 <erredeco> {namespace v=Tx_Vhs_viewHelpers}
  • 10:07:40 <erredeco> with
  • 10:07:47 <erredeco> {namespace v=FluidTYPO3\Vhs\ViewHelpers}
  • 10:07:57 <erredeco> Now I get the error:
  • 10:08:04 <erredeco> Could not analyse class:FluidTYPO3\Vhs\ViewHelpers\Content\RenderViewHelper maybe not loaded or no autoloader?
  • 10:08:40 <erredeco> I tried to revert and now I get the error:
  • 10:08:41 <erredeco> Templating tags not properly nested. Expected: Tx_Vhs_ViewHelpers_Page_MenuViewHelper; Actual: Tx_Vhs_viewHelpers_Page_MenuViewHelper
  • 10:08:46 <erredeco> :S :S
  • 10:08:56 <erredeco> already removed temp files and cache
  • 10:09:01 <erredeco> :S :S :S
  • 10:09:32 <Guest|26130> hello can somebody help me? i have this: <flux:field.inline.fal name="galerieimage" label="Bild" multiple="TRUE" maxItems="1" collapseAll="TRUE" />
  • 10:10:10 <gbod> erredeco: Try Tx_Vhs_ViewHelpers_Page_MenuViewHelper instead of Tx_Vhs_viewHelpers_Page_MenuViewHelper
  • 10:10:18 <Guest|26130> how i must write the code for the main section to put out the image in front end?
  • 10:12:17 <erredeco> @gbod: sorry???? I don't understand
  • 10:15:45 <gbod> The letter "V" in ViewHelpers in the classname has to be in Uppercase
  • 10:20:34 <BenjaminR> erredeco: very likely that you have a typo in your namespace defintion in the top
  • 10:20:42 <BenjaminR> Tx_Vhs_viewHelpers should be Tx_Vhs_ViewHelpers
  • 10:20:56 <Guest|26130> i ask other way.. how i can add FAL to fluid for selecting image and show the image in front end?
  • 10:21:34 <BenjaminR> Guest: https://gist.github.com/benjaminrau/47c9162d310fcd22fbae
  • 10:22:43 <BenjaminR> erredeco: maybe you have this in your html file {namespace v=Tx_vhs_ViewHelpers}
  • 10:22:50 <BenjaminR> erredeco: maybe you have this in your html file {namespace v=Tx_Vhs_viewHelpers}
  • 10:23:43 <erredeco> ooh yes I got it!
  • 10:23:46 <erredeco> Thank you
  • 10:24:18 <BenjaminR> yw - gbod already pointed to that
  • 10:24:30 <erredeco> yeah Thank you
  • 10:24:39 <erredeco> but why this: {namespace v=FluidTYPO3\Vhs\ViewHelpers} does not work?
  • 10:25:02 <gbod> erredeco: In Vhs 1.9.1 there are no Namespaces in use
  • 10:25:08 <erredeco> ohh I see
  • 10:25:11 <erredeco> :)
  • 10:25:12 <BenjaminR> this depends on the version of vhs you are usiing
  • 10:25:21 <BenjaminR> or on typos :)
  • 10:25:27 <erredeco> of course I should update to the git version
  • 10:25:31 <erredeco> thanks
  • 10:25:46 <BenjaminR> yap namespaces have been introduced with 2.0
  • 10:26:30 <erredeco> :)
  • 10:27:26 <Guest|26130> @BenaminR -> THIS IS IT.... :-)
  • 10:27:55 <Guest|26130> Files works the same way or have you a example?
  • 10:28:44 <gbod> Is anybody of you participating in the TYPO3CAMP in Munich end of next week?
  • 10:29:52 <gbod> I will do a small talk about templating using FluidTYPO3.
  • 10:29:54 <BenjaminR> Guest: what do you mean?
  • 10:30:37 <BenjaminR> gbod very likey xaver or cedricziel is participating
  • 10:31:22 <gbod> Ah, nice.
  • 10:32:51 <xaver> BenjaminR: i don't use phpstorm
  • 10:33:02 <BenjaminR> xaver: np - thanks anyway
  • 10:33:22 <xaver> gbod: yes and also danielo and randomresult
  • 10:33:26 <BenjaminR> randomresult: at t3camp munich?
  • 10:33:32 <xaver> and mrboel
  • 10:33:39 <BenjaminR> ah - i thought so :)
  • 10:33:53 <xaver> BenjaminR: come munich is near you :)
  • 10:34:44 <mrboe> randomresult and i will be there
  • 10:35:06 <randomresult> well mrboe will be there IF i dont kill him on the way to munich
  • 10:35:14 <BenjaminR> hehe
  • 10:35:18 <randomresult> which could happen
  • 10:35:22 <randomresult> come over BenjaminR
  • 10:35:34 <randomresult> you can have my ticket for sunday as we leave on saturday
  • 10:36:49 <BenjaminR> i am at stand-by the next two weekends
  • 10:36:53 <mrboe> randomresult why you wanna kill me
  • 10:37:06 <randomresult> stand by?
  • 10:37:24 <randomresult> mrboe just for fun - AND if your father isnt nice to me, i will just kill you for that
  • 10:37:33 <BenjaminR> yap for a company i am partnering with
  • 10:37:43 <randomresult> use your mobile
  • 10:38:00 <BenjaminR> its a on site service
  • 10:38:06 <mrboe> or take you "fax" with you
  • 10:38:13 <BenjaminR> ;)
  • 10:38:37 <BenjaminR> well guys you can help me. WHY the hell is my pagenotFoundHandling Userfunction just ignored
  • 10:39:05 <randomresult> well guys you can help me. WHY is indexed-Search not indexing at all?
  • 10:39:07 <BenjaminR> page title is from the parent page, content is empty
  • 10:39:19 <BenjaminR> randomresult: you did smth wrong :P
  • 10:39:33 <randomresult> BenjaminR : you did smth wrong :P
  • 10:39:41 <BenjaminR> yap thought so ;) ^^
  • 10:40:06 <randomresult> i could cry.
  • 10:40:38 <randomresult> no_cache = 0 , cache = 1 , enable_indexblabla = 1 ... all is right... does not work
  • 10:41:00 <BenjaminR> youre indexing on page load or by crawler
  • 10:41:27 <Guest|26130> @Benjamin you have send me a example for a gallery.. i need also something for file downloads with fluid and fal.. have you a example like the image gallery?
  • 10:41:34 <gbod> randomresult: your HTML comments are set?
  • 10:41:59 <BenjaminR> Guest: irrelevant if it is an image or not - you decide how to use the file in fluid
  • 10:42:00 <randomresult> well it should index ALL if no comments are set. but yes, i had that set too
  • 10:42:25 * randomresult is getting some valium now. brb
  • 10:44:19 <Guest|26130> @Benjami ok and thank you
  • 10:51:59 <BenjaminR> FYI: if your pagenotfound handling isnt working check for $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['realurl']['init']['postVarSet_failureMode'] = ''
  • 10:52:36 <randomresult> BenjaminR could you now repair my indexed search.
  • 10:52:36 <FT3BOT> Welcome back randomresult!
  • 10:52:37 <randomresult> thx.
  • 11:37:52 <fger> hi guys, does anybody know how to disable the logging to sys_log for TCEmain operations ?
  • 11:37:53 <FT3BOT> Welcome back fger!
  • 11:38:17 <fger> recursive copying of a subtree is nearly impossible cause the sys_log table is spammed and locks the DB quit often
  • 11:38:18 <fger> e
  • 11:48:03 <fger> I tried to modify the Datahandler object in a hook by setting ...$tce->enableLogging = FALSE;
  • 11:52:57 <ndee_> what's the easiest way to create an array with values from 1-30 in a fluid template?
  • 11:53:10 <ndee_> so that it can be used in a <f:form.select>
  • 11:53:10 <FT3BOT> ¯\_(ツ)_/¯
  • 12:00:02 <ndee_> I tried something like: {v:iterator.for(from: 1, to: 30) -> v:var.set(name: 'durationDays')} but durationDays stays null
  • 12:18:32 <ndee_> Is there a way to mirror the fedext.net viewhelper documentation? I just realized how dependant I am on it.
  • 12:36:44 <randomresult> anyone working with sliding of FCE in here?
  • 12:36:56 <randomresult> it seems im too stupid for that
  • 13:01:54 <fger> randomresult: sliding is done in typoscript i guess ?
  • 13:02:14 <fger> or with viewhelpers in fluid page-templates ofc
  • 13:03:07 <fger> FYI: @all :i managed to hook into DatabaseHandler process_cmdmap + process_datamap functions and disable the logging of TCEMain object there. Made it switchable in extension-manager
  • 13:03:36 <randomresult> fger its made using the VH
  • 13:03:49 <fger> better solutino would be to detect if recursiveness is given for the copy/move command and the paste/paste-after cmd and disable logging only for that case
  • 13:03:56 <randomresult> <v:content.render column="0" slide="-1"></v:content.render>
  • 13:03:58 <fger> the vh should have an attribute
  • 13:04:17 <randomresult> now it only shows the content from the rootpage on subpages
  • 13:04:23 <randomresult> not the content of the subpages
  • 13:04:53 <randomresult> i managed it to show both - content from root and Subpages ... but not only to show the content of the subpage if it exitst
  • 13:05:32 <fger> ?
  • 13:06:49 <fger> so if a content exists on the current page in that column, it still slides ?
  • 13:07:20 <fger> or what is subpage for you ? a page between root and current ?
  • 13:07:25 <fger> or a subpage of current ?
  • 13:07:54 <fger> normally sliding is stopped if TYPO3 encounters a object in the col up the rootline
  • 13:08:04 <fger> you also have slideCollect attribute
  • 13:17:12 <randomresult> no, the slidecollect is not there anymore
  • 13:17:19 <randomresult> i cannot set it to 0
  • 13:29:11 <randomresult> im using this <v:page.info field="nav_title"/></span>
  • 13:29:32 <randomresult> works good unless there is a nav-title... but doesnt if not
  • 13:29:45 <randomresult> can i use something like <v:page.info field="nav_title||title"/></span>?
  • 13:32:18 <fger> dunno sry
  • 13:32:25 <fger> you would have to look into the viewhelper
  • 13:32:27 <fger> brb
  • 13:33:55 <randomresult> its an old vhs
  • 13:34:01 <randomresult> dont think it still exists
  • 13:35:11 <randomresult> upps... documentaiton does not work?
  • 14:00:26 <JustAPoring> I also just noticed the documentation seems to be dead :(
  • 14:00:36 <JustAPoring> The navigation on the left does not work
  • 15:00:37 <featdd> hi@all :-)
  • 15:02:04 <batjony> guys, how you can comment some part of fluid code ?
  • 15:02:24 <batjony> <!-- bla bla --> does not work ?
  • 15:02:37 <mrboe> f:comment
  • 15:02:37 <FT3BOT> ¯\_(ツ)_/¯
  • 15:03:06 <batjony> mrboe: so f:comment is the only way ?
  • 15:03:07 <FT3BOT> ¯\_(ツ)_/¯
  • 15:03:19 <mrboe> i think so
  • 15:03:23 <batjony> ok 10x
  • 15:16:58 <batjony> guys, i have a custom content element, which reads the pages from some sys folder; by default the CE will read the first page from this sub folder; so my question is how can I get the page uid of the first page in this sub folder ?
  • 15:21:33 <batjony> for example i can get all page uid in this sys folder like: <v:page.menu pageUid="{sysFolderPageUid}" as="menuItems"><f:for each="{menuItems}" key="pageUid">.....some logic with the page uid.......</f:for></v:page.menu>
  • 15:21:33 <FT3BOT> ¯\_(ツ)_/¯
  • 15:21:44 <batjony> but how can I get only the first one ?
  • 15:22:41 <featdd> dont exactly understand what you're trying to do
  • 15:22:42 <GRIMMCREATIVE> v:iterator.first()
  • 15:23:09 <mrboe> <v:page.menu pageUid="{sysFolderPageUid}" as="menuItems"><f:for each="{menuItems}" key="pageUid" itteration="iter">
  • 15:23:09 <FT3BOT> ¯\_(ツ)_/¯
  • 15:27:57 <Guest|yoda> Any http://fluidtypo3.org/ Admin online?
  • 15:29:23 <Guest|yoda> Im unable to browse the Viewhelper Reference in Google Chrome
  • 15:29:28 <Guest|yoda> http://fluidtypo3.org/viewhelpers.html net::ERR_CONTENT_LENGTH_MISMATCH
  • 15:29:51 <Guest|yoda> Firefox is fine just Chrome is messed up
  • 15:30:01 <batjony> GRIMMCREATIVE: v:iterator.first - I saw its documentation, its written that "Returns the first element of $haystack", but how can I access then its key or value ?
  • 15:30:53 <batjony> <v:page.menu pageUid="{sysFolderPageUid}" as="menuItems"><v:iterator.first haystack="menuItems"> and then what ?
  • 15:34:01 <GRIMMCREATIVE> {menuItems -> v:iterator.first() -> v:var.set(name: 'menuItem')} - i am not so familiar with it. i use it to get something like the first image
  • 15:48:39 <batjony> GRIMMCREATIVE: are you sure that this works for you {menuItems -> v:iterator.first() -> v:var.set(name: 'menuItem')} , the first part works, but if i add -> v:var.set(name: 'menuItem') then an error occurs "Could not analyse class:FluidTYPO3\Vhs\ViewHelpers\Var\SetViewHelper maybe not loaded or no autoloader?"
  • 15:49:50 <GRIMMCREATIVE> v:variable.set
  • 15:49:53 <GRIMMCREATIVE> sorry
  • 15:49:56 <GRIMMCREATIVE> older version
  • 16:00:56 <mrboe> hey guys, i need a field to select a folder, not a file - is that possible
  • 16:15:35 <mrboe> nobody?
  • 16:18:51 <GRIMMCREATIVE> i know i used it - but cant find it
  • 16:23:44 <mrboe> @GRIMMCREATIVE why should FBT work without styled content
  • 16:24:13 <GRIMMCREATIVE> oh no, it was with field.select tables="pages" condition"AND doktype=254" to get all pages so i can select the folder i need
  • 16:25:00 <GRIMMCREATIVE> mrboe ? i was trying FBT the first time and just wondered why it wont work with fluidcontent_core
  • 16:31:20 <mrboe> pecause we startet with the intension to update fluidpages_bootstrap and fluidcontent_bootstrap
  • 16:31:21 <mrboe> but i also had the idea to integrate fluidcontent_core - i think this is something we had to talk about
  • 16:49:37 <batjony> guys if {menuItems->v:iterator.first()} returns me a key-value array, how can I get the array value for particular key
  • 16:49:38 <batjony> something like {menuItems->v:iterator.first()->v:variable.get(key: 'uid')} but of course v:variable.get(key: 'uid') does not exist
  • 16:49:38 <batjony> GRIMMCREATIVE: some idea ?
  • 16:50:49 <GRIMMCREATIVE> sorry but - no. this becomes to much for me :D
  • 16:51:42 <batjony> ok np :)
  • 16:51:43 <GRIMMCREATIVE> i do not really understand what you want to achieve
  • 16:52:19 <batjony> i need the page uid of the first page
  • 16:52:30 <batjony> menuItems->v:iterator.first() returns an array
  • 16:52:49 <GRIMMCREATIVE> oh wait
  • 16:53:58 <Guest|89889> hi all, how can i simply add up 2 float values?
  • 16:53:58 <batjony> menuItems->v:iterator.first() returns the first page as an array, so if I want to get the page uid i should access this array - the key 'uid'
  • 16:54:11 <GRIMMCREATIVE> can you post your code - i mean gist or so. i have something similar
  • 16:54:44 <GRIMMCREATIVE> @batjony
  • 16:54:48 <batjony> nothing special, thats it: <f:debug>{menuItems->v:iterator.first()}</f:debug>
  • 16:54:49 <FT3BOT> ¯\_(ツ)_/¯
  • 16:56:02 <batjony> lets ask the guru NamelessCoder :)
  • 16:56:16 <batjony> NamelessCoder: if {menuItems->v:iterator.first()} returns me a key-value array, how can I get the array value for particular key
  • 16:56:29 <GRIMMCREATIVE> i will get this for you - for shure. please need practise :D
  • 16:57:29 <batjony> i think something like {menuItems->v:iterator.first()->v:variable.get(key: 'uid')} should exist... but still finding the correct solution
  • 16:57:30 <randomresult> ok. i will get mad NOW
  • 16:57:54 <Guest|89889> how can i use v:math.sum with arrays? i have an array with values and it needs to be sum'ed ;)
  • 17:03:17 <soee> documentation problem: GET http://fluidtypo3.org/viewhelpers/ net::ERR_CONTENT_LENGTH_MISMATCH
  • 17:04:00 <GRIMMCREATIVE> batjony https://gist.github.com/grimmcreative/0194c87b5dc032207a79
  • 17:04:47 <GRIMMCREATIVE> page uid of first item from sysfolder
  • 17:07:53 <batjony> GRIMMCREATIVE: thats it, thanks :)
  • 17:08:27 <GRIMMCREATIVE> your welcome
  • 17:10:51 <randomresult> anyone uses <v:content.render column="0" slide="-1"
  • 17:11:10 <randomresult> as soon as i use this, it collects all contents up the rootline on column 0
  • 17:11:30 <randomresult> but i want something else...
  • 17:11:48 <GRIMMCREATIVE> because of -1 or not
  • 17:11:49 <randomresult> i want to display column 0 from that page. if its empty, slide up and show the content
  • 17:12:14 <randomresult> -1 means slide up till first level...
  • 17:12:34 <randomresult> means if i have 4 levels with content on each level it will show me 4 ce's
  • 17:13:03 <randomresult> limit 1 will always show the content from uid 1
  • 17:13:26 <randomresult> help... it drives me crazy
  • 17:14:38 <randomresult> or in other words: is there a way to select the ce's from colum=0 if there are some... otherwise slide up until you find some in column 0?
  • 17:18:47 <randomresult> @theteam?
  • 17:19:17 <Outdoorsman> randomresult, I was talking with a few people about that here about 2 weeks ago I think.
  • 17:19:26 <randomresult> and?
  • 17:19:30 <randomresult> hi charles
  • 17:19:40 <Outdoorsman> Some of the functionality that used to exist has been dropped.
  • 17:19:51 <randomresult> but this means: its unusable
  • 17:20:07 <randomresult> i dont want to collect... i want to show if there - else slide up
  • 17:20:12 <randomresult> NOT collect
  • 17:20:14 <Outdoorsman> Well there was what I would consider a hack that was mentioned as a work around.
  • 17:20:29 <randomresult> mentioned where?
  • 17:20:35 <Outdoorsman> #fedext
  • 17:20:41 <randomresult> grrr...
  • 17:20:53 <randomresult> ok. will take a short break
  • 17:21:00 <randomresult> you run?
  • 17:21:04 <randomresult> 1600m?
  • 17:21:19 <Outdoorsman> Just to keep in shape... I never competed at it.
  • 17:21:36 <randomresult> but 1600 ... will take something like... 6 minutes
  • 17:21:47 <randomresult> a bit short isnt it?
  • 17:22:05 <Outdoorsman> I ran it in 5:50 about two years ago. I'm going to see if I can get down to 5:30.
  • 17:22:24 <randomresult> take 10k in 50 :)
  • 17:22:47 <randomresult> anyway. will look for my boy now.
  • 17:22:52 <randomresult> see yall later
  • 17:23:15 <Outdoorsman> Can you do that?
  • 17:32:07 <Outdoorsman> Here's about where the conversation about slide started... http://fluidtypo3.org/community/irc-logs.html#20:11:00
  • 17:39:47 <Outdoorsman> You know randomresult... why don't you just use TS instead. It's freely available there still... I honestly don't know the reasoning behind dropping some of slide's functionality as that's a very useful feature. Sounded like it was a lot of work to get the programming straight or something and for lack of time it got dropped but I could be wrong.
  • 17:39:51 <Outdoorsman> Catch you later.
  • 18:07:36 <NamelessCoder> you can call me "TYPO3 hook Jesus"
  • 18:10:46 <NamelessCoder> batjony see v:iterator.extract, chain with v:iterator.first to extract the raw value
  • 18:10:53 <xaver> NamelessCoder: http://img1.wikia.nocookie.net/__cb20140123064325/southpark/images/2/2b/Jesus_%26_God_Lg.png god :P
  • 18:10:57 <NamelessCoder> hehe
  • 18:11:32 <BenjaminR> NamelessCoder: Is there a approval process on fluidshare?
  • 18:11:37 <NamelessCoder> randomresult {array -> v:math.sum()} should work. The ViewHelper is (or rather should be) a so-called SingleMathViewHelper
  • 18:11:38 <BenjaminR> Just to be uptodate
  • 18:11:56 <NamelessCoder> BenjaminR yes; it's all stored as records in the DB awaiting confirmation
  • 18:12:05 <NamelessCoder> I sometimes edit the topic and description for consistency
  • 18:12:34 <NamelessCoder> randomresult see https://github.com/FluidTYPO3/vhs/pull/656
  • 18:12:39 <BenjaminR> Id love if you tell me what should be in there
  • 18:12:59 <BenjaminR> Or read: what shouldnt be there
  • 18:13:11 <randomresult> @NamelessCoder will this be merged?
  • 18:13:16 <NamelessCoder> basically, things people ask for in this channel are ideal topics for gists and if you already made a gist to answer a question from this channel, please submit
  • 18:13:29 <NamelessCoder> randomresult yes, but maybe not in the state it's currently in
  • 18:13:31 <BenjaminR> http://fluidtypo3.org/library/code-examples.html <- something ate the assets
  • 18:15:15 <NamelessCoder> cache clear timing. Heavy traffic.
  • 18:15:42 <randomresult> f*ck... i work with submodules...
  • 18:15:59 <randomresult> its working... and now i cant use it!!!!
  • 18:16:01 <randomresult> hell...
  • 18:16:04 <randomresult> i hate today
  • 18:16:47 <BenjaminR> NamelessCoder: i see
  • 18:17:19 <NamelessCoder> stupid hooks, btw
  • 18:27:58 <NamelessCoder> Some days you just can't get rid of a bug --Batman, 1965