10:00:05 <oliver_1234> Hi guys. I'm trying out fluidcontent_core with typo3 6.2.1 . When I create a new content element (e.g simple text) I get this error: #1: PHP Warning: array_combine() [<a href='function.array-combine'>function.array-combine</a>]: Both parameters should have at least 1 element in typo3conf/ext/fluidcontent_core/Classes/UserFunction/ProviderField.php
10:41:00 <Harpagophyt> then i have another problem - thx
10:41:24 <Harpagophyt> ah, the css will be written as typo3temp/...
10:42:34 <oliver_1234> use absolute path. /typo3conf/ext/<extkey>/Resources/Public/Images
10:44:47 <Harpagophyt> it works with standalone = 1 rewrite = 0 - solved - thx
11:16:06 <oliver_1234> I'm trying out fluidcontent_core with typo3 6.2.1 . When I create a new content element (e.g simple text) I get this error: #1: PHP Warning: array_combine() [<a href='function.array-combine'>function.array-combine</a>]: Both parameters should have at least 1 element in typo3conf/ext/fluidcontent_core/Classes/UserFunction/ProviderField.php line 63
13:26:16 <soee> hmm strange 'issue' maybe: if i have my provider extension and subdir like Public/foo/bar/baz/sass and compile here css file that is included using asset VH, and in this css file image id used that is in Public/Images (so it has path set like: ../.../../../foo.gif) than on fronted page need 5 seconds to load as it is waiting for this file (is moved to typo3temp ?)
13:26:44 <soee> but if i put my compiled css fiel into Public/Styles and reference image like ../Images/ than all works fine
13:39:47 <Denyerek> AFAIK, images referenced in CSS are processed and cached soee
13:40:01 <Denyerek> To simplify things, I left my SCSS and CSS in the same folder.
13:40:29 <Denyerek> As I don't really care about having the SCSS kept separately (Others may disagree but I couldn't find an easy way)
13:40:48 <Denyerek> Plus it means the paths in the SCSS and CSS are consistent
13:53:21 <soee> Denyerek: the think mught be depth of this path or something
13:55:42 <Harpagophyt> how can i activate this mysterious LLL
14:34:38 <Guest|67134> hi guys, is there a way to change the template that is configured in the page settings in the backend via typoscript?
14:35:57 <Guest|67134> i've an user agent switch in typoscript and i want to use a special template in the case of a mobile device independent of the selected template in the backend
14:49:20 <danilobuerger> Guest|33212 please dont use user agent sniffing, its very bad practice
14:50:03 <Guest|33212> I know and I hate it too. But the customer wants it that way :-(.
14:50:43 <danilobuerger> well then you will have to role your own solution as we deprecated everything related to that a few months ago and removed all of it recently
14:51:55 <Guest|33212> I don't want to use the view helper. My question is if it is possible to change the template via typoscript
14:52:52 <Denyerek> If you have JS that goes along with a CE, do you include that via a site.js in your extension, or do you add it via an <asset> in your CE code itself ?
14:52:59 <Denyerek> It's nice to keep it self contained I think
14:53:04 <Denyerek> But then all your JS is kinda all over the place
14:58:19 <Denyerek> What should I do then danilobuerger ? The JS is specific to that CE, so putting it in site.js would make "copy and pasting" the CE to another site difficult.
14:58:40 <danilobuerger> why dont you have a modular structure for your js?
14:58:54 <Denyerek> Even then, the files will be in several locations.
15:02:33 <cedricziel> look, danilo and i tend to run a tool chain on our assets which unfortunately cant be done in php (or in vhs assets) for now
15:02:35 <Denyerek> All in Resources/Public/Scripts ?
15:02:49 <cedricziel> i tend to have a structure similar to this:
15:03:06 <cedricziel> (all in an extension which follows extbase folder layout)
15:03:06 <Denyerek> I was looking into grunt to auto-build modernizr configs for sites
15:03:22 <cedricziel> Documentation/Mocks/ <-- a static mock lives in there
15:04:00 <cedricziel> Documentation/Mocks/app, Documentation/Mocks/dist (from the yeoman webapp generator)
15:04:41 <cedricziel> then after my mocks are finished, i modify my grunt/gulp task slightly to copy the compiled stuff from dist to Resources/Public/*
15:12:53 <Denyerek> That's the JS from one of the CEs as an example
15:13:29 <Denyerek> Obviously if it's a 30kb plugin, it belongs in its own file :)
15:14:07 <Denyerek> But, my original question.... CE's are in Resources/Private/Templates/Content/ <-- where would the CE's individual JS files live, to be compiled by grunt / we
15:15:15 <Denyerek> is that if it's in the CE in an asset and the CE is used more than once, the JS will appear multiple times
15:16:34 <leonderijke> Hi! In my provider extension I add a new variable, to be available in the template. Is it possible to have this variable available in the Preview section of the template?
15:17:07 <leonderijke> I mean: *also* available in the Preview section
15:17:07 <cedricziel> if you give it a unique name, it wont appear multiple times
15:28:25 <cedricziel> the build artifact is being deployed with an approriate build task that is custom to the target env
15:30:00 <Denyerek> So if someone else were to check our your repo, but didn't have node, npm, grunt, bower and all those other things, they're essentially unable to work until they completely rebuild their environment ?
15:30:25 <Denyerek> I suppose they could work against the mock
15:37:19 <danilobuerger> i personally prefer grunt at the moment because that works way faster with compass as there is a bug in the compass gulp thingie
15:44:12 <cedricziel> getting mocks right is crucial, then integration is cake with ft3
15:44:16 <Denyerek> Currently I have a live site that's pointed at the SCSS output
15:44:32 <Denyerek> & browsersync allows me to style it in realtime
15:45:05 <Denyerek> One issue I've had in working on mockup files is that the inclusion order / compression of assets etc isn't the same as when it's finally all in your fluid templates
15:45:14 <Denyerek> I suppose, though, that care should be taken to ensure that it IS.
15:54:15 <Denyerek> I'm starting to piece this together in my head :)
15:54:20 <Denyerek> Thanks so much cedricziel, danilobuerger.
15:54:26 <Denyerek> Next project will be much tidier :D
15:54:39 <cedricziel> see, i think visual results+accompanying code is the best documentation to any coder out there
15:54:41 <randomresult> and i will reread all this trying to understand
15:54:45 <Denyerek> http://alba-dev.sozu.co.uk is nearing testing phase now.
15:54:49 <cedricziel> + you can show off them mocks to your customer
15:55:21 <Denyerek> Yes, I used to work from html templates in TV land
15:55:38 <Denyerek> But things were a bit different as this is my first fluidtypo3 deployment
15:55:55 <Denyerek> Which, BTW, I am an absolute convert to. TV is now just a memory.
15:55:56 <cedricziel> with a sophisticated build workflow you can adopt the first 70% from that.
15:56:18 <Denyerek> The initial lump in the learning curve hurt my ass, but now I'm moving OK :)
15:56:44 <cedricziel> i found out that for ME, starting directly with the integration of templates didnt work out very well. refactoring in cms's is painful
15:58:11 <cedricziel> oh, and not that much related to you i guess, but such workflow scales quite nice with more devs involved
15:59:04 <cedricziel> imagine one FE guy and one BE guy, they can work together quite nice without sendingzips over and over and diffing the shit out of a dropbox folder
16:01:04 <Denyerek> Well, you're just working on the mock in the repo right
16:02:10 <Denyerek> Coming back ALL the way to the start, though.
16:02:26 <Denyerek> You will have what, one JS per component
16:02:32 <Denyerek> Something in Grunt then smashes them all together
16:03:00 <Denyerek> So that's why you won't have JS in an <asset> because then it doesn't work in your mock setup
16:03:27 <Denyerek> So if you DID want to re-use a CE in a different project (Say you'd written a complex content element you wanted to use elsewhere)
16:03:42 <Denyerek> I suppose you could have n extension that contained all your reusable CEs
16:03:49 <Denyerek> and just install that anyway :D
16:04:02 <floxx> i'm building custom navigation with additional contents of page properties set via ft3 - how can i access xml values of tx_fed_page_flexform
16:51:55 <Guest|2703> i got a question regarding flux v7: i've created a flux field "text" and enabled the richtext editor as stated in the docs with defaultExtras. The thing is, when i create links with the RTE they do not get converted into realurl like format but are build with id=x
16:52:17 <Guest|2703> the links are internal ones to other pages