IRC logs

20140419

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

IRC log range: 20140419*

20140419

  • 10:17:05 <Guest|62155> hello, i installed flux, vhs, ... from TER and development builder extension
  • 10:17:21 <Guest|62155> i created an extension and installed it without changes
  • 10:17:56 <Guest|62155> i get an error during checking like: class 'TYPO3\CMS\Core\Utility\ExtensionManagementUtility\ExtensionManagementUtility' not found in ext_tables.php on line 6
  • 10:18:46 <Guest|62155> YPO3\CMS\Core\Utility\ExtensionManagementUtility\ExtensionManagementUtility::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'Some Text');
  • 11:07:22 <Denyerek> If you're happy and you know it! :)
  • 11:23:39 <Denyerek> Mornin all.
  • 11:24:27 <Guest|62155> morning
  • 11:29:37 <Denyerek> Could anyone suggest why this doesn't seem to include a JS file, OR throw an error ?
  • 11:30:27 <Guest|62155> <- newbie
  • 11:30:46 <Denyerek> https://gist.github.com/Denyerec/bfe544c6e1ffb0e82283#file-pageobjects-html-L10
  • 11:30:48 <Denyerek> Me too dude.
  • 11:30:55 <Denyerek> BTW do this: /nick yourName
  • 11:31:00 <Denyerek> No-one likes Guest nicks ;)
  • 11:31:14 <Denyerek> I can't remember if benjaminr goes uppercase when he's AFK, or lowercase.
  • 11:33:57 <yourName> ;-)
  • 11:35:42 <yourName> i guess lowercase means away - if there is a difference
  • 11:35:58 <yourName> on the community site he write his name upper
  • 11:38:13 <Denyerek> Interesting way to indicate it...
  • 11:38:14 <FT3BOT> Welcome back Denyerek!
  • 11:38:18 <Denyerek> Aww
  • 11:38:24 * Denyerek hugs FT3BOT
  • 11:40:51 <Denyerek> So did you need help, yourName ?
  • 11:41:14 <yourName> not now. i helped myself
  • 11:41:26 <yourName> i just wait for the next problem *g*
  • 11:41:42 <yourName> i run into a builder bug
  • 11:43:47 <Denyerek> :)
  • 12:02:03 <yourName> anybody works with these funny builder?
  • 12:11:09 <Denyerek> https://gist.github.com/Denyerec/6070892f4ac6682a4176
  • 12:11:17 <Denyerek> Looking for a neater way to do this... any offers?
  • 12:11:26 * Denyerek wonders if soee is awake and working today
  • 12:16:36 <Denyerek> Hmp
  • 12:16:47 <Denyerek> Now I have a more complex question regarding typolink generation.
  • 12:16:58 <Denyerek> I have a link wizard in my CE, which can obviously be for external pages or internal.
  • 12:17:03 <Denyerek> If it's internal, the field holds a number.
  • 12:17:09 <Denyerek> If it's external it obviously holds a URL...
  • 12:17:19 <Denyerek> Are there any viewhelpers that will automagically sort this out to render the href ?
  • 13:12:26 <Denyerek> randomresult !
  • 13:12:29 <Denyerek> Welcome back :)
  • 13:12:34 * Denyerek is impersonating FT3BOT today
  • 13:17:58 <randomresult> afk
  • 13:18:02 <randomresult> and back!
  • 13:18:03 <FT3BOT> Welcome back randomresult!
  • 13:25:49 <yourName> the first steps are so hard :-(
  • 13:28:23 <yourName> i just try to output my first hello world ;-), but it doesn't work
  • 13:28:46 <yourName> are content templates necessary for the first hello world?
  • 13:39:29 <randomresult> yourName there is fluidbootstraptheme - you can simply install that on a blank t3 6.2 and see it working
  • 13:41:53 <yourName> mhm but you know there is the thing like: Chakka i can do it ;-)
  • 13:41:55 <randomresult> yourName take the devbranch https://github.com/bootstraptheme-for-typo3/fluidbootstraptheme/tree/development
  • 13:42:28 <randomresult> then give it a try :) find some documentation on fluidtypo3.org
  • 13:42:50 <yourName> i will be crazy with this docu
  • 13:43:05 <randomresult> hehe
  • 13:43:16 <yourName> i note 3 problems with one stopper. i will mail it if my hello world works
  • 13:43:19 <randomresult> u need to be a fighter
  • 13:43:22 <yourName> hehe
  • 13:43:50 <randomresult> and change ur name!
  • 13:43:56 <yourName> okok
  • 13:43:59 <randomresult> :)
  • 13:44:28 <randomresult> that is a nice one!
  • 13:44:40 <Harpagophyt> args
  • 13:44:53 <Harpagophyt> is there typoscript necessary to get my hello world?
  • 13:45:15 <randomresult> the best to start is to build a provider-Extension
  • 13:45:33 <randomresult> get EXT:builder and build one in less than a minute
  • 13:45:41 <randomresult> it will bring all necessary with it
  • 13:45:52 <Harpagophyt> i work with this
  • 13:45:56 <randomresult> good.
  • 13:45:57 <Harpagophyt> it is also buggy
  • 13:46:06 <Harpagophyt> there was the stopper
  • 13:46:23 <randomresult> then install your provider and add the TS to your root-template (include)
  • 13:46:30 <randomresult> should work out of the box
  • 13:46:41 <Harpagophyt> no it doesnt out of the box
  • 13:46:45 <Harpagophyt> but it was working
  • 13:46:57 <Harpagophyt> but i now want to implement the example from the manual
  • 13:47:08 <Harpagophyt> i am too stupid to do it
  • 13:47:19 <randomresult> how long have u been trying?
  • 13:47:47 <Harpagophyt> no idea, must always leave for some things ...
  • 13:48:29 <randomresult> as i do. need to leave for the kitchen now
  • 13:49:06 <Harpagophyt> thx for help :-)
  • 14:24:28 <Denyerek> randomresult, you there ?
  • 14:24:34 <Denyerek> I can't figure out this inline syntax :(
  • 14:24:44 <Denyerek> I need a page of examples someplace.
  • 14:53:17 <randomresult> now
  • 14:54:13 <Denyerek> Hey
  • 14:54:17 <Denyerek> Different Q
  • 14:54:28 <Denyerek> I have a client with a bunch of tesimonials.
  • 14:55:03 <Denyerek> I was thinking of making an FCE for one testimonial, then having them populate a page full of these
  • 14:55:10 <Harpagophyt> https://gist.github.com/anonymous/82c07291d34f83949a48
  • 14:55:16 <Denyerek> Then I was thinking I could pull them at random from this testimonials page
  • 14:55:45 <randomresult> and?
  • 14:55:46 <Denyerek> I suspect I might need Claus to verify this actually.
  • 14:55:48 <Denyerek> Well
  • 14:55:56 <Denyerek> if it's random every page load it'll screw with caching right ?
  • 14:56:00 <randomresult> mrboe did a randomcontainer
  • 14:56:13 <randomresult> you can disable cache with VH
  • 14:56:49 <Denyerek> Would be handy to pick a new random one ever hour
  • 14:58:04 <randomresult> ok. go for Claus :)
  • 14:58:08 <Denyerek> Hehe
  • 14:58:10 <randomresult> and ask mrboe for the element
  • 14:58:14 <randomresult> i dont find it right now
  • 14:58:18 <Harpagophyt> somebody can tell me whats wrong with my files - plz
  • 14:58:23 <Denyerek> I see it as "get array of all testimonial CE's from page"
  • 14:58:46 <Denyerek> "Do some maths based on the time of day to pick the relevant one"
  • 14:59:06 <Denyerek> Harpagophyt, what error do you see
  • 15:00:24 <Denyerek> Harpagophyt, right, the content renderings want to be in your template
  • 15:00:26 <Harpagophyt> no error, just the div soup from the layout but no content from the site
  • 15:00:29 <Denyerek> and then you call those sections
  • 15:00:35 <Denyerek> let me edit the gist one mo
  • 15:02:58 <Denyerek> https://gist.github.com/Denyerec/e6cc922e63f560d55a51
  • 15:07:30 <Harpagophyt> hmm, same result - but now i understand something better
  • 15:18:02 <Denyerek> Silly question
  • 15:18:08 <Denyerek> but you do have some content to output, right ?
  • 15:18:55 <Harpagophyt> yes i have
  • 15:19:17 <Harpagophyt> i checked it often ;-)
  • 15:21:04 <Harpagophyt> ok, i will give up. i try it tomorrow again
  • 15:21:15 <Harpagophyt> but i think i will use the traditional way
  • 15:22:51 <Denyerek> Dude
  • 15:22:55 <Denyerek> Seriously
  • 15:22:58 <Denyerek> You want to be using this.
  • 15:23:05 <Denyerek> It took me about a week to get my head around it
  • 15:23:09 <Denyerek> But now I can't imagine going back
  • 15:23:43 <Harpagophyt> i know
  • 15:23:49 <Denyerek> Have you installed the fluidpages_bootstrap and fluidcontent_bootstrap extensions ?
  • 15:23:58 <Harpagophyt> but the documentation is too bad this time
  • 15:24:00 <Denyerek> They have sample templates in them that are very informative.
  • 15:24:12 <Harpagophyt> and in the docs are bad mistakes
  • 15:24:19 <Denyerek> Did you see the 3 part blog series on getting started?
  • 15:24:27 <Harpagophyt> and i want to get a hello world without finished examples
  • 15:24:58 <Denyerek> Then follow this:
  • 15:25:16 <Denyerek> https://worksonmymachine.org/blog/fluidtypo3-quickstart
  • 15:25:44 <Denyerek> If you use builder you can start on step 2 I guess
  • 15:26:58 <Harpagophyt> i will try it tomorrow - thx
  • 15:28:57 <Harpagophyt> cu
  • 16:28:33 <Denyerek> NamelessCoder, how to set data-src attribute via f:image ?
  • 16:28:58 <Denyerek> additionalAttributes ?
  • 16:29:19 <Denyerek> Cos if so... how do I omit src ?
  • 16:29:25 <Denyerek> (For lazyloading images)
  • 16:39:05 <Denyerek> danilobuerger, if you're there, I have an odd problem. I am creating a gist now.
  • 16:41:00 <Denyerek> https://gist.github.com/Denyerec/0cff17049af3878c2379#file-gistfile1-phtml-L51
  • 16:41:18 <Denyerek> on line 44, settings.slideshow.id is parsed fine.
  • 16:41:32 <Denyerek> On line 51, the {settings.slideshow.interval} is rendered as plain text.
  • 16:41:52 <Denyerek> The odd thing is, this WAS working, I can't pin down exactly what changed to nuke it.
  • 16:42:27 <Denyerek> Oh, I had a literal.
  • 16:43:26 <Denyerek> I've just stuck in "" for now.
  • 16:48:33 <Denyerek> Hmm
  • 16:48:40 <Denyerek> I also seem unable to debug "settings"
  • 16:48:54 <Denyerek> it's just returning "array 8" as if it's parsing the string.
  • 16:49:10 <Denyerek> I thought the whole point of using settings. was to make sure it was available ?
  • 17:07:33 <Denyerek> Weird.
  • 17:50:20 <soee_> Hmm whers Denyerek ?
  • 20:00:50 <Harpagophyt> hello
  • 20:01:54 <Harpagophyt> somebody who can help me my hello world example to debug
  • 20:09:33 <Harpagophyt> hmpf :-)
  • 20:10:39 <Denyerek> hey Harpagophyt
  • 20:10:47 <Denyerek> Did you look at the blog post I sent you ?
  • 20:11:02 <Harpagophyt> it is the same like the documentation
  • 20:11:19 <Denyerek> Hmm, it seemed to be OK to me :/
  • 20:11:21 <Harpagophyt> I think all is well, but I have a version problem
  • 20:11:32 <Denyerek> Which version of typo3 are you using
  • 20:11:37 <Denyerek> and which versions of all the extensions ?
  • 20:11:44 <Harpagophyt> 6.2.1 and all extensions from TER
  • 20:12:30 <Harpagophyt> The builder extension is from GIT
  • 20:12:54 <Harpagophyt> the builder example was working (ignoring the existing bug which i solved)
  • 20:13:11 <Harpagophyt> but the builder example only works with hard coded text
  • 20:14:44 <Harpagophyt> flux 7.0.0, fluidpages 3.0.0, fluidcontent 4.0.0, vhs 1.8.5, builder 0.10.0
  • 20:15:05 <Harpagophyt> fluidcontent_bootstrap 3.0.0
  • 20:17:08 <Harpagophyt> hmm no, it works a little bit
  • 20:17:43 <Harpagophyt> this works in BE and FE: <flux:field.input name="settings.pageClass" default="some-css-class" />
  • 20:42:11 <Harpagophyt> hmm i checked the tutorial again. but nothing helps
  • 20:42:35 <Harpagophyt> if i add static text to the layout it will works too
  • 20:42:56 <Harpagophyt> <f:render section="Sidebar" /> this one wont work
  • 22:53:47 <Denyerek> NamelessCoder, now is no time to be breaking the docs!!!
  • 22:54:01 <Denyerek> http://fluidtypo3.org/viewhelpers/flux/master/Grid/ColumnViewHelper.html
  • 22:54:02 <Denyerek> :(
  • 23:11:15 <Denyerek> benjaminr, danilobuerger, don't suppose either of you are there? I have an issue with a variable not being parsed by fluid. Gist upcoming.
  • 23:12:31 <Denyerek> https://gist.github.com/Denyerec/d9f00b4c48b76c75ef9a
  • 23:12:56 <Denyerek> soee, cedricziel maybe ?
  • 23:13:02 <Denyerek> I just don't see what's wrong :(
  • 23:13:30 <soee> Denyerek: put the configuration array in CDATA
  • 23:14:11 <soee> Denyerek: check http://gitlab.soee.pl/typo3/soee-cookiecuttr/blob/master/Resources/Private/Templates/Cookie/Render.html
  • 23:14:32 <Denyerek> Really ?
  • 23:14:40 <Denyerek> But why would one render and not the other ?
  • 23:14:43 <Denyerek> To do with the quotes, perhaps ?
  • 23:15:55 <soee> what rendered and what not exaclty ?
  • 23:16:04 <Denyerek> The first var renders out
  • 23:16:08 <Denyerek> the second doesnt
  • 23:16:14 <Denyerek> you can see , I included the output I get.
  • 23:16:21 <Denyerek> the ID renders, the interval does not
  • 23:24:37 <Denyerek> The CDATA fixed it...
  • 23:24:39 <Denyerek> I just wonder why :)