IRC logs

20140319

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

IRC log range: 20140319*

20140319

  • 01:39:09 <NamelessCoder> eat bot spam, log!
  • 11:10:07 <randomresult> moin
  • 11:10:07 <Denyerec> Mornin guys
  • 11:10:23 <randomresult> good morning denyerec
  • 11:38:20 <bjo3rn> mahlzeit
  • 11:43:13 <randomresult> hi there
  • 12:05:34 <Denyerec> Do you guys have a partial that includes any boilerplate <head> stuff ?
  • 12:09:46 <randomresult> i have a quite simple element for embeding videos responsive. it only contains 28 lines of code. checking these in builder, it tells me that i use an incompatible viewhelper... i only use flux.form and f:format:raw and an asset...
  • 12:09:55 <randomresult> could someone take a look what is wrong?
  • 12:09:58 <randomresult> i dont see it...
  • 12:11:47 <Denyerek> above my paygrade randomresult :(
  • 12:11:53 <Denyerek> I'm just trying to get started with my first basis template.
  • 12:12:06 <randomresult> hehe
  • 12:12:17 <randomresult> maybe danilobuerger can do it . ?
  • 12:12:27 <danilobuerger> hm?
  • 12:12:57 <randomresult> i have a very simple template (28 lines) and builder tells me that i use an uncompatible viewhelper
  • 12:13:20 <randomresult> using 6.2 and latest dev-versions (even builder is dev-branch)
  • 12:14:35 <Denyerek> TYPO3 Fatal Error: Extension key "alba_template" is NOT loaded!
  • 12:14:42 <Denyerek> What have I done wrong...
  • 12:15:10 <danilobuerger> Denyerek do you have an extension named alba_template ?
  • 12:15:26 <Denyerek> it's the basic container extension I created with buildr
  • 12:15:30 <Denyerek> ah
  • 12:15:33 <Denyerek> its called albaTemplate
  • 12:15:38 <danilobuerger> :-)
  • 12:15:39 <Denyerek> wonder why it's trying to load alba_templte ?
  • 12:15:57 <Denyerek> Or indeed where it's got that from ?
  • 12:16:05 <danilobuerger> because albaTemplate is the extension name and alba_template is the extension key
  • 12:16:46 <danilobuerger> well AlbaTemplate to be precise
  • 12:16:59 <Denyerek> Well
  • 12:17:06 <Denyerek> The container extension is active in the EM
  • 12:17:36 <Denyerek> How do you see detailed extension information / get old versions in the EM these days ?
  • 12:17:40 <Denyerek> Seems awfully stripped back
  • 12:17:47 <danilobuerger> are you on 6.2?
  • 12:17:52 <Denyerek> yeah
  • 12:17:54 <Denyerek> b6
  • 12:17:57 <danilobuerger> sorry cant help with that
  • 12:18:10 <Denyerek> is it any different in 6.1 ?
  • 12:18:12 <Denyerek> Anyhoo
  • 12:18:19 <Denyerek> there's no mention of alba_template in my source tree
  • 12:18:30 <Denyerek> and the extension key is listed as "albaTemlate" in the EM
  • 12:18:37 <Denyerek> *albaTemplate
  • 12:18:39 <danilobuerger> the folder should actually be called alba_template i think
  • 12:18:39 <randomresult> danilobuerger could u look at this pls. https://gist.github.com/randomresult/ff99657a0e78c54ef248
  • 12:18:50 <danilobuerger> randomresult what about it?
  • 12:19:03 <randomresult> Denyerek i had major problems using underscores in my extensionnames
  • 12:19:11 <Denyerek> I didn't!!
  • 12:19:16 <Denyerek> I called it albaTemplate
  • 12:19:27 <danilobuerger> dont call it that... call it albatemplate
  • 12:19:28 <randomresult> danilobuerger builder says im using uncompatible viewhelpers
  • 12:19:41 <danilobuerger> no more info than that
  • 12:19:42 <danilobuerger> ?
  • 12:19:46 <randomresult> no
  • 12:20:17 <randomresult> CachedSize
  • 12:20:17 <randomresult> Template contains uncompilable ViewHelpers - avoiding these is very likely to increase performance
  • 12:20:34 <randomresult> this is displayed using it in the backend (not shell)
  • 12:20:53 <danilobuerger> no idea
  • 12:21:01 <randomresult> looks clean doesnt it?
  • 12:21:10 <danilobuerger> i dont see anything standing out
  • 12:21:17 <randomresult> good.
  • 12:30:02 <Denyerek> ok I find-replaced renamed everything and dropped the camelcase
  • 12:30:06 <Denyerek> now it's working
  • 12:30:24 <Denyerek> is there some automagic that tries to separate camelCase into under_score I wonder ....
  • 12:30:28 <Denyerek> if so, that's pretty insane.
  • 12:30:38 <danilobuerger> yeah there is
  • 12:30:45 <Denyerek> That's pretty insane,.
  • 12:30:54 <danilobuerger> thats how typo roles ;)
  • 12:31:26 <Denyerek> Hmm.
  • 12:32:53 <randomresult> i told u: get rid of underscores if possible...
  • 12:33:31 <Denyerek> Yes... next time someone asks about that, include "Because TYPO does some pretty insane shit if you use them"
  • 12:33:49 <Denyerek> Also, I didn't use underscores... I used camelcase
  • 12:34:00 <Denyerek> Which typo helpfully mutilated into underscores in one particular spot :)
  • 12:34:23 <Denyerek> So I think the general advisement should be "leave the shift key alone, buddy, she'll only break your heart".
  • 12:34:25 <Denyerek> Or your code.
  • 12:34:41 <randomresult> jupp... thats what i do
  • 12:45:39 <Denyerec> ok...
  • 12:45:46 <Denyerec> Got the template up, got the "hello world"
  • 12:45:52 <Denyerec> in the BE tho, all my content has vanished...
  • 12:46:02 <Denyerec> as in, the pages are there, but if I edit a page there's nothing to see :)
  • 12:46:11 <Denyerec> I presume I need to set up a backend layout?
  • 12:53:57 <Denyerec> GUys
  • 12:54:00 <Denyerec> do I want this: {namespace flux=FluidTYPO3\Flux\ViewHelpers}
  • 12:54:10 <Denyerec> or this: {namespace flux=Tx_Flux_ViewHelpers}
  • 12:54:30 <Denyerec> The first is what builder introducers, the latter is what's in the bootstrap template I'm using as an example.
  • 12:56:54 * Denyerec pokes randomresult
  • 12:57:10 <randomresult> just a sec
  • 12:57:19 <Denyerec> No prob
  • 12:57:33 <Denyerec> Just trying to get to my Hello World so I can start writing the HTML :)
  • 13:00:42 <Denyerec> Also how to ensure *all* caches are off during dev?
  • 13:05:30 <Denyerec> ok great, I found my columns
  • 13:05:48 <Denyerec> inserted a flexform.grid
  • 13:09:01 <randomresult> which versions do u use?
  • 13:12:37 <Denyerec> PHPStorm or Typo?
  • 13:12:52 <Denyerec> Typo and fluidpages, development and 6.2b6
  • 13:17:14 * Denyerec tickles NamelessCoder
  • 13:18:21 <NamelessCoder> http://www.youtube.com/watch?feature=player_detailpage&v=W3j2xmEGQg0#t=28
  • 13:20:30 <Denyerec> :D
  • 13:20:46 <Denyerec> Do you use phpstorm and autocompletion?
  • 13:21:13 <Denyerec> And can you weigh in on what the correct namespaces should be now at the top of our template files ?
  • 13:21:20 <Denyerec> {namespace v=Tx_Vhs_ViewHelpers}
  • 13:21:20 <Denyerec> {namespace flux=FluidTYPO3\Flux\ViewHelpers}
  • 13:21:24 <Denyerec> Those are the two I have right now.
  • 13:21:54 <Denyerec> I then have this:
  • 13:22:18 <Denyerec> http://pastebin.com/w6skbw2e
  • 13:22:34 <NamelessCoder> I am beyond autocompletion ;)
  • 13:22:44 <Denyerec> and I think PHP storm can bind those to local XSD's for helping with autocompletion
  • 13:22:47 <Denyerec> I found one on your site
  • 13:22:54 <Denyerec> But only for VHS I think.
  • 13:23:00 <Denyerec> New to all this namespace stuff :S
  • 13:23:03 <mrboe> hey @Denyerec
  • 13:23:14 <Denyerec> https://fedext.net/viewhelpers/fluid.html
  • 13:23:17 <Denyerec> hey mrboe
  • 13:23:31 <NamelessCoder> https://github.com/FluidTYPO3/documentation/blob/rewrite/5.Appendix/5.4.FluidTemplateAutoCompletion.md
  • 13:24:02 <Denyerec> Gaaahhhh
  • 13:24:07 <Denyerec> Documentation.... all over the place!
  • 13:24:08 <Denyerec> :)
  • 13:24:11 <randomresult> denyerec: ask mrboe. he tells this like 3 times a week
  • 13:24:15 <NamelessCoder> hehe :)
  • 13:24:15 <Denyerec> Haha
  • 13:24:42 <mrboe> download this XSD https://dl.dropboxusercontent.com/u/2049271/xsd-shema.zip
  • 13:25:44 <mrboe> and use this misc.xml https://gist.github.com/misterboe/8783337
  • 13:26:07 <mrboe> replace it in the .idea folder in your project
  • 13:29:16 <mrboe> this Template works for me https://gist.github.com/misterboe/9640671
  • 13:29:40 <Denyerec> Ok just reloading it
  • 13:30:37 <mrboe> these are for the new namespaces
  • 13:31:54 <Denyerec> Ok so
  • 13:32:07 <Denyerec> I've patched that in and I'm getting "unknown html tag 'flux'"
  • 13:32:44 <Denyerec> also the first <f: tag gets "namespace f: is not bound"
  • 13:32:55 <Denyerec> presumably because f: gets defined inside the first layout
  • 13:33:35 <mrboe> where are your XSD files?
  • 13:33:36 <mrboe> location="$USER_HOME$/xsd-shema/flux.xsd
  • 13:33:42 <mrboe> im on a mac
  • 13:33:45 <Denyerec> I moved them, but I updated the config
  • 13:33:54 <Denyerec> $USER_HOME/local/xsd-schema/
  • 13:34:01 <Denyerec> if I check PHPStorm settings, it can see the files.
  • 13:34:08 <mrboe> ok
  • 13:34:19 <mrboe> have you tried my page.html
  • 13:34:34 <Denyerec> http://denyerec.co.uk/stuff/.screencaps/2014-03-19_12-34-13.png
  • 13:34:56 <Denyerec> http://denyerec.co.uk/stuff/.screencaps/2014-03-19_12-34-36.png
  • 13:36:46 <mrboe> sorry i rechecked my misc.xml
  • 13:36:47 <mrboe> https://gist.github.com/misterboe/8783337
  • 13:39:31 <Denyerec> http://denyerec.co.uk/stuff/.screencaps/2014-03-19_12-39-11.png
  • 13:41:08 <Denyerec> The fluid one seems to be OK
  • 13:41:14 <Denyerec> it's the flux one that's bobbed
  • 13:42:01 <mrboe> http://snag.gy/xdLGZ.jpg
  • 13:42:41 <randomresult> mrboe we should setup some new xsd files
  • 13:43:13 <mrboe> @randomresult ok but they work for me
  • 13:43:36 <NamelessCoder> https://fedext.net/schemas/
  • 13:43:49 <randomresult> @NamelessCoder when did u last check if they work?
  • 13:43:50 <NamelessCoder> feel free to send me corrected versions ;)
  • 13:43:56 <NamelessCoder> randomresult never
  • 13:44:00 <randomresult> good one :)
  • 13:44:03 <NamelessCoder> they are automated exports
  • 13:44:11 <randomresult> done when?
  • 13:44:18 <randomresult> mrboe: go for it!
  • 13:44:23 <NamelessCoder> don't recall, but file date should tell
  • 13:44:34 <randomresult> so i renamed the ext.
  • 13:44:43 <Denyerec> mrboe - the autocompletion is active
  • 13:44:43 <randomresult> should i add you to company?
  • 13:44:54 <Denyerec> But I have an "unknown html tag" error that highlights on any flux block
  • 13:46:58 <mrboe> i dont have that higlight
  • 13:47:04 <mrboe> im on 7.1.1
  • 13:48:03 <Denyerec> Ahha!!
  • 13:48:15 <Denyerec> Ok so I updated the URLs to typo3.org and used the master schemas
  • 13:48:19 <Denyerec> it's all clicked together
  • 13:48:21 <Denyerec> Thanks guys :)
  • 13:48:31 <Denyerec> Now...
  • 13:48:32 <Denyerec> what's this:
  • 13:48:32 <Denyerec> {namespace v=Tx_Vhs_ViewHelpers}
  • 13:48:33 <Denyerec> {namespace flux=FluidTYPO3\Flux\ViewHelpers}
  • 13:48:44 <Denyerec> I've never had to work with NS's before :/
  • 13:50:07 <mrboe> sorry what was wrong on my files?
  • 13:51:40 <Denyerec> a URL mismatch I think
  • 13:52:01 <Denyerec> so the XSD has typo3 and the definition was fedext
  • 13:52:15 <Denyerec> Or I'd accidentally copied in one of claus' files and used your header
  • 13:52:17 <Denyerec> But now I have this:
  • 13:52:30 <Denyerec> http://denyerec.co.uk/stuff/.screencaps/2014-03-19_12-52-11.png
  • 13:52:44 <Denyerec> with the *-master.xsd files
  • 13:52:47 <Denyerec> and it seems to be Ok
  • 13:54:18 <Denyerec> Claus - Uncache... dependency error if trying to use with 6.2
  • 13:54:22 <Denyerec> any plans...
  • 13:54:24 <Denyerec> :)
  • 13:54:47 <NamelessCoder> https://github.com/FluidTYPO3/uncache/issues/4
  • 13:54:58 <NamelessCoder> I'm like the google for the github
  • 13:58:20 <Denyerec> assuming I can't be arsed hacking files right now, will "clear all caches" in the BE work ?
  • 13:58:28 <Denyerec> or do I need to repeatedly flush typo3temp as well
  • 14:03:24 <NamelessCoder> in almost all cases "clear all caches" will suffice. On 6.2 it's "clear system caches". Being logged into BE while editing FE will make sure you bypass enough caches that you should never need to clear typo3temp while developing
  • 14:17:59 <Denyerec> \that's reassuring.
  • 14:18:24 <Denyerec> Does one always have to define a flexform grid to allow BE editing of content ?
  • 14:20:45 <NamelessCoder> yes - or use traditional be_layout
  • 14:20:55 <NamelessCoder> in FCEs the grid is ofc required
  • 14:20:58 <Denyerec> An error was encountered while rendering the FlexForm.
  • 14:20:58 <Denyerec> The error message states:
  • 14:21:07 <Denyerec> Useful error message ;)
  • 14:21:17 <Denyerec> This worked 2 seconds ago.
  • 14:21:31 <Denyerec> (This is on the Page Configuration tab of a page's properties
  • 14:21:37 <Denyerec> my content's gone AWOL again in the BE
  • 14:21:44 <Denyerec> Ah
  • 14:21:49 <Denyerec> namespace identifier is already registered
  • 14:21:49 <NamelessCoder> https://github.com/bootstraptheme-for-typo3/fluidbootstraptheme/pulls
  • 14:21:53 <NamelessCoder> sry
  • 14:21:57 <NamelessCoder> not relevant :)
  • 14:22:34 <Denyerec> I don't quite understand these namespace things
  • 14:22:39 <Denyerec> And where they should be / shouldn't be
  • 14:23:26 <Denyerec> Should they be at the top of every file that uses them ?
  • 14:23:55 <NamelessCoder> depends: recent TYPO3 versions can use the "xmlns" notation, older ones require the {namespace ...} ones
  • 14:24:21 <NamelessCoder> the link I gave to docs on fluid autocompletion mention this - basically: if you don
  • 14:24:33 <Denyerec> Does this have to be done at th etop of every file ?
  • 14:24:38 <NamelessCoder> 't have xmlns in html tags as per the guide for autocompletion, you will need the {namespace ... } line
  • 14:24:47 <NamelessCoder> yes, in the top of every file that does not meet this criteria
  • 14:24:57 <Denyerec> Could not analyse class:flux\ViewHelpers\Flexform\GridViewHelper maybe not loaded or no autoloader?
  • 14:25:28 <NamelessCoder> sounds like a bad namespace registration
  • 14:26:22 <Denyerec> I have this in both files at the top:
  • 14:26:22 <Denyerec> {namespace v=Tx_Vhs_ViewHelpers}
  • 14:28:43 <NamelessCoder> you'll need the {namespace flux=FluidTYPO3\Flux\ViewHelpers} line in templates that use <flux:...> tags
  • 14:28:45 <NamelessCoder> OR:
  • 14:28:59 <NamelessCoder> you'll need the html tag with xmlns:flux attribute
  • 14:29:04 <Denyerec> I have that
  • 14:29:05 <NamelessCoder> as described in the documentation chapter
  • 14:29:06 <Denyerec> lemme paste
  • 14:29:29 <Denyerec> http://denyerec.co.uk/stuff/.screencaps/2014-03-19_13-29-09.png
  • 14:31:37 <NamelessCoder> looks okay
  • 14:32:13 <Denyerec> http://denyerec.co.uk/stuff/.screencaps/2014-03-19_13-31-53.png
  • 14:32:32 <Denyerec> I was trying to include this partial
  • 14:32:50 <NamelessCoder> it doesn't use flux tags so it is not the cause of the problem
  • 14:33:39 <Denyerec> Ok I have both the {namespace and the xmlns
  • 14:33:42 <Denyerec> I presume that's the cause
  • 14:33:55 <NamelessCoder> this has not caused problems for me
  • 14:34:12 <Denyerec> Could not analyse class:flux\ViewHelpers\Flexform\GridViewHelper maybe not loaded or no autoloader?
  • 14:34:58 <NamelessCoder> if it is caused by the xmlns value, perhaps changing the URL to use "FluidTYPO3.Flux" instead of "flux" would fix it
  • 14:35:14 <NamelessCoder> I'm not the right person to ask here since I don't use this feature myself
  • 14:35:22 <Denyerec> Well now I have this:
  • 14:35:22 <Denyerec> Could not analyse class:flux\ViewHelpers\Flexform\GridViewHelper maybe not loaded or no autoloader?
  • 14:38:21 <Denyerec> Is that because of the xmlns stuff ?
  • 14:38:36 <macro11> hi, is it possible to add an fluid_content element in the "General" tab: <flux:flexform wizardTab="General"
  • 14:38:48 <Denyerec> I don't understand how all this ties together, there's too much auto-magic :(
  • 14:39:08 <macro11> bzw. "Typischer Seiteninhalt"
  • 14:40:15 <Denyerec> Ok Claus, {namespace ... } and the xmlns together throw the "namespace already defined"
  • 14:40:16 <Denyerec> which makes
  • 14:40:36 <Denyerec> sense
  • 14:41:40 <randomresult> you added the fluidnamespace as well?
  • 14:41:55 <randomresult> didnt mrboe give u his filetemplates?
  • 14:44:04 <Denyerec> It was working for a second
  • 14:44:07 <Denyerec> but I don't know what changed.
  • 14:44:13 <Denyerec> Autocompletion is not the issue now
  • 14:44:54 <mrboe> you alwas have to resart
  • 14:44:57 <mrboe> PHP sorm
  • 14:45:00 <Denyerec> Yeah
  • 14:45:01 <mrboe> complete
  • 14:45:03 <Denyerec> Autoompletion is now fine.
  • 14:45:13 <Denyerec> I get the class analysis error now on the FE
  • 14:45:16 <macro11> if is use wizardTab="common" than all Standard Elements are gone and only the my FCE is displayed.
  • 14:45:19 <Denyerec> and in the BE I see now editing sections.
  • 14:45:28 <Denyerec> "Could not analyse class:flux\ViewHelpers\Flexform\GridViewHelper maybe not loaded or no autoloader?"
  • 14:45:50 <Denyerec> so presumably the xmlns namespace declaration isn't working / correctly mapped
  • 14:45:57 <mrboe> i cant tell u more than it works on my system with all the files i send u
  • 14:46:28 <mrboe> i send them to 3 other teh weeks bevore and it also works
  • 14:47:05 <Denyerec> Ah oK
  • 14:47:06 * randomresult hates to get disconnected
  • 14:47:11 <Denyerec> Re-reading the github link,
  • 14:47:56 <mrboe> randomresult: has the same settings
  • 14:48:13 * randomresult has no settings. :)
  • 14:48:17 * randomresult is resetted
  • 14:48:29 <Denyerec> Which version of typo3 are you using mrboe ?
  • 14:48:33 * randomresult thinks about a beer instead
  • 14:48:40 <Denyerec> I think it could be an issue with the fluid parsing in 6.2b6
  • 14:48:42 <randomresult> it does not depend on the t3 verison
  • 14:48:44 <mrboe> 6.2 beta7
  • 14:48:53 <Denyerec> Ok well
  • 14:48:58 <mrboe> and before i have 6.1.7
  • 14:49:03 <Denyerec> when I have the fedext urls, it doesn't autocomplete
  • 14:49:16 <Denyerec> when I swap the URLs out to typo3.org ones, autocompletion works but Fluid shits its pants
  • 14:49:24 <randomresult> Denyerec
  • 14:49:24 <mrboe> you have to use my schemas
  • 14:49:33 <mrboe> they are customized
  • 14:49:35 <Denyerec> Why are Claus' schemas not useable ?
  • 14:49:48 <randomresult> cause the use the wrong links imho
  • 14:50:03 <Denyerek> https://fedext.net/schemas/
  • 14:50:04 <randomresult> we struggeld wiht that for days
  • 14:50:08 <Denyerek> These ones use typo3.org links.
  • 14:50:24 <mrboe> because @NamelessCoder is the source and he needs no autocomp
  • 14:51:05 <Denyerek> haha
  • 14:51:24 <Denyerek> but I thought you need namespace definitions anyway for the parser to autoload everything ?
  • 14:53:46 <Denyerek> ok mrboe - I switch to you files
  • 14:53:53 <Denyerek> now the flux definitions are broken.
  • 14:56:07 <Denyerek> It does, however, result in "shit working"
  • 14:56:09 <Denyerek> as in, the FE now loads.
  • 14:56:33 <Denyerek> So it's something to do with Fluid's xmlns parsing.
  • 14:57:50 <Denyerek> so NamelessCoder , in your code do you use {namespace flux=FluidTYPO3\Flux\ViewHelpers} or an xmlns ?
  • 14:58:07 <Denyerek> You must use one or the other, as without them all I see are errors :)
  • 14:59:20 <Denyerek> http://docs.typo3.org/flow/TYPO3FlowDocumentation/TheDefinitiveGuide/PartIII/Templating.html#namespaces
  • 14:59:21 <Denyerek> So...
  • 14:59:31 <Denyerek> The Yaml snippet looks like it could be useful.
  • 14:59:35 <Denyerek> But where the hell does that live?
  • 15:02:32 <Denyerek> It would help if I understood what was going on.
  • 15:02:42 <Denyerek> It looks like I need to map the NS URL to the PHP Namespace
  • 15:02:57 <Denyerek> The Fluid docs talk of doing this "in the YAML" but I don't think that's relevant here.
  • 15:08:03 <Denyerek> Maybe I *should* just use Wordpress :/
  • 15:12:19 <Denyerek> mrboe, are you sure those xsd's you sent were the latest ?
  • 15:13:03 <Denyerek> And is the only modification the namespace targe t?
  • 15:14:26 <Denyerek> ok
  • 15:14:32 <Denyerek> I took the flux-master.xsd
  • 15:14:32 <mrboe> yes
  • 15:14:35 <Denyerek> modified the URL
  • 15:14:37 <Denyerek> now it's working fine
  • 15:14:49 <Denyerek> your flux.xsd throws flux unknown html errors.
  • 15:15:06 <Denyerek> but if I edit the targetNamespace url in flux-master.xsd, they go away.
  • 15:15:27 <Denyerek> So perhaps there has been an update
  • 15:15:32 <Denyerek> and I'm on a slightly newer version ?
  • 15:19:27 <Denyerek> So
  • 15:19:28 <Denyerek> in summary
  • 15:19:55 <Denyerek> I have your template, basically, but I had to use Claus's master XSD , and edit it manually to change the URL back to fedext
  • 15:27:38 <mrboe> ok
  • 15:27:40 <mrboe> thanks
  • 15:27:47 <mrboe> i check that later
  • 15:27:56 <mrboe> and send them to claus
  • 15:30:36 <Denyerek> Right, now onto more pedestrian issues.
  • 15:30:44 <Denyerek> I have a section called Resources
  • 15:30:57 <Denyerek> presumably for this to appear, I need to include it in the "layout"
  • 15:34:56 <Denyerek> Nope.
  • 15:35:01 <Denyerek> Now it's broken again in the BE
  • 15:35:03 <Denyerek> Jesus Christ
  • 15:35:12 <Denyerek> all I need to do is get a page online and write some damn HTML.
  • 15:35:28 <Denyerek> Anyone would think I was trying to put something on the sodding moon.
  • 15:35:28 <Denyerek> :(
  • 15:35:31 * Denyerek is now officially having a really shit day.
  • 15:35:37 <Denyerek> 4 hours of this so far and counting.
  • 15:35:47 <Denyerek> No different to any day working with Typo, tbh.
  • 15:38:46 <Denyerek> Fatal error: Class 'Tx_Flux_Core' not found in /home/denyerec/clients/alba/htdocs/typo3conf/ext/albatemplate/ext_tables.php on line 7
  • 15:40:38 <Denyerek> I git-updated all the repos to the development HEAD
  • 15:40:42 <Denyerek> and now everything's died
  • 15:42:40 <Denyerek> Fatal error: Class 'Tx_Flux_Core' not found in /home/denyerec/clients/alba/htdocs/typo3conf/ext/albatemplate/ext_tables.php on line 7
  • 15:42:47 <Denyerek> presumably there's been a change to the classname
  • 15:42:54 <Denyerek> and now it doesn't map
  • 15:46:51 <Denyerek> Yay!
  • 15:47:07 <Denyerek> Manually replaced old class with namespaced class and It's at least back to the BE
  • 15:47:31 <Denyerek> Fatal error: Call to a member function getCache() on a non-object in /home/denyerec/clients/alba/htdocs/typo3conf/ext/fluidcontent/Classes/Service/ConfigurationService.php on line 125
  • 15:50:10 <Denyerek> NamelessCoder... I am now in over my head.
  • 15:50:57 <Denyerek> danilobuerger, perhaps you can help ?
  • 15:51:15 <danilobuerger> Denyerec 6.2 ?
  • 15:51:21 <Denyerek> Yes
  • 15:51:31 <Denyerek> Though it was working 15 minutes ago before I updated the repos.
  • 15:51:52 <Denyerek> I updated fluidpages/content , flux and VHS to latest development checkouts.
  • 15:51:55 <Denyerek> Then explosions.
  • 15:52:18 <Denyerek> I manually updated my template's provider extension ext_emconf.php with the namespaced class for Flux
  • 15:52:30 <Denyerek> that then leaves me with the Call to member function getCache() error
  • 15:53:24 <danilobuerger> Denyerec i cant help with 6.2, never used it
  • 15:53:41 <Denyerec> yes, but it was working 15 minutes ago.
  • 15:53:54 <Denyerec> And all I did was pull from the fedext repos
  • 15:55:24 * Denyerec prods randomresult and cedricziel
  • 15:56:48 <Denyerek> There have been some changes to the core classes to implement namespacing it seems.
  • 15:56:54 <Denyerek> And that's causing nasty issues
  • 15:59:57 <Denyerek> if I set fluidpages and fluidcontent back to (master) I get back into the BE
  • 16:00:04 <Denyerek> but I'm pretty sure I shouldn't be on that version.
  • 16:07:21 <Denyerec> Yep
  • 16:07:33 <Denyerec> OK so the (Development) branches at HEAD are broken for me.
  • 16:08:02 <Denyerec> I manually checked out my pre-update tags for vhs, flux, fluidcontent and fluidpages and it's back online again.
  • 16:12:57 <Denyerec> BenjaminR - are you around
  • 16:13:09 <BenjaminR> semi
  • 16:13:13 <Denyerec> I wondwered if I could include other TS files from my setup.txt
  • 16:13:14 <BenjaminR> hi Deny
  • 16:13:21 <Denyerec> and how paths work within a provider extension
  • 16:13:31 <Denyerec> (EG for including CSS via .asset )
  • 16:15:34 <BenjaminR> http://forge.typo3.org/issues/34621 :)
  • 16:15:53 <BenjaminR> <INCLUDE_TYPOSCRIPT: source="FILE:EXT:mysite/Typoscript/setup.ts">
  • 16:16:45 <BenjaminR> Dont know what you mean with .asset
  • 16:20:32 <Denyerec> so FILE:EXT: will automatically path to the extension folder ?
  • 16:20:58 <Denyerec> the extension is /typo3conf/ext/albatemplate/
  • 16:21:31 <Denyerec> The TS is in: /typo3conf/ext/albatemplate/Configuration/TypoScript/setup.txt
  • 16:21:51 <BenjaminR> exactly - EXT:XY is the path to the extension directiroy in typo3conf/ext
  • 16:22:16 <BenjaminR> this also works in several other places. fx tca
  • 16:22:58 <Denyerec> so I can assume EXT == /typo3conf/ext/albatemplate/
  • 16:23:15 <BenjaminR> +
  • 16:23:17 <Denyerec> Cool
  • 16:23:27 <Denyerec> So now from a partial or a template, using v:asset.style
  • 16:23:47 <Denyerec> path="EXT:Resources/Public/StyleSheets/main.css"
  • 16:23:48 <Denyerec> ?
  • 16:24:04 <Denyerec> all the examples I've found so far use web resources
  • 16:24:10 <Denyerec> (Looking at the bootstrap package)
  • 16:24:11 <BenjaminR> Ext is missing :)
  • 16:24:30 <Denyerec> ?
  • 16:24:34 <BenjaminR> EXT:XY
  • 16:24:39 <Denyerec> Ahhh
  • 16:24:44 <Denyerec> so "mysite" is your extension na,e
  • 16:24:45 <BenjaminR> i will point you to the reference
  • 16:24:45 <Denyerec> name
  • 16:24:51 <Denyerec> I thought that was another folder in your example path.
  • 16:24:54 <BenjaminR> you could point to others exts too
  • 16:24:55 <Denyerec> Hokay, I got it.
  • 16:25:05 <Denyerec> Ext:albatemplate/some/path
  • 16:25:13 <Denyerec> Brill
  • 16:25:13 <Denyerec> OK
  • 16:25:17 <Denyerec> lemme see how this goes
  • 16:26:57 <BenjaminR> this method is involved here: http://doc-typo3.ameos.com/4.0.0/classt3lib__div.html#ad5d27aeabb41e7f5ed6ddaf760de42a
  • 16:27:21 <BenjaminR> "...resolves the "EXT:" prefix (way of referring to files inside extensions)"
  • 16:27:31 <Denyerec> I see...
  • 16:27:41 <Denyerec> I was expecting to see the CSS in the <head>
  • 16:27:41 <BenjaminR> just fyi
  • 16:27:58 <Denyerec> but I see instead a reference to vhs-assets-alba.css
  • 16:28:52 <BenjaminR> yap it is processed (if fx fluid parsing enabled), combined with other stylesheet ( if enabled) and cached
  • 16:29:15 <Denyerec> Ok
  • 16:29:20 <Denyerec> I set standalone to TRUE
  • 16:29:27 <Denyerec> thinking this would prevent its amalgamation
  • 16:29:42 <Denyerec> Does it use the same concat/compress options as are available in Typoscript ?
  • 16:29:53 <Denyerec> I used to use TS to add css and JS
  • 16:31:24 <BenjaminR> standalone prevents merging them - yes. not sure about the compress options
  • 16:33:24 <Denyerec> Do you know what "rewrite" controls in the viewhelper ?
  • 16:33:35 <Denyerec> It says "included without processing of contained URLs"
  • 16:33:48 <Denyerec> But doesn't mention what processing would ordinarily be applied ?
  • 16:35:06 <BenjaminR> where did you read that - just to know what we are talking about
  • 16:35:30 <Denyerec> https://fedext.net/viewhelpers/vhs/master/Asset/StyleViewHelper.html
  • 16:35:45 <Denyerec> Was looking at the parameters available to the asset viewhelper
  • 16:36:19 <BenjaminR> i see
  • 16:36:46 <Denyerec> But no mention of what's normally done in this magical processing is alluded to.
  • 16:36:50 <BenjaminR> this is about fx url arguments
  • 16:36:59 <BenjaminR> this is default true
  • 16:37:03 <Denyerec> I've always writeen my css in /fileadmin/template/css/ in the past
  • 16:37:07 <Denyerec> and all my css paths were absolute
  • 16:37:15 <Denyerec> so perhaps it would preprocess things like
  • 16:37:25 <BenjaminR> assets referenced in css are cached and paths adjusted to fit absrefprefix etc
  • 16:37:30 <Denyerec> url:EXT:albatemplate/Resources/...
  • 16:37:39 <Denyerec> I see
  • 16:37:48 <Denyerec> So it is digging through to cache and manage css images
  • 16:37:58 <Denyerec> I'm presuming if I define a BG image in CSS it needs to be:
  • 16:38:21 <Denyerec> background-image: url(/typo3conf/ext/albatemplate/Resources/Public/Images/rabbit.jpg);
  • 16:38:46 <Denyerec> If so, I'm glad I'm using SASS... :)
  • 16:38:47 <BenjaminR> yap - maybe there are alternatives but thats how i declare it
  • 16:39:01 <Denyerec> $imgPath variable to the rescue!
  • 16:39:29 <BenjaminR> maybe bjo3rn can jump in here
  • 16:40:00 <BenjaminR> or danilobuerger
  • 16:43:37 <danilobuerger> use sass
  • 16:43:39 <BenjaminR> i think the answer is there: https://github.com/FluidTYPO3/vhs/blob/master/Classes/Service/AssetService.php#L526
  • 16:43:41 <BenjaminR> :)
  • 16:43:43 <danilobuerger> ;-)
  • 16:43:48 <BenjaminR> how the path can be defined
  • 16:44:30 <BenjaminR> danilo: file references in css are relative - to ext or docroot?
  • 16:45:03 <BenjaminR> i use docroot so i know this is working - but are there alternatives
  • 16:45:13 <danilobuerger> if they are relative they are relative to your page url or base ref
  • 16:45:23 <BenjaminR> okay ty
  • 16:45:26 <danilobuerger> just use sass and compass and you will be fine
  • 16:45:40 <BenjaminR> np - started using sass YESTERDAY :D
  • 16:46:05 <BenjaminR> But anyway this information was for Denyerec - you rote that?
  • 16:46:28 <Denyerec> :)
  • 16:46:41 <Denyerec> So use abs paths from site root, and use sass to reduce the typing required ;)
  • 16:46:51 <randomresult> any reasons why u a) use something like sass and b) why not less?
  • 16:47:23 <BenjaminR> i simply prefer the syntax sass uses
  • 16:47:50 <NamelessCoder> relative paths should be relative to CSS file itself (thus showing warnings in your IDE if references are incorrect)
  • 16:47:52 <BenjaminR> dolar sign and so on.. .you know. :)
  • 16:48:06 <NamelessCoder> references like background-image, that is
  • 16:48:15 <NamelessCoder> @imports also
  • 16:48:38 <randomresult> young padawan
  • 16:48:53 <NamelessCoder> when including, either site-relative paths or prefixed with EXT:yourext/ or using full http:// + external (+standalone)
  • 16:48:57 <BenjaminR> NamelessCoder: äaaah - TRUE
  • 16:49:27 <BenjaminR> relative to css - sure i do that - but it seems i didnt know :D
  • 16:50:01 <BenjaminR> NamelessCoder: what about behaviour? it has to be relative to docroot - no?
  • 16:50:36 <BenjaminR> pie :)
  • 16:51:17 <randomresult> @NamelessCoder i have pulled and rebased my develop branch. now the question is: can i send a pull request so mrboe can continue working on that?
  • 16:51:23 <Denyerec> randomresult - I read an article on sass / less, and sass seemed more mature, better supported and better featured at the time.
  • 16:51:56 <Denyerec> claus - presumably the relative paths will be re-written then ?
  • 16:51:58 <randomresult> ok. seems clear. but i dont get the point why to use it all
  • 16:52:10 <Denyerec> because by the time my CSS is in /typo3temp/cache/ those relative paths won't work at all ;)
  • 16:52:45 <BenjaminR> Deny: they will if you dont set rewrite to false ;)
  • 16:52:47 <BenjaminR> as said before
  • 17:00:16 <Denyerec> :D
  • 17:00:25 <Denyerec> Ok I think that's all understood now!
  • 17:03:26 <BenjaminR> wrote my first for loop in sass right now ;)
  • 17:03:37 <BenjaminR> creating a simple grid :)
  • 17:06:38 <Denyerec> A mate of mine wrote a grid generator that's better than most I've seen so far
  • 17:06:45 <Denyerec> https://github.com/quagliero/matryosass/
  • 17:13:22 * randomresult needs to go now.
  • 17:13:39 <BenjaminR> bye randomresult
  • 17:13:58 <randomresult> @NamelessCoder tell me when u have time for a chat... then we can talk about how i PR my rebase to the repo.
  • 17:14:01 <randomresult> see u all.
  • 17:14:04 <randomresult> bye BenjaminR
  • 17:14:09 <randomresult> have a goot time
  • 20:10:05 * Denyerec wonders what that means
  • 20:20:20 <randomresult> evening
  • 22:16:00 <macro11> hello, there exists a feature in TemplaVoila with is very helpful: noEditOnCreation especially for container elements. is there a similar option for fluid_content available?
  • 22:16:02 <macro11> thanks :)
  • 22:24:06 <danilobuerger> macro11 there isnt one at the moment i think, but i also think that this could easily be done.. just file a feature issue at https://github.com/FluidTYPO3/fluidcontent/
  • 22:33:32 <macro11> thanks danilobuerger, i will post a feature request
  • 22:58:56 <mrboe> @NamelessCoder?
  • 22:59:37 <mrboe> @Denyerec
  • 23:23:30 <Denyerec> lo ?
  • 23:23:48 <Denyerec> In all probbility, I will not be able to help
  • 23:23:51 <Denyerec> :(
  • 23:28:56 <mrboe> hey
  • 23:29:01 <mrboe> i got the problem
  • 23:29:09 <mrboe> with the namespaces
  • 23:29:38 <mrboe> if you look into the flux-master.xsd of NamelessCoder
  • 23:29:52 <mrboe> you will see that it uses old namespaces
  • 23:30:58 <mrboe> have a look here
  • 23:30:58 <mrboe> https://github.com/FluidTYPO3/documentation/blob/master/Namespaces.md
  • 23:31:26 <mrboe> in the flux-master.xsd you still find flux:flexform
  • 23:32:11 <mrboe> and this is why the code highlighting shoes errors
  • 23:32:25 <mrboe> ^^ Denyerec
  • 23:34:49 <mrboe> @NamelessCoder > dont know how why schemaker doesn't work for me / perhabs you can recreate the flux-master.xsd with the new namespaces
  • 23:36:17 <mrboe> off for today - cu guys