IRC logs

20140513

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

IRC log range: 20140513*

20140513

  • 00:09:34 <TYPO3ua> I found solution .... thanks {v:page.info(field: 'pid')}
  • 08:15:09 <cedricziel> Ahoy #fedext!
  • 08:31:47 <jlumpe> o>
  • 08:36:33 <soee> yo
  • 08:56:32 <bjo3rn> early birds ftw
  • 08:59:18 <mrboe> goood morn zzzzZZZZZ
  • 09:20:46 <Torstenn> Hello, anyone knows how i can get the uribuilder in a, e.g. DownloadService, Class?
  • 09:34:52 <Torstenn> noone an idea?
  • 10:00:45 <cedricziel> Torstenn?
  • 10:00:59 <cedricziel> Ach, god damnit.
  • 10:01:38 <cedricziel> Who ever may read this in a future far far away-this is no one to one express-answering machine.
  • 10:06:06 <Denyerec> hahah cedricziel :)
  • 10:13:10 <Jeff_Tollwerk> Morning guys, we're currently using danilobuergers latest version of flux (https://github.com/hmspl/flux/tree/development) and copy-paste does not really work. Nested FCE-structures are not inserted at the position we click in the backend and nested relations are lost, so that localization doesn't work either. I stumbled around on github and found
  • 10:13:10 <Jeff_Tollwerk> that this is a current problem. Are there any solutions so far?
  • 10:40:04 <Denyerec> Hang tight and wait for NamelessCoder or danilobuerger
  • 10:46:22 <BenjaminR> :) Hi Guys
  • 11:08:36 <Jeff_Tollwerk> *hanging tight*
  • 11:18:19 <hans> hi there!
  • 11:18:30 <hans> i got this tpl: https://gist.github.com/anonymous/69b8e7b708414b9b3b5c
  • 11:18:38 <hans> it a gallery of pics
  • 11:19:02 <hans> no i want to add one select input for the element, but i dosnt work
  • 11:19:11 <hans> what am i doing wrong?
  • 11:19:40 <bjo3rn> hans why the nested array?
  • 11:19:52 <bjo3rn> hi y'all ofc ^^
  • 11:20:28 <bjo3rn> items should be {0: '', 1: ''slideviewer', ...}?
  • 11:21:04 <hans> hm had this one in an other tpl and it worked!
  • 11:21:09 <bjo3rn> or counterquestion: what does 'it doesn't work mean'?
  • 11:21:42 <hans> the images are shown in the BE, the select not!
  • 11:22:37 <bjo3rn> it's outside of the object
  • 11:22:54 <bjo3rn> move it outside of the section i.e.
  • 11:23:42 <bjo3rn> so first the select, then the section
  • 11:24:08 <hans> yeah your right :-D
  • 11:24:16 <hans> works now! thx alot!
  • 11:25:04 <bjo3rn> yw ;)
  • 11:27:33 <hans> last week i had strange problem with my fuild extention, found the error: i had old files of extentions still exisiting in the diretory; so i had to delete all and the upload the new!
  • 11:27:43 <hans> now ervything works fine!
  • 11:28:00 <hans> (if you remember, my posting last week)
  • 11:28:08 <hans> my fault! :-/
  • 11:37:34 <bjo3rn> not really, no. but good to hear you figured it out.
  • 12:13:46 <hans> i got another iusse; see the tpl here: https://gist.github.com/anonymous/789f3986c21d0c013184
  • 12:14:14 <hans> the {record.uid} inside the script isn´t renderd!
  • 12:19:42 <jlumpe> bjo3rn: for a new site, getting all the latest github branches is preferable to TER releases, yes?
  • 12:20:03 <jlumpe> (content_core, flux, fluid_pages)
  • 12:20:56 <bjo3rn> jlumpe for the content_core stunt it is crucial to use all latest dev branches, yes
  • 12:21:09 <bjo3rn> hans is this an fce?
  • 12:21:17 <hans> yes
  • 12:21:39 <bjo3rn> .oO
  • 12:21:44 <jlumpe> latest dev, ok
  • 12:23:30 <jlumpe> bjo3rn: finally got ssh access on my private devh ost, so nice to just typ3 4x git clone :D
  • 12:24:07 <bjo3rn> can't live without it imho
  • 12:24:12 <jlumpe> ;)
  • 12:24:23 <jlumpe> btw, builder currently shows a build error on https://github.com/FluidTYPO3/builder/tree/development
  • 12:24:31 <jlumpe> on master as well
  • 12:25:00 <jlumpe> hm, badge must be broken
  • 12:26:39 <bjo3rn> yes, seems so.
  • 12:27:22 <bjo3rn> hans works here. which versions?
  • 12:28:41 <hans> fluidcontent 3.1.0
  • 12:29:40 <bjo3rn> try <f:debug>{_all}</f:debug> to see what's there
  • 12:29:55 <bjo3rn> ehem, or {_all -> f:debug()}
  • 12:29:57 <hans> it is present!
  • 12:30:24 <hans> it is not renderd inside the javascript part because of the ... function {
  • 12:30:28 <bjo3rn> ah!
  • 12:30:40 <bjo3rn> I didn'T spot that.
  • 12:30:47 <bjo3rn> I was looking at the id="" part
  • 12:30:56 <bjo3rn> wrap it in <f:format.raw>
  • 12:31:34 <hans> greate works :-)
  • 12:31:37 <hans> cool, thx!
  • 12:31:38 <bjo3rn> hehe
  • 12:31:41 <bjo3rn> yw
  • 12:36:34 <mrboe> @bjo3rn did i understand u right? when i have a JS i only have to wrap <f:format.raw>{myvalue}</f:format.raw> to get i working?
  • 12:36:45 <bjo3rn> yep
  • 12:36:57 <mrboe> that was a great hint - thanks
  • 12:37:00 <bjo3rn> hehe
  • 12:37:26 <bjo3rn> especially useful with v:asset.script and fluid="TRUE"
  • 12:37:42 <mrboe> this is exactly what i wanna do
  • 12:37:59 <bjo3rn> fluid is not able to distinct between a js object/hash and a template variable
  • 12:38:05 <bjo3rn> otherwise
  • 12:38:50 <bjo3rn> distinct? distinguish! ^^
  • 13:00:52 <GRIMMCREATIVE> how to get a fluidpages partial section inside fluidcontent? i remember there was a way but can´t find it
  • 13:07:42 <bjo3rn> GRIMMCREATIVE can you give some more details about what you are trying to achieve please?
  • 13:10:15 <GRIMMCREATIVE> just wanted to get some section from my partial file who is located inside the partials folder of my fluidpages template ext - to use it inside a fce of fluidcontent
  • 13:11:10 <bjo3rn> you keep fce and page templates in separate provider extensions?
  • 13:11:34 <GRIMMCREATIVE> i think the answer is yes
  • 13:13:00 <bjo3rn> I assume you have a special reason for that?
  • 13:14:23 <GRIMMCREATIVE> not for real :D - i never thought about it - just use it like the examples fluidcontent_bootstrap fluidpages_bootstrap
  • 13:16:07 <bjo3rn> hehe, ok, that explains
  • 13:16:37 <GRIMMCREATIVE> but now - i will rethink it - thanks for that :D
  • 13:16:37 <bjo3rn> I always put both in the same extension to have everything compacted
  • 13:16:57 <GRIMMCREATIVE> this would make things easier for me :D
  • 13:17:00 <bjo3rn> it's really nice to have that single extension that provides all templates and assets
  • 13:17:08 <GRIMMCREATIVE> for shure
  • 13:17:38 <GRIMMCREATIVE> ... Man Claus ... why you never told me this :P
  • 13:17:53 <GRIMMCREATIVE> lol
  • 13:18:32 <bjo3rn> hehe
  • 13:19:28 <GRIMMCREATIVE> he already saw a lot of my shit :D ... but now i know... start to rewrite this stuff here now
  • 13:19:38 <GRIMMCREATIVE> lots of fun
  • 13:20:07 <bjo3rn> nobrainers
  • 13:24:34 <hans> hey next thing: i want to make a fce where i can insert multipe content grouped in tabs, is this posible ?
  • 13:33:26 <bjo3rn> sure
  • 13:35:14 <hans> ö, just trying in the moment to get it to work !
  • 13:39:31 <bjo3rn> so, where's the problem?
  • 13:39:52 <bjo3rn> if I might ask ;)
  • 13:40:35 <mrboe> @hans https://github.com/bootstraptheme-for-typo3/fluidbootstraptheme/blob/development/Resources/Private/Templates/Content/Tabs.html
  • 13:43:49 <GRIMMCREATIVE> nav-{mode}s - thnk the s is to much :)
  • 13:44:10 <GRIMMCREATIVE> oh shit no
  • 13:44:16 <GRIMMCREATIVE> sorry
  • 13:47:00 <mrboe> @GRIMMCREATIVE fluidbootstraptheme combines fluidcontent_bootstrap fluidpages_bootstrap
  • 13:47:08 <mrboe> into one ext
  • 13:47:50 <mrboe> have a look into the dev https://github.com/bootstraptheme-for-typo3/fluidbootstraptheme/tree/development
  • 13:48:33 <hans> bjo3rn: no problem, i was to fast aksing the question! sry for that!
  • 13:48:55 <bjo3rn> no problem ;)
  • 13:50:55 <hans> :-)
  • 14:14:33 <mrboe> some offtopic > is it possible to configure php storm to highlight JS inside of <v:asset.script></v:asset.script>
  • 15:28:47 <Defos> Elo! Has anyone worked with the canonical VH? It seems to ignore CoolURI and creates index.php?id= URLs only.
  • 15:52:54 <cedricziel> Defos, nothing obvious there
  • 15:53:05 <cedricziel> it uses standard uriBuilder
  • 15:53:19 <cedricziel> so if cooluri hooks into that, all should be good
  • 16:03:16 <jlumpe> guys, did anybody create a powermail form which is submitted using ajax?
  • 16:07:01 <Defos> cedricziel: it works for everything else tho, just not that canonical VH
  • 16:35:13 <jlumpe> cedricziel: got a sec? if so: why is my ext_localconf.php only ever loaded once? i have a 'die' statement in there for testing, but it is never executed (frontend always loads)
  • 16:35:56 <cedricziel> there's some "smart caching"
  • 16:36:05 <cedricziel> that's why ;)
  • 16:36:17 <jlumpe> hmm
  • 16:36:17 <cedricziel> the original file is only ever invoked once
  • 16:36:26 <jlumpe> uh
  • 16:36:39 <jlumpe> i'm trying to figure out how to use the signalslots of powermail
  • 16:36:55 <jlumpe> so if the original file is only invoked once
  • 16:37:18 <jlumpe> it does not register my listeners for the signals?
  • 16:37:39 <cedricziel> it does-nevertheless
  • 16:38:05 <jlumpe> ok, then i'm clearly doing something wrong
  • 16:39:21 <jlumpe> ha!
  • 16:39:28 <jlumpe> interesting
  • 16:39:41 <jlumpe> i thought that i could use
  • 16:39:47 <jlumpe> new TYPO3\CMS\Extbase\SignalSlot\Dispatcher()
  • 16:39:54 <jlumpe> instead of t3lib_div::makeInstance('Tx_Extbase_SignalSlot_Dispatcher')
  • 16:40:04 <jlumpe> but that didn't work. but using t3_lib_div works..
  • 16:40:07 <cedricziel> nope
  • 16:40:16 <cedricziel> thats a singleton i think
  • 16:40:40 <jlumpe> yeah that explains
  • 16:41:32 <cedricziel> do you require 4.x systems to work?
  • 16:41:46 <jlumpe> ?
  • 16:41:48 <jlumpe> i don't think so
  • 16:41:53 <jlumpe> the page runs on 6.2
  • 16:42:01 <cedricziel> then use GeneralUtility instead of t3lib_div
  • 16:42:43 <jlumpe> using
  • 16:42:48 <jlumpe> GeneralUtility::instantiateClass ?
  • 16:42:49 <cedricziel> http://typo3.org/api/typo3cms/class_t_y_p_o3_1_1_c_m_s_1_1_core_1_1_utility_1_1_general_utility.html#a99623a1a2f1f8369d19d0e58c7feb4b0
  • 16:43:21 <jlumpe> ha
  • 16:43:22 <jlumpe> thanks :)
  • 16:43:25 <cedricziel> GeneralUtility _is_ lib_div
  • 16:43:42 <jlumpe> ah ok
  • 16:43:44 <cedricziel> and that will save you some hops
  • 16:43:51 <jlumpe> i assume it accepts a FQN?
  • 16:43:54 <cedricziel> and dperecation warnings :)
  • 16:43:58 <cedricziel> yes, it does.
  • 16:44:11 <cedricziel> even with preceeding slash and without double slash escaping
  • 16:44:37 <cedricziel> here's a usecase: http://typo3.org/api/typo3cms/backend_2_classes_2_utility_2_backend_utility_8php_source.html#l01130
  • 16:44:58 <cedricziel> in doubt follow this pattern though they use it inconsistently amongst the core
  • 16:45:11 <jlumpe> ok :)
  • 16:45:21 <cedricziel> ;)
  • 16:45:24 <jlumpe> the only thing i want to get working for now is a singal to hook into powermail
  • 16:45:30 <jlumpe> so i can get this ajax submit working
  • 16:45:54 <jlumpe> seems like there is no ready made ajax-submit extension for powermail 2
  • 18:34:25 <xaver__> i try to use json and rte content and everyhting works with v:format,json.encode, only link wizard fails and i find no solution
  • 21:40:26 <soee_> can someone check if section menu works in 6.2 ?