IRC logs

20141024

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

IRC log range: 20141024*

20141024

  • 08:07:23 <jmverges> good morning folks
  • 08:12:05 <jmverges> hi soee
  • 08:12:31 <soee> hiho
  • 09:47:36 <Guest|28185> Good morning. I've implemented v:page.header.link for shortcut icons on my site. It works fine in my Mac browsers, but my log files are reporting a LOT of 404s for the icons in IE, where the relative path for the files isn't respecting the base href. Is this a common problem?
  • 10:39:54 <ulrikkold> g'day people :)
  • 10:43:07 <Xatenev1> hola
  • 10:43:51 <Gilas> hi and good morning
  • 10:49:23 <bjo3rn> hi thezet. sorry for pointing you to the wrong channel :/
  • 10:54:05 <randomresult> hi bjo3rn
  • 10:54:10 <randomresult> hows it going ?
  • 11:00:22 <jmverges> hi folks, I'm trying to split xaver Vagrant in two different process
  • 11:00:38 <jmverges> anybody with puppet knowledge here?
  • 11:01:38 <bjo3rn> hi randomresult. it's going ok. how about you?
  • 11:02:01 <randomresult> well customer from hell
  • 11:02:17 <jmverges> xD
  • 11:02:51 <jmverges> randomresult, encourage
  • 11:19:19 <Denyerec> QUAKE IN FEAR
  • 11:19:21 <Denyerec> I am here
  • 11:19:24 <Denyerec> And I have a question.
  • 11:19:49 <Denyerec> I've generated a nifty block menu using subpage information
  • 11:19:51 <Denyerec> It's here:
  • 11:20:09 <Denyerec> http://www.albachiropractic.co.uk/what-we-treat/
  • 11:20:36 <Denyerec> Now my question is, am I able to sniff out the contents of the first content element on any linked page ?
  • 11:20:45 <Denyerec> Or, better, the first content element of a particular type
  • 11:23:44 <NamelessCoder> RUUUUUN! RUUUNAWAAAAAAAY!!!!
  • 11:25:03 <NamelessCoder> Denyerec v:content.get + pageUid
  • 11:25:26 <Denyerec> Ok
  • 11:25:31 <Denyerec> will that return it in a renderable state?
  • 11:25:41 <Denyerec> Or do I need to pass it through renderCObj or something such
  • 11:26:09 <NamelessCoder> v:content.render + contentElementUids for that
  • 11:26:31 <NamelessCoder> I assumed "sniff out" meant check, not render ;)
  • 11:27:39 <NamelessCoder> however, I just now thought of a way to make the content viewhelpers a bit nicer for this type of stuff
  • 11:28:30 <Denyerec> Well... I could just throw it into a <p> tag
  • 11:28:38 <Denyerec> as it's not SUPER important content
  • 11:28:47 <Denyerec> but it'd be nicer if I could render the HTMLarea text as html properly I guess.
  • 11:29:02 <Denyerec> How are you by the way? I've been awway for ages working on other things, I miss you guys :)
  • 11:29:25 <NamelessCoder> you got pleeeenty options if you combine v:content.get and v:content.render - but you can of course also just access the raw values of the first record returned by v:content.get
  • 11:29:57 <NamelessCoder> fine, thanks. Currently between projects (for another 7 days)
  • 11:30:06 <NamelessCoder> you? back on top? :)
  • 11:30:11 <Denyerec> Mmm. Still climbing.
  • 11:30:19 <Denyerec> I was pondering jumping into the photography full time
  • 11:30:27 <Denyerec> But then got contacted to do some UX work for a company down south.
  • 11:30:34 <Denyerec> That then turned into graphics work instead of UX
  • 11:30:36 <thezet> hi there, gents i don't understand.. why i cannot choose another template for internal page (
  • 11:30:43 <Denyerec> So who knows what the hell I'll be doing next week! :D
  • 11:31:07 <thezet> nvc.az/index.php nvc.az/index.php?id=7
  • 11:31:23 <NamelessCoder> nice how it can work out to fit a job to your skills, not vice versa :)
  • 11:32:23 <NamelessCoder> thezet could you explain what you mean by "cannot choose another template" and what would be an "internal" page as opposed to a regular page?
  • 11:32:50 <thezet> i use fluidtemplate... using templavoila i could create a new template and assign to one subpage
  • 11:33:11 <thezet> but i don't get how to make it using fluidtemplate
  • 11:34:43 <jmverges> thezet, did you create your provider extension?
  • 11:35:05 <jmverges> did you run the update script?
  • 11:35:21 <NamelessCoder> if you mean the FLUIDTEMPLATE cObject then that's not really our department. We (the team behind the extensions this channel is about) make extensions that allow you to do these things without using a lot of TypoScript (which is what you need to do if you use only FLUIDTEMPLATE). We document our extensions on fluidtypo3.org and you're welcome to give those a try - but I'm afraid time is precious and I can't offer my help teaching the use of
  • 11:35:22 <NamelessCoder> FLUIDTEMPLATE, sorry.
  • 11:35:24 <jmverges> did you add the ts files to your root page?
  • 11:35:33 <bjo3rn> hi guys
  • 11:35:54 <bjo3rn> thezet followed my blog post about single page design with ft3
  • 11:36:10 <jmverges> bjo3rn, url?
  • 11:36:17 <NamelessCoder> in case you're using our extensions, check that you performed all steps in our guide to get started - creating provider extension, selecting page template, and so on.
  • 11:36:22 <bjo3rn> and what he's got is working
  • 11:36:25 <bjo3rn> https://worksonmymachine.org/blog/onepage-design-with-fluidtypo3
  • 11:36:37 <bjo3rn> am I right thezet?
  • 11:36:53 <thezet> yes, seems that do something wrong but i don't understand what exactly
  • 11:37:09 <bjo3rn> so you have two page templates and layouts?
  • 11:37:19 <bjo3rn> (for the containing page)
  • 11:37:29 <Akii> hey NamelessCoder, what's this convention-over-configuration thing for extbase all about?
  • 11:37:52 <jmverges> bjo3rn, thank you
  • 11:38:00 <bjo3rn> yw
  • 11:38:36 <NamelessCoder> Akii not ready for show and tell yet. But in general terms, it's about a manifest-class strategy with more automation for defining stuff like plugins and modules
  • 11:38:41 <thezet> NamelessCoder I followed the guide, everything works fine.. i jsut cannot understand how to make new template... should I create it in frame of existing extension?
  • 11:38:58 <thezet> bjorn, u r right
  • 11:39:08 <Akii> NamelessCoder: I thought it might be able to generate TCA/SQL stuff automagically as well
  • 11:39:45 <NamelessCoder> thezet you create additional templates that you can select, simply by creating new files in your provider extension's folders for either Page or Content templates - Resources/Private/Templates is the location
  • 11:40:14 <NamelessCoder> Akii already have that, or at least an abstraction that lets you do things much, much quicker than TCA
  • 11:41:02 <Akii> it's a shame that the reflection service is so limited :(
  • 11:41:12 <NamelessCoder> you can use Form instances as TCA now, and there's also a convention-based detection in place
  • 11:42:44 <thezet> great, i created new template... i mean template file in /ext/extname/Resources/Private/Templates and layout in /ext/extname/Resources/Private/Layouts
  • 11:44:44 <thezet> but in my Typoscript Setup and have 10 = FLUIDTEMPLATE 10 { file = fileadmin/template/index.html
  • 11:45:32 <bjo3rn> thezet you are not using fluidpages?
  • 11:47:39 <thezet> i followed this guide - https://worksonmymachine.org/blog/fluidtypo3-quickstart-part-2
  • 11:48:33 <NamelessCoder> apparently you did another guide before that, because your setup currently isn't from our extensions
  • 11:51:43 <thezet> well, i'm again in wrong place. I would be very appreciated if someone could explain me how to assign new template.
  • 11:53:28 <thezet> i was searching in google, but seems that this is very confidential information which nobody dont want to share
  • 11:53:56 <bjo3rn> thezet it's not confidential, it's too obvious maybe ^^
  • 11:54:10 <bjo3rn> ok, step by step
  • 11:54:21 <thezet> i believe
  • 11:54:38 <thezet> but i can't..
  • 11:54:39 <bjo3rn> you have installed flux, fluidpages and vhs?
  • 11:54:47 <thezet> yes, bjorn
  • 11:54:58 <bjo3rn> you created a provider extension?
  • 11:55:13 <thezet> exactly, as described in tutorial
  • 11:55:37 <bjo3rn> you have two page templates and layouts now according to the single page post?
  • 11:56:26 <bjo3rn> ...and both live in yourext/Resources/Private/Templates/Page resp. yourext/Resources/Private/Layouts?
  • 11:56:42 <thezet> two templates in /resources/private/templates/ index.html (using for homepage) and page.html
  • 11:56:50 <thezet> and the same in Layouts folder
  • 11:57:41 <bjo3rn> ok, first of all mind the correct spelling of the folder names. by convention it's all upper case (first letter)
  • 11:57:51 <thezet> yes sure
  • 11:57:55 <bjo3rn> ok
  • 11:58:21 <thezet> index.html is used for homepage... nvc.az/index.php
  • 11:58:23 <thezet> it works ok
  • 11:58:38 <bjo3rn> now, which template is for the containing page and which for the single page sections?
  • 12:01:16 <thezet> good question, what is containing and single page? i have only one page template...
  • 12:01:50 <bjo3rn> okeeee. I assumed you referred to the 'single page layout' post.
  • 12:02:12 <bjo3rn> apparently you don't so forget that.
  • 12:02:13 <thezet> https://worksonmymachine.org/blog/fluidtypo3-quickstart
  • 12:03:39 <bjo3rn> ok, to make the templates selectable you simply need to provide different form ids to the flux forms in the configuration section of each page tempalte
  • 12:03:43 <bjo3rn> *template
  • 12:04:24 <bjo3rn> like <flux:form id="frontpage">...</flux:form> and <flux:form id="subpage">...</flux:form>
  • 12:04:54 <bjo3rn> and make sure the layouts are assigned correctly with <f:layout name="..."/>
  • 12:06:41 <thezet> OK
  • 12:07:27 <thezet> in my configuration in /Template/Page/Subpage.html - have absolutely new id
  • 12:08:29 <bjo3rn> let's speed things up: please post your templates and layouts in a gist or on pastebin.
  • 12:09:59 <thezet> just one question. where should I choose new template for subpage?
  • 12:10:14 <thezet> Edit Page properties --> Page layouts ?
  • 12:10:22 <bjo3rn> exactomundo
  • 12:11:34 <thezet> I have selections -> LLL:EXT:karaoke/Resources/Private/Language/locallang.xlf:flux.Index and LLL:EXT:karaoke/Resources/Private/Language/locallang.xlf:flux.Subpage
  • 12:12:03 <bjo3rn> correct.
  • 12:12:11 <bjo3rn> those are translation keys
  • 12:12:21 <thezet> but when i choose Subpage.. my subpage anyway template for index.html
  • 12:12:45 <bjo3rn> well, as I said: please post your templates so we can have a look.
  • 12:12:50 <thezet> and I think that I have TS in setup 10 = FLUIDTEMPLATE 10 { file = fileadmin/template/index.html
  • 12:13:10 <bjo3rn> aha, that's not required at all. please remove that.
  • 12:13:11 <thezet> ok, i will prepare and will share with you... thanks Bjorn for ur time
  • 12:13:57 <bjo3rn> first remove the ts. it may pretty sure solve your issue.
  • 12:14:11 <thezet> removed... and Homepage became empty)
  • 12:14:25 <bjo3rn> did you include the static ts from fluidpages?
  • 12:16:27 <thezet> hmm
  • 12:17:02 <bjo3rn> ...translates to...?
  • 12:17:04 <bjo3rn> ^^
  • 12:17:34 <thezet> no, where should I do it?
  • 12:17:57 <bjo3rn> in the root template of your site
  • 12:20:10 <bjo3rn> ah, wait, it's no longer required in the current release of fluidpages unless configured otherwise.
  • 12:20:27 <bjo3rn> go ahead and clear all caches via install tool
  • 12:21:01 <bjo3rn> and I'd like to stress 'via install tool'
  • 12:21:04 <bjo3rn> ^^
  • 12:21:58 <thezet> ok, i'm checking..
  • 12:23:46 <thezet> sorry, Bjorn, i should leave.. i'll back soon, thank u very much
  • 12:24:41 <bjo3rn> yw
  • 13:08:56 <benjamin_654> hi, i have a extension "ext_x" and a extension "ext_y". ext_y overrides the templates folders for ext_x, so that all templates are located in /typo3conf/ext/ext_y/Resources/Private/[…]. When i now use the v:asset view helpers inside a relocated template from ext_x, it does not look in ext_y/Resources but in ext_x/Resources. How can i change that? I know that i could use "EXT:ext_y" in the path, but i would
  • 13:08:57 <benjamin_654> like to know if there is a way to configure this globally..
  • 13:11:57 <bjo3rn> benjamin_654 what about ext:view?
  • 13:12:29 <bjo3rn> https://github.com/FluidTYPO3/view
  • 13:14:38 <benjamin_654> will this also affect the default extension path for assets? i thought its only for templates ..
  • 13:15:12 <bjo3rn> ah, assets, sure.
  • 13:15:26 <bjo3rn> you are right. templates only, sorry
  • 13:19:06 <benjamin_654> ah, i just noticed that i am using f:uri.resource to generate the asset path, i guess the extension folder is determined in this view helper ..
  • 13:22:46 <benjamin_654> @bjo3rn but your idea could work some other way: maybe i could use ext:view to override the extensionName argument of the f:uri.resource view helper ..
  • 14:10:59 <ndee> what's the easiest way to make a multi-dimensional array unique based on a subproperty? I can't wrap my head around the v:iterator.filter unfortunately :/
  • 14:17:57 <ndee> groupedFor ftw
  • 14:52:32 <ste101> Hello, I'm not shure when to use fluidcontent and when fluidcontent_core. Could you please give me a hint
  • 15:15:56 <mrboe> @ste101 fluidcontent_core replaces CSC
  • 15:16:34 <benjamin_654> ste101: use fluidcontent when fluidcontent_core can not be used (for example if necessary fields are not available). by using fluidcontent_core you stay closer to the core than with using fluidcontent - so you might have less problems with other extensions ..
  • 15:20:19 <NamelessCoder> the shortest possible explanation: fluidcontent_core renders the core's CTypes one template per type, fluidcontent renders its own CType which has a field that determines which template you render.
  • 15:20:46 <NamelessCoder> you want an additional element type? use fluidcontent.
  • 15:21:04 <NamelessCoder> you want to modify a core element type? use fluidcontent_core (or stick with CSC if you prefer)
  • 16:00:56 <Xatenev1> Heya peeps
  • 16:01:05 <Xatenev1> how can i check if a value is inside an array?
  • 16:01:11 <Xatenev1> for example i have an array with the values 7 8 9 10
  • 16:01:29 <Xatenev1> and it should print "heya" if value 7 is inside it
  • 16:01:42 <Xatenev1> Is this possible?
  • 16:08:57 <bjo3rn> Xatenev1 v:condition.iterator.contains
  • 16:09:19 <Xatenev1> I have to install an extension for "v" right? .p
  • 16:09:25 <bjo3rn> yes, vhs
  • 16:09:38 <Xatenev1> Any other way?
  • 16:09:41 <Xatenev1> with normal fluid?
  • 16:09:47 <bjo3rn> not to my knowledge
  • 16:09:47 <danilobuerger> yes
  • 16:09:58 <danilobuerger> Xatenev1 f:for and f:if on each value
  • 16:10:00 <bjo3rn> apart from looping
  • 16:10:03 <bjo3rn> ^^
  • 16:10:17 <Xatenev1> I will probably just loop den :P
  • 16:10:22 <Xatenev1> thought theres a cooler solution
  • 16:10:23 <Xatenev1> ty anyways
  • 16:10:35 <bjo3rn> the cool solution is to use vhs ;)
  • 16:11:17 <danilobuerger> bjo3rn nowadays i think it depends... vhs invites you todo a lot in templates that you should actually do in a controller
  • 16:11:36 <bjo3rn> that depends ^^
  • 16:11:50 <bjo3rn> there is such thing as view logic imho
  • 16:12:12 <Xatenev1> Na this should be done in a service normally if its bigger
  • 16:12:14 <Xatenev1> :p
  • 16:12:39 <bjo3rn> 'if it's bigger'. see? it depends ;)
  • 16:13:22 <Xatenev1> Yea it depends on how far you wanna use OOP
  • 16:13:30 <Xatenev1> (how far its effective)^^
  • 16:13:45 <Xatenev1> and what kind of logic u have :P
  • 16:13:54 <bjo3rn> [16:01:29] <Xatenev1> and it should print "heya" if value 7 is inside it
  • 16:14:02 <bjo3rn> no oop required ;)
  • 16:14:10 <Xatenev1> Yea I just mean :)
  • 16:14:13 <Xatenev1> for that view logic stuff :P
  • 16:14:20 <Xatenev1> everybody from java would kill us all probably
  • 16:14:21 <Xatenev1> xD
  • 16:14:23 <bjo3rn> sure, just kidding
  • 16:14:25 <bjo3rn> ^^
  • 16:15:50 <Xatenev1> Hm the looping stuff doesnt work that well i guess
  • 16:16:05 <Xatenev1> cause I have to compare a lot of values
  • 16:16:17 <Xatenev1> big foreach inside big foreach isnt cool :o
  • 16:17:32 <bjo3rn> sounds like a job for the db?
  • 16:36:26 <pedda> @danilobuerger agree
  • 16:37:23 <pedda> once i started wondering why my projects become so slow ..
  • 16:37:24 <pedda> :D
  • 16:38:00 <danilobuerger> couple of months ago i did a lot in my templates... i reduced that by a lot.. my vhs usage is basically down to assets and content / menu rendering
  • 16:38:29 <danilobuerger> more lifting in controllers...
  • 16:44:49 <pedda> same here
  • 16:49:02 <bjo3rn> true. business logic is not the view's responsibility. especially in uncached environments.
  • 16:50:18 <danilobuerger> but vhs is often used that way as it contains a view helper for nearly everything
  • 16:50:24 <bjo3rn> that's true
  • 16:51:13 <bjo3rn> at a certain point it make a lot more sense to create a plugin
  • 16:51:23 <bjo3rn> and that point is reached quite early
  • 16:52:05 <danilobuerger> or a content / page controller, or a widget or a view helper ;-)
  • 16:52:15 <danilobuerger> again depending on your need :-)
  • 16:52:15 <bjo3rn> you name it ^^
  • 16:52:45 <danilobuerger> i have done a lot of typo3 flow lately and it changed my mind quite a bit regarding how i used ft3 before
  • 16:52:49 <bjo3rn> this is also the reason why fed was exposed to some hate in the early days.
  • 16:53:15 <bjo3rn> typo3 flow?
  • 16:53:22 <bjo3rn> that framework?
  • 16:54:15 <danilobuerger> yeah
  • 16:54:32 <danilobuerger> its very nice
  • 16:54:44 <bjo3rn> sf2 ftw!
  • 16:54:47 <danilobuerger> lol
  • 16:54:59 <danilobuerger> sf2 is a piece of shit compared to typo3 flow
  • 16:55:18 <bjo3rn> ok, you are out of your mind. let's stop this. ^^
  • 16:56:13 <danilobuerger> well did you already use typo3 flow to create an actual application not just testing?
  • 16:56:43 * bjo3rn is not listening
  • 16:56:51 <bjo3rn> ^^
  • 17:04:50 <mneuhaus> hey ho :)
  • 17:05:18 <mneuhaus> can anyone tell me what exactly i need to flush to regenerate the "New Content element" entries for fluidcontent?
  • 17:06:02 <danilobuerger> mneuhaus in the wizard?
  • 17:06:06 <mneuhaus> Frontend Cache, General Cache, System Cache, Installer: Clear all Cache
  • 17:06:07 <mneuhaus> yep
  • 17:06:18 <danilobuerger> you did all of those?
  • 17:06:27 <mneuhaus> tried all of those in various combinations and seems kind of "by chance"
  • 17:06:32 <danilobuerger> hmm
  • 17:06:55 <danilobuerger> hmm, general or system should be enough i think
  • 17:07:02 <mneuhaus> + i have the wizard open in a tab itself, not in an iframe and i reload it with cmd + shift + r
  • 17:07:53 <mneuhaus> right now i cleard all of the above and now it's not generating at all
  • 17:08:07 <mneuhaus> there used to be some .FED….. file in typo3temp, right?
  • 17:08:14 <danilobuerger> yeah there was
  • 17:08:19 <mneuhaus> has that moved somewhere?
  • 17:10:03 <randomresult> it removed i think
  • 17:10:04 <danilobuerger> afaik this is using the cache manager now
  • 17:10:27 <danilobuerger> mneuhaus see ConfigurationService->writeCachedConfigurationIfMissing
  • 17:10:58 <mneuhaus> ah, ok, so i need to flush cf_fluidcontent as it seems :)
  • 17:11:29 <danilobuerger> probably, but this shouldnt be neccessary when creating new elements imo
  • 17:11:34 <mneuhaus> that table is not affected by any of these: Frontend Cache, General Cache, System Cache
  • 17:11:35 <danilobuerger> maybe some obscure bug
  • 17:11:54 <mneuhaus> installer: Clear all cache works
  • 17:11:59 <danilobuerger> cool
  • 17:23:11 <mneuhaus> reason why i was trying to clear that, has anyone an idea why/how this might pop up?
  • 17:23:12 <mneuhaus> http://dl.dropbox.com/u/314491/Screenshots/subn6fxitp1b.png
  • 17:24:09 <mneuhaus> seems to happen as soon as i add for example this template:
  • 17:24:09 <mneuhaus> https://gist.github.com/mneuhaus/ba87d2c4ee52ba2ba100
  • 17:24:36 <mneuhaus> i removed but that
  • 17:24:54 <mneuhaus> can't see anything wrong with it
  • 18:33:49 <jmverges> hey folks
  • 18:33:54 <jmverges> when typo3 7 happened?
  • 18:34:27 <danilobuerger> ?
  • 18:34:36 <jmverges> I think that the same VagrantBox where I working yesterday retrieve TYPO3 6.2.* and today is retrieving 7.0
  • 18:35:13 <jmverges> I'm not joking
  • 18:35:17 <jmverges> http://typo3.org/download/
  • 18:35:22 <jmverges> here is not 7.0
  • 18:36:17 <danilobuerger> https://git.typo3.org/Packages/TYPO3.CMS.git/commit/c0dd8d599bb36e235a0dbf3d1090b51c60abb400
  • 18:36:33 <jmverges> juas
  • 18:36:54 <jmverges> does anybody tried fluidpowered with TYPO3 7?
  • 18:36:55 <jmverges> xD
  • 19:07:51 <randomresult> hi there
  • 19:07:57 <randomresult> anyone out there?
  • 19:08:49 <danilobuerger> sure
  • 19:09:04 <randomresult> hey danilo!
  • 19:09:07 <randomresult> hows life
  • 19:09:30 <randomresult> you know if it is possible to clear cache using the shell?
  • 19:11:00 <danilobuerger> typo3 cms cache?
  • 19:11:05 <randomresult> ja genau
  • 19:11:23 <randomresult> sorry. - german -
  • 19:11:39 <randomresult> \O/
  • 19:14:03 <danilobuerger> there isnt a build in command, but there are several extensions that provide one, alternatively just do some rms and truncate yourself in a bash script
  • 19:14:35 <randomresult> extensions? which one?
  • 19:16:05 <randomresult> i will find them
  • 19:16:22 <danilobuerger> yes just google
  • 19:16:43 <randomresult> but.. there is this link "clear all cache" in installtool...
  • 20:04:40 <gbod> randomresult: Take a look into this extension - here you can flush the cache via cli command randomresult
  • 20:04:50 <gbod> helhum/typo3-console
  • 20:04:56 <randomresult> hi
  • 20:04:58 <randomresult> i will
  • 20:05:02 <randomresult> thx
  • 20:05:20 <randomresult> typo3.org seems to be maintained
  • 20:05:43 <randomresult> ah its back again
  • 20:06:04 <gbod> https://github.com/helhum/typo3_console
  • 20:10:25 <randomresult> looks nice. missing docs :) as allways
  • 20:11:27 <gbod> ./typo3cms help should help the most
  • 20:15:52 <randomresult> i will install and check
  • 20:15:53 <randomresult> thx