IRC logs

20140328

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

IRC log range: 20140328*

20140328

  • 01:22:11 <Denyerek> Don't suppose anyones awake ?
  • 01:22:32 <Denyerek> Just looking for hints on a breadcrumb menu is all.
  • 02:26:26 <Guest|45675> @Denyerek I've never used it, but here's some info on breadcrumbs... http://fluidtypo3.org/viewhelpers/vhs/master/Page/BreadCrumbViewHelper.html
  • 02:58:39 <Denyerek> Hey Guest
  • 02:58:51 <Denyerek> Do you know anything about the menu vh >
  • 02:59:04 <Denyerek> It's inserting target="pageId" which is causing all my menu links to pop open new tabs :/
  • 03:03:52 * Denyerek doubts NamelessCoder is awake
  • 03:03:55 <Denyerek> I'm going to try again in the morning
  • 03:04:04 <Denyerek> There are just too many unknowns to me to get anywhere tonight :.
  • 09:43:32 <anhadikal> hi all
  • 09:43:59 <anhadikal> how can I render the media attached to a page with fluid/vhs?
  • 09:49:04 <Denyerek> mornin al
  • 10:05:00 <cedricziel> ahoi
  • 10:06:22 <cedricziel> anhadikal: you can read the media field
  • 10:06:38 <anhadikal> the media field just contains 1
  • 10:06:55 <cedricziel> yup
  • 10:07:05 <cedricziel> please debug it-should be a FAL reference
  • 10:12:21 <anhadikal> nope it isnt ... (btw it is a page-record in menu viewhelper)
  • 10:22:15 <Denyerek> Right guys
  • 10:22:31 <Denyerek> How the hell do I know what variables are available to me in a layout / partial ?
  • 10:22:42 <Denyerek> I defined some stuff in TS that I can render with {settings.myVar}
  • 10:22:55 <Denyerek> But I'm sure other stuff like the current page ID, page title, etc... must be accessible.
  • 10:22:59 <Denyerek> The question is, how ?
  • 10:24:29 <anhadikal> <f:debug>{_all}</f:debug> will helpt you Denyerek
  • 10:29:39 <Denyerek> Sweet
  • 10:29:41 <Denyerek> Next Q
  • 10:29:54 <Denyerek> rendering a standard menu, it's inserting target="6"
  • 10:29:58 <Denyerek> (Or whatever the target page ID is)
  • 10:30:05 <Denyerek> which is causing all the menu links to open new browser tabs,
  • 10:31:07 <Denyerek> I've got a default v:page.menu with pageUid set, and useShortcutUid="true"
  • 10:31:18 <mrboe> https://worksonmymachine.org/
  • 10:31:36 <mrboe> https://worksonmymachine.org/blog/a-guide-to-menu-rendering-with-fluidtypo3
  • 10:31:37 <Denyerek> :/
  • 10:32:02 <mrboe> have a look on that great page
  • 10:32:42 <mrboe> thx @bjo3rn for that
  • 10:34:21 <Denyerek> mrboe, if I use useShortcutData instead of useShortcutUid - all of my menu entries disappear
  • 10:34:33 <Denyerek> <v:page.menu pageUid="{settings.topMenuStorageUID}" useShortcutData="TRUE"/>
  • 10:34:49 <Denyerek> That variable is the storage folder with the shortcuts in,
  • 10:37:59 <mhowellsmead> morning! thanks for the help yesterday. am i right in thinking that http://fluidtypo3.org/viewhelpers/flux/master.html isn't current?
  • 10:38:12 <Denyerek> Very very likely.
  • 10:38:32 * Denyerek prods cedricziel
  • 10:41:15 <mhowellsmead> q2: after updating fluidcontent to 4.0.0, i now have a "text" rte field after the custom stuff. is that expected?
  • 10:41:43 <Denyerek> mrboe, stilll stuck. It renders the first menu item from the folder full of shortcuts - no more.
  • 10:41:53 <mrboe> @mhowellsmead you are on 6.1.7 ?
  • 10:41:58 <mhowellsmead> yes
  • 10:42:09 <mrboe> i had that textfield too
  • 10:42:18 <mhowellsmead> exclude using ts?
  • 10:42:50 <mrboe> never found out were it came from
  • 10:43:00 <mrboe> wehn u updat eto 6.2 ist gone
  • 10:43:05 <mhowellsmead> did you manage to hide it?
  • 10:43:15 <mrboe> i switched to 6.2
  • 10:43:18 <mhowellsmead> ah ok :)
  • 10:43:30 <mhowellsmead> can't do that myself as after updating, i can't load the extension manager :/
  • 10:44:00 <mrboe> du you have the latest versions of fedext
  • 10:44:02 <BenjaminR> Guys, there was one of you for whom the FCE Tab in Content Wizard disappeared and a RTE element was shown in the edit form for every FCE. Who was it?
  • 10:44:33 <mhowellsmead> me! (althoguh only just mentioned it) :)
  • 10:44:43 <mhowellsmead> @mrboe http://forum.typo3.org/index.php?t=rview&goto=707259#msg_707259
  • 10:44:46 <mrboe> randomresult: and me
  • 10:45:23 <mhowellsmead> @mrboe and yes, fluidcontent, flux, vhs, vidi all updated
  • 10:45:30 <BenjaminR> okay so we have a bug there...
  • 10:45:37 <mrboe> yes
  • 10:45:50 <mhowellsmead> actually, i have fce fields *and* the rte field
  • 10:46:30 <Denyerek> Man
  • 10:46:34 <Denyerek> this menu is totally fsked.
  • 10:46:53 <mhowellsmead> https://www.filepicker.io/api/file/RnOOIxqISRKGPLWEzE7J
  • 10:47:11 <mhowellsmead> (screenshot for rte field)
  • 10:47:26 <mrboe> @randomresult can you say something about the RTE field
  • 10:47:30 <randomresult> mhowellsmead we had that too...
  • 10:47:46 <Denyerek> I can't load the EM after updating either
  • 10:47:46 <mrboe> i know you diskussed that with somebody from the core team
  • 10:47:47 <randomresult> and noone else had it at that time
  • 10:47:49 <Denyerek> invalid form token ?
  • 10:48:07 <randomresult> so mhowellsmead no solution from my side
  • 10:48:18 <randomresult> Denyerek had that too...
  • 10:48:19 <Denyerek> #1392409507: Invalid form/module token detected. Access Denied! (More information)
  • 10:48:19 <Denyerek> UnexpectedValueException thrown in file
  • 10:48:19 <Denyerek> /home/denyerec/src/typo3-6.2/typo3/mod.php in line 39.
  • 10:48:27 <Denyerek> How'd you fix it ?
  • 10:48:40 <mrboe> @BenjaminR we tried a lot - we created a new extension from builder and checked all FCE elements
  • 10:48:59 <randomresult> i renamed the composer files for a test, tried did not work ... renamed ... worked.
  • 10:49:12 <BenjaminR> its not that easy i guess. i cant debug right now - at customers site - will check later - right now i will downgrade. sorry to say
  • 10:49:12 <randomresult> but to be honnest i dont think that was the problem
  • 10:49:36 <randomresult> worked by randomresult :)
  • 10:49:40 <Denyerek> I emptied typo3temp
  • 10:49:41 <Denyerek> still broken
  • 10:50:04 <randomresult> did u compare db in installtool? it will delete some entries which are needed
  • 10:50:08 <Denyerek> I thought upgrading would fix this broken viewhelper
  • 10:50:09 <randomresult> maybe thats the problem
  • 10:50:09 <Denyerek> I'll do that now
  • 10:50:24 <randomresult> dont do!
  • 10:50:28 <Denyerek> install tool is broken
  • 10:50:36 <Denyerek> Oh, no I haven't touvhed it
  • 10:50:43 <Denyerek> all I did was update flux, vhs and fluidpages
  • 10:50:45 <randomresult> Denyerek do u have a shell?
  • 10:51:03 <Denyerek> Yeah, it;s local dev
  • 10:51:06 <randomresult> you could rm -rf * all files :)
  • 10:51:10 <randomresult> wich is a joke
  • 10:51:44 <BenjaminR> cd / before.... :/
  • 10:51:48 <randomresult> :)
  • 10:52:05 <Denyerek> its OK
  • 10:52:05 <randomresult> shit ur hands an clap
  • 10:52:07 <Denyerek> logged out and back in
  • 10:52:09 <Denyerek> LOL
  • 10:52:24 <Denyerek> If you ever see the word "token" in an error
  • 10:52:26 <Denyerek> log out and back in
  • 10:52:29 <Denyerek> :)
  • 10:52:34 <Denyerek> Ok so
  • 10:52:34 <randomresult> Denyerek thx for this one... makes me smile everytime
  • 10:52:38 <Denyerek> back to this insane viewhelper
  • 10:52:51 <Denyerek> all I want to do is use a folder full of shortcuts to render a header menu
  • 10:52:54 <Denyerek> so I have :
  • 10:52:57 <randomresult> also the retard-one
  • 10:53:08 <Denyerek> <v:page.menu pageUid="{settings.topMenuStorageUID}" />
  • 10:53:27 <Denyerek> that vlue is the ID of the storage folder that contains the shortcuts
  • 10:53:39 <Denyerek> Instead, it renders just the first shortcut for the menu - just the one.
  • 10:54:18 <randomresult> do u have the use shortcut?
  • 10:54:18 <Denyerek> Wait
  • 10:54:24 <randomresult> or they are hidden?
  • 10:54:27 <Denyerek> since upgrading it renders them all, but only ONE of them gets an id
  • 10:54:36 <Denyerek> I need to use shortcuts so they can manage their top menu easily
  • 10:54:54 <randomresult> Denyerek this is the way i do it too
  • 10:54:58 <Denyerek> I do it this way with standard typoscript - I was sold on this being even easier than TS.... So far I'm not convinced :)
  • 10:56:11 <Denyerek> useShortcutData throws an error
  • 10:56:25 <Denyerek> useShortcutUid puts the page UID in the target="" attribute and leaves href blank
  • 10:56:34 <mhowellsmead> v:resource.image : is this correct usage? https://gist.github.com/permanenttourist/55157b7df5a8741eeba9 seems very long-winded.
  • 10:56:56 <Denyerek> userShortcutTarget throws an error
  • 10:57:30 <Denyerek> So I think, in short, the menu viewhelper is broken.
  • 10:57:34 <randomresult> Denyerek set a dark mark and the @teamDeatheaters will appear :)
  • 10:57:54 * Denyerek shakes his chickens foot to summon NamelessCoder
  • 10:58:03 <randomresult> i think bjo3rn is the one to talk to
  • 10:58:13 * Denyerek feels about as useless as Anne Frank's drumkit.
  • 10:58:34 <randomresult> Denyerek that was a hard one :)
  • 10:58:42 <Denyerek> :)
  • 10:58:48 <mhowellsmead> harsh, dude
  • 10:58:52 <Denyerek> Perhaps a little
  • 10:58:56 <Denyerek> But I am beyond hope.
  • 10:59:05 <Denyerek> So my humour darkens with my mood.
  • 10:59:16 <BenjaminR> randomresult: installtool was perfect tipp. there has to be added a cf_ table for fluidcontent and fluidpages! rte Field still there but content wizard works again
  • 10:59:42 <Denyerek> So you ran a DB compare ?
  • 11:00:20 <mhowellsmead> re. my question about docs. is there an up-to-date reference anywhere or is it not complete yet?
  • 11:00:45 <BenjaminR> Deny - yes
  • 11:00:58 <BenjaminR> and it created a cf_fluidcontent and cf_fluidcontent_tags table
  • 11:01:03 <BenjaminR> afterwards content wizard works again
  • 11:01:26 <BenjaminR> guys - have to continue work at customers site. see you later
  • 11:02:34 <Krystian> hi
  • 11:02:51 <Krystian> I downloaded flux-development to 6.2
  • 11:03:02 <Krystian> but TYPO3 started to cry about missing table cf_extbase_datamapfactory_datama
  • 11:03:22 <Krystian> I found this table definition in typo3conf/ext/flux/Build/ImportSchema.sql
  • 11:03:45 <Krystian> how is that supposed to work with regular InstallTool update database ?
  • 11:04:08 <Krystian> should I run typo3conf/ext/flux/Build/ImportSchema.sql myself ?
  • 11:04:58 <Denyerek> Run the DB compare from the install tool
  • 11:05:20 <Krystian> it does nto see this file
  • 11:05:41 <Krystian> DB compare from the install tool shows everythin is ok
  • 11:05:44 <Denyerek> Then I'm all outta options :/
  • 11:05:53 <Krystian> and still I waas getting info about missing cf_extbase_datamapfactory_datama
  • 11:07:13 <Krystian> this table is nowhere in typo3
  • 11:07:28 <Krystian> so isntall tool would need to import typo3conf/ext/flux/Build/ImportSchema.sql
  • 11:07:56 <Krystian> becase its not also in typo3conf/ext/flux/ext_tables.sql
  • 11:08:55 <randomresult> Denyerek you think u struggle?
  • 11:09:20 <randomresult> i need to setup a sr_userregister in ... typo3 3.7 - in words three point seven
  • 11:09:28 <randomresult> 3.7
  • 11:10:03 <Denyerek> Three
  • 11:10:04 <Denyerek> Point
  • 11:10:06 <Denyerek> Seven
  • 11:10:06 <Denyerek> ?
  • 11:10:22 <Denyerek> THAT BELONGS IN A MUSEUM
  • 11:11:15 <mhowellsmead> granddad, what's 3.7?
  • 11:12:13 <Krystian> btw: waht version of flux/fluidcontent/fluidpages/fluidwidget is most stable with 6.2 ?
  • 11:12:19 <randomresult> mhowellsmead and Denyerek this is NOT funny
  • 11:12:37 <randomresult> Krystian the TER versions will work fine
  • 11:12:59 <randomresult> be careful there is a viewhelper breaking your templates (menues)
  • 11:14:11 <Krystian> strange - Cedric told me that TER versions will not work with 6.2
  • 11:15:58 <randomresult> Krystian when?
  • 11:16:14 <randomresult> they were updated 3 days ago
  • 11:18:51 <Krystian> ah :)
  • 11:19:04 <Krystian> then I will download them from TER
  • 11:19:05 <Krystian> tnx
  • 11:19:05 <Tjark> some one know the best way to contact Fabien Udriot ?
  • 11:26:07 <mneuhaus> hey guys, just a heads up, the viewHelper reference for fluidwidget, fluid and fluidbackend seems broken
  • 11:26:07 <mneuhaus> http://fluidtypo3.org/viewhelpers/fluidwidget/master.html
  • 11:26:09 <mneuhaus> :)
  • 11:26:20 <mneuhaus> wait, fluid works now
  • 11:26:39 <mhowellsmead> guessing my petulant whining prompted an update :)
  • 11:26:44 <mneuhaus> scratch that, if you click on one item then it breaks :)
  • 11:26:49 <Denyerek> Anyone wanna help with this folder full of shortcuts ?
  • 11:27:12 <randomresult> Denyerek i could try
  • 11:27:23 <Denyerek> It's gotta be better than playing with 3.7 :/
  • 11:27:30 <randomresult> sure ...
  • 11:27:35 <Denyerek> If you have a local install, just create a sysfolder with 2-3 shortcuts in
  • 11:27:36 <randomresult> SURE
  • 11:27:46 <randomresult> 6.2
  • 11:27:48 <randomresult> yes?
  • 11:27:50 <Denyerek> then try and make a menu that uses the sysfolder as a root page.
  • 11:27:53 <Denyerek> Yep
  • 11:27:55 <Denyerek> latest of everything
  • 11:27:58 <randomresult> gimme your code
  • 11:28:30 <Denyerek> <v:page.menu pageUid="{settings.topMenuStorageUID}" useShortcutTarget="TRUE" />
  • 11:28:44 <Denyerek> I've been trying the different "useShortcut..." options
  • 11:28:52 <Denyerek> But useShortcutData throws an error for me
  • 11:29:03 <Denyerek> Saying it's mutually exclusive, even tho i'm not using anything else!
  • 11:30:08 <randomresult> wait. u have a local install?
  • 11:30:12 <Denyerek> yeah
  • 11:30:44 <Denyerek> Teamviewer
  • 11:30:45 <Denyerek> ?
  • 11:30:58 <Denyerek> For some reason it renders the page titles
  • 11:31:06 <Denyerek> but it only renders a valiud href for the first shortcut in the folder
  • 11:31:10 <randomresult> have u read this?
  • 11:31:11 <randomresult> https://github.com/FluidTYPO3/vhs/issues/506
  • 11:31:12 <Denyerek> NFI why
  • 11:31:28 <randomresult> see my first comment
  • 11:31:34 <randomresult> i change the viewhelper
  • 11:31:39 <randomresult> try that one first
  • 11:31:41 <randomresult> pls
  • 11:31:45 <Denyerek> Roger
  • 11:32:40 <randomresult> set it to false / false
  • 11:33:51 <mhowellsmead> @BenjaminR re. that RTE field: it has the name data[tt_content][330][_TRANSFORM_bodytext] if that helps at all. using TCEFORM.tt_content._TRANSFORM_bodytext.disabled = 1 has no effect
  • 11:33:59 <Denyerek> ok randomresult we're getting somewhere
  • 11:34:09 <Denyerek> with both set to false, it renders the hrefs with the shortcut Ids
  • 11:34:12 <Denyerek> if I click on one I get this:
  • 11:34:12 <Denyerek> #1301648404: This page (ID 114) is of type "Shortcut" and configured to redirect to a page, which is not accessible (ID 0).
  • 11:34:28 <randomresult> did u set the shortcuts correctly?
  • 11:34:49 <randomresult> clear cache/temp?
  • 11:34:58 <Denyerek> The shortcut targets are blank!
  • 11:35:00 <Denyerek> wtf
  • 11:35:08 <Denyerek> bulk edit in list mode must not work for shortcut targets!
  • 11:35:11 <mhowellsmead> @BenjaminR TCEFORM.tt_content.bodytext.disabled = 1 removes it.
  • 11:35:13 <Denyerek> let me fix those first
  • 11:36:03 <Denyerek> ok randomresult - updating now
  • 11:36:05 <Denyerek> I think this could be it
  • 11:36:10 <Denyerek> PEBCAK as usual
  • 11:37:44 <Denyerek> I'd set the shortcut TARGET field
  • 11:37:48 <Denyerek> not the goddamn shortcutToPage
  • 11:37:51 <Denyerek> <-- Idiot
  • 11:37:56 * Denyerek sits there, clapping, covered in shit
  • 11:37:56 <randomresult> :)
  • 11:38:01 <ad_on_is> i'm still getting "Call to a member function exec_SELECTcountRows() on a non-object in /Users/adisdurakovic/Sites/fhcampus/typo3conf/ext/flux/Classes/Configuration/BackendConfigurationManager.php on line 154" error when running "check extensions" in install-tool
  • 11:38:01 <randomresult> LOL
  • 11:38:17 <ad_on_is> does anybody have the same problem?
  • 11:38:31 <ad_on_is> it's caused when i use registerFluidFlexFormPlugin() in ext_tables.php
  • 11:38:55 <ad_on_is> it's screwing many things up in my project
  • 11:40:17 <mhowellsmead> @BenjaminR however that TS removes the bodytext field from all content types. using TCEFORM.tt_content.layout.types.fluidcontent_content.bodytext.disabled = 1 has no effect.
  • 11:40:58 <randomresult> Denyerek works?
  • 11:51:13 * randomresult asks himself how long @Denyerek needs to get clean again... second day in a row - man u have a run! Denyerek is on FIRE!
  • 11:54:32 <Tjark> some body worked with vidi extension ?
  • 11:55:52 <Denyerek> Have a run, or have the runs? :)
  • 11:55:59 <Denyerek> (UK euphamism for durchfall)
  • 11:56:28 <mhowellsmead> what's the new name for flux:flexform.field.group please?
  • 12:00:18 <Denyerek> I think it's just flux:form
  • 12:00:24 <Denyerek> But I'm not sure
  • 12:02:02 <mhowellsmead> flux:wizard.link would be what i actually need. but i can't see how to constrain the seelction to pages
  • 12:03:18 <mrboe> <flux:wizard.link activeTab="Page"/>
  • 12:06:20 <Denyerek> Anyone got an example of content-sliding anywhere ?
  • 12:06:31 <mhowellsmead> thanks @mrboe. no field name attribute allowed though?
  • 12:06:35 <Denyerek> I want to have a "banner image" field on my page template, that will use the page aboves if none is set.
  • 12:08:18 <mhowellsmead> @denyerek page.meta.bannerimage = TEXT
  • 12:08:46 <mhowellsmead> page.meta.bannerimage.data = levelfield:-1,bannerimage, slide
  • 12:09:12 <mhowellsmead> that's the slide TS (in setup field)
  • 12:11:39 <mhowellsmead> @mrboe got it. thanks.
  • 12:12:01 <danilobuerger> randomresult
  • 12:21:05 <randomresult> danilo?
  • 12:21:16 <danilobuerger> FluidTYPO3/flux#496
  • 12:21:17 <FT3BOT1> Issue 496: [BUGFIX] Unclaus the claus, fixes c&p, adds world domination https://github.com/fluidtypo3/flux/issues/496
  • 12:21:40 <randomresult> ah cool
  • 12:21:47 <randomresult> saw that this mornign
  • 12:21:54 <danilobuerger> would you mind testing if it fixes your c&p problems too?
  • 12:22:04 <randomresult> i can
  • 12:22:47 <randomresult> is it merged already?
  • 12:22:55 <randomresult> it is
  • 12:22:55 <danilobuerger> yeah dev branch
  • 12:23:09 <randomresult> ok. then i need to check this one out
  • 12:24:26 <danilobuerger> should fix every c&p issue except FluidTYPO3/flux#242
  • 12:24:27 <FT3BOT1> Issue 242: Localising child content elements behaves incorrectly https://github.com/fluidtypo3/flux/issues/242
  • 12:25:54 <randomresult> danilobuerger seems to work after a short test
  • 12:26:14 <randomresult> anyone around having issues using inlineconditons inside a tag?
  • 12:26:22 <randomresult> for example <f:link.page pageUid="1" {f:if(condition:settings.title,then:'title="hallo"')}>link</f:link.page>
  • 12:26:35 <danilobuerger> ....
  • 12:26:40 <danilobuerger> why would you even try that ^^
  • 12:27:09 <randomresult> i want to add a title within an imagetag
  • 12:27:20 <danilobuerger> put your condition inside the title attribute
  • 12:27:35 <randomresult> if it is not set... will render an empty tag
  • 12:28:04 <danilobuerger> well you cant make attributes dynamically appeart
  • 12:28:13 <randomresult> <v.var.set name="titleTag" value="rel"/>
  • 12:28:13 <randomresult> <f:link.page pageUid="1" {titleTag}>link</f:link.page>
  • 12:28:19 <randomresult> should this work?
  • 12:28:24 <randomresult> only as an example
  • 12:29:16 <danilobuerger> https://gist.github.com/danilobuerger/560bbaf7dc14ca8c6be0
  • 12:29:41 <randomresult> this is no inlinecondition...
  • 12:29:51 <danilobuerger> exactly
  • 12:30:10 <randomresult> so when u want to add x attributes...
  • 12:30:42 <danilobuerger> as far as i know you cant dynamically add attributes in fluid
  • 12:31:06 <randomresult> since when?
  • 12:31:16 <danilobuerger> since always
  • 12:31:20 <danilobuerger> i might be wrong :-)
  • 12:33:26 <danilobuerger> and btw (in theory) an empty title attribute shouldnt render
  • 12:33:42 <danilobuerger> AbstractTagBasedViewHelper Line 76 (6.2.0)
  • 12:33:55 <randomresult> ok.
  • 12:33:57 <randomresult> thx.
  • 12:34:21 <danilobuerger> this applies to all universal tag attributes.. if they are empty they shouldnt render (in theory)
  • 12:37:37 <randomresult> whos responsible for the bot btw?
  • 12:37:41 <danilobuerger> cedricziel
  • 12:37:53 <randomresult> ok
  • 12:38:09 <danilobuerger> https://github.com/cedricziel/ft3chatbot/issues
  • 12:42:46 <randomresult> thx.
  • 12:43:04 <randomresult> btw. the c&p fix was really important to me :)
  • 12:43:25 <randomresult> telling a customer that this bug exists... would be ... :(
  • 12:43:45 <mrboe> http://viralentertainment.org/wp-content/uploads/2014/01/Friday-fun.jpg
  • 12:44:34 <Krystian> nay idea why the typo3temp/flux-preview-* are not used on my backend?
  • 12:44:45 <Krystian> they are rendered each time
  • 12:44:55 <Krystian> I go to page X in BE
  • 12:45:39 <Krystian> this is very important feature for me as BE now renders about 10sec :)
  • 12:50:29 <Krystian> first debug and I see that typo3temp/flux-preview-*-header.tmp is not rendered
  • 12:50:42 <Krystian> only typo3temp/flux-preview-*-content.tmp
  • 12:55:17 <randomresult> can someone confirm that it is not possible to drag and drop any plugin (ttnews/powermail/news) inside a contentcolumn?
  • 12:55:34 <randomresult> after reload of backend it is on the old position again?
  • 12:55:40 <BenjaminR> yes
  • 12:55:59 <randomresult> @BenjaminR yes?
  • 12:56:03 <NamelessCoder> carrrrrrrrrrrnifex
  • 12:56:04 <randomresult> yes to my question?
  • 12:56:06 <BenjaminR> danilobuerger is into that
  • 12:56:10 <NamelessCoder> thanks mrboe ^^
  • 12:56:10 <randomresult> ah cool
  • 12:56:19 <randomresult> hi @NamelessCoder
  • 12:56:23 <randomresult> hows it going
  • 12:56:39 <mrboe> ;)
  • 12:56:45 <NamelessCoder> somewhere around 160bpm
  • 12:56:51 <randomresult> why?
  • 12:56:55 <randomresult> chrystal again?
  • 12:57:00 <randomresult> you should stop that
  • 12:57:01 <NamelessCoder> carnifex ;)
  • 12:57:19 <mrboe> carnifex and cristal would be a good combo
  • 12:57:25 <randomresult> lol
  • 12:57:26 <NamelessCoder> haha
  • 12:57:30 <randomresult> 200bpm
  • 12:57:42 <randomresult> u work listening to that?
  • 12:57:48 <NamelessCoder> oh yeah
  • 12:57:53 <randomresult> no way.
  • 12:57:55 <mrboe> for a chilled evening with fedext core
  • 12:58:15 <randomresult> mrboe - good one +1
  • 12:58:49 <randomresult> @NamelessCoder merging ur commit means no progressbar no more
  • 12:59:57 <NamelessCoder> guess I'll have to moshpit that into submission
  • 13:00:27 <randomresult> hehe
  • 13:00:32 <BenjaminR> Randomresult - you had that c&p issue when elements got duplicated?
  • 13:00:49 <randomresult> jupp
  • 13:00:53 <randomresult> fixed in dev
  • 13:00:54 <BenjaminR> could you pull from development branch for flux to get the pull request #496
  • 13:00:58 <BenjaminR> and try it
  • 13:01:02 <BenjaminR> is from danilobuerger fixing this
  • 13:01:07 <BenjaminR> flux#496
  • 13:01:08 <FT3BOT1> Issue 496: [BUGFIX] Unclaus the claus, fixes c&p, adds world domination https://github.com/fluidtypo3/flux/issues/496
  • 13:01:14 <randomresult> when u say wurst, i already had it
  • 13:01:25 <randomresult> already ate it
  • 13:01:42 <randomresult> :) done - danilobuerger told me about that earlier
  • 13:01:50 <BenjaminR> kay :)
  • 13:02:10 <randomresult> worked great
  • 13:02:58 <mrboe> @randomresult five euros for phrase pig
  • 13:04:31 <randomresult> now i know why NamelessCoder lost his name...
  • 13:05:55 <randomresult> carnifex makes u loose ur name... tried to listen to it for 2 minutes while working... who am i?
  • 13:09:45 <NamelessCoder> hehe
  • 13:09:57 <NamelessCoder> you are the recipient of brutality, that's who you are
  • 13:11:32 <randomresult> hehe
  • 13:11:38 <randomresult> i know
  • 13:11:52 <Krystian> hi - any idea why in typo3conf/ext/flux/Classes/Backend/Preview.php on 111 I have empty previewHeader in list ($previewHeader, $previewContent, $continueDrawing) = $provider->getPreview($row);
  • 13:11:53 <Krystian> ?
  • 13:12:50 <NamelessCoder> Krystian possible but unlikely: you have some extension somewhere which also generates a preview and which clears the header variable (which is passed by reference)
  • 13:13:19 <Krystian> Tnx. I will try to check this.
  • 13:14:43 <NamelessCoder> damn this is crushing :)
  • 13:15:01 <Tjark> some one know the best way to contact Fabien Udriot ?
  • 13:15:22 <NamelessCoder> Tjark I think his email is the best way - he notes it on the bootstrap package git page
  • 13:16:11 <NamelessCoder> https://github.com/Ecodev/bootstrap_package
  • 13:16:13 <Tjark> ah perfect thanks
  • 13:16:18 <Tjark> found it
  • 13:22:32 <randomresult> what is the default for allowMoveToFooter using JS?
  • 13:22:52 <randomresult> @NamelessCoder maybe our error in Chrome is related to that !?!
  • 13:24:31 <Krystian> @NamlessCoder - I debuged a while and the gerPreview is taken from typo3conf/ext/flux/Classes/Provider/AbstractProvider.php and the $headerContent there is always NULL
  • 13:24:54 <Krystian> so in the end the GeneralUtility::writeFile($cacheFilePathAndfilenameHeader, $headerContent); is never write
  • 13:25:06 <Krystian> and the BE preview caching not woring
  • 13:25:09 <Krystian> and the BE preview caching not working
  • 13:25:38 <Denyerek> NamelessCoder, do you have an example of how to slide content ?
  • 13:25:49 <Denyerek> mhowellsmead pasted some TS
  • 13:26:02 <Denyerek> Wondered if that was the correct way to do it
  • 13:26:41 <Denyerek> Also is this the right way to do images?
  • 13:26:41 <Denyerek> <v:media.image src="{f:uri.resource(path:'Images/generic-banner.jpg')}" alt="Alba Chriopractic"/>
  • 13:26:53 <Denyerek> It works, but I wasn't sure if I'd done it "properly"
  • 13:28:27 <NamelessCoder> Denyerek v:content.render argument "slide"
  • 13:28:41 <NamelessCoder> it will collect content in the same colPos N levels up the rootline
  • 13:28:51 <Denyerek> Right
  • 13:28:56 <NamelessCoder> and yep, that's how you'd do an image
  • 13:28:57 <Denyerek> but what if the image is from a page confirguration field ?
  • 13:29:02 <Denyerek> <flux:flexform.field.input name="settings.searchFieldName" label="Name (HTML attribute) of form field, example tx_solr[q]" default="q" />
  • 13:29:07 <Denyerek> ^ trying to turn that into an image picker
  • 13:29:10 <Denyerek> Failing.
  • 13:29:23 <NamelessCoder> <flux:field.file name="settings.myImage" />
  • 13:29:36 <NamelessCoder> <f:image src="{settings.myImage}" />
  • 13:29:51 <Denyerek> But they need to pick the image from /fileadmin or wherever
  • 13:29:52 <NamelessCoder> <flux:field.file name="settings.myImage" uploadFolder="uploads/tx_myext" />
  • 13:29:59 <NamelessCoder> <f:image src="uploads/tx_myext/{settings.myImage}" />
  • 13:30:16 <NamelessCoder> first example will pick the file from fileadmin and NOT copy it
  • 13:30:23 <NamelessCoder> second one will copy the file to the uploads folder
  • 13:30:32 <Denyerek> http://fluidtypo3.org/viewhelpers/flux/master/Flexform/Field/FileViewHelper.html
  • 13:30:45 <Denyerek> Says uploadFolder is dep?
  • 13:30:52 <randomresult> man... i tell u i will love the new logs from irc..
  • 13:31:41 <Denyerek> Ahh so the name field identifies the field, not the file.
  • 13:31:47 <NamelessCoder> Denyerek the property is incorrectly documented it seems. It was moved - but you're reading it in the place it was moved to
  • 13:31:54 <Denyerek> Ahh OK
  • 13:31:57 <Denyerek> so it's not been update.
  • 13:32:09 <NamelessCoder> name is *always* name of the field/sheet/container/object etc.
  • 13:32:32 <Denyerek> Cool
  • 13:32:44 <Denyerek> should things stikll be flux:flexform.grid
  • 13:32:47 <Denyerek> or did that get renamed ?
  • 13:32:56 <NamelessCoder> flux:grid, flux:grid.*
  • 13:33:20 <Denyerek> <flux:flexform.grid> -> flux:grid
  • 13:33:21 <NamelessCoder> see http://fluidtypo3.org/documentation/templating-manual/appendix/migration/from-flux-6x.html#new-viewhelper-names
  • 13:33:27 <Krystian> I fill up an issue for hat
  • 13:33:28 <Krystian> https://github.com/FluidTYPO3/flux/issues/497
  • 13:33:34 <Krystian> hat=that ;)
  • 13:34:21 <NamelessCoder> Thanks Krystian!
  • 13:34:42 <Denyerek> And I'm gonna assume this is gonna break autocomplete until mrboe fixes it again ?
  • 13:34:47 <NamelessCoder> note: the empty header by default is a conscious decision: adding it caused header duplication in all my tests
  • 13:35:01 <NamelessCoder> Denyerek I think so yes
  • 13:35:11 <NamelessCoder> I am behind on XSD fixes and creation
  • 13:37:21 <mrboe> @NamelessCoder can you recreate the XSD Master that we have all in there - i will check and fix them
  • 13:37:24 <Krystian> @NamelessCoder - I do nto know the background on empty headers. But the caching do not works with that.
  • 13:40:58 <Denyerek> What should default be for a checkbox ?
  • 13:41:01 <Denyerek> checked or 1
  • 13:41:14 <mrboe> 0/1
  • 13:41:50 <randomresult> chrome is a bitch
  • 13:42:03 <NamelessCoder> Krystian in that case: a bug fix is definitely appreciated - if it causes any problems I will take care of those ;)
  • 13:42:05 <Denyerek> Aye thanks mrboe just tried that
  • 13:42:22 <NamelessCoder> and yes, I will generate some damn XSD files at some point
  • 13:42:26 <Denyerek> Hahaha
  • 13:42:36 <Denyerek> ok so now I have an image field, and a tickbox.
  • 13:42:48 <Denyerek> Now I need to do some conditional checking.
  • 13:42:48 <mrboe> i know you dont use them
  • 13:45:02 <NamelessCoder> can't you all just remember every viewhelper name and argument? :)
  • 13:45:07 <randomresult> NamelessChristalCarnifex is beyond autocomplete
  • 13:45:24 <NamelessCoder> ...in every version?
  • 13:45:44 <mrboe> Sir.CristalCarnifex for u
  • 13:45:45 <NamelessCoder> guys, come on - it's only like 345,532,567,878 bits of information
  • 13:45:46 <randomresult> maybe carnifex's texts is all about arguements and names
  • 13:46:09 <Denyerek> haha
  • 13:46:10 <randomresult> i dont as i dont understand them
  • 13:46:12 <Denyerek> Ok so next noob question
  • 13:46:22 <Denyerek> I've created the file selection , it works, I can pick a file.
  • 13:46:23 <randomresult> Denyerek about conditions
  • 13:46:26 <danilobuerger> NamelessCoder thats how i role while using Textmate :-)
  • 13:46:32 <danilobuerger> no luxury XSD
  • 13:46:33 <Denyerek> However, Id rather it was an "image picker"
  • 13:46:45 <Denyerek> I found a thread suggesting to use the field.inline.fal ?
  • 13:46:48 <Denyerek> but I don't think I'm using FAL
  • 13:46:51 <NamelessCoder> XSD = training wheels :p
  • 13:47:05 <danilobuerger> Denyerek always use fal :-)
  • 13:47:09 <randomresult> better training than nothing
  • 13:47:15 <NamelessCoder> hehe, no seriously - I will generate those. The docs use them as rendering source.
  • 13:47:21 * Denyerek is barely on the damn bike
  • 13:47:28 <Denyerek> Let alone training wheels.
  • 13:47:32 <Denyerek> I'm still in the door bouncer.
  • 13:47:33 <randomresult> Denyerek wheelchair
  • 13:47:46 <NamelessCoder> randomresult that's for after
  • 13:47:57 <randomresult> that is what im in
  • 13:48:19 <Denyerek> Do I need to install FAL, then ?
  • 13:48:25 <Denyerek> That;s totally new to me.
  • 13:48:26 <Denyerek> :/
  • 13:48:26 <randomresult> Denyerek bike without wheels
  • 13:48:29 <Denyerek> Haha yeah.
  • 13:48:33 <mrboe> i feel like this: http://bild4.qimage.de/kinder-gehhilfe-von-foto-bild-76657614.jpg when talking to NamelessCoder
  • 13:48:33 * Denyerek sits here, clapping
  • 13:48:34 <danilobuerger> Denyerek do you have typo 6.0 or up?
  • 13:48:39 <Denyerek> yes, 6.2
  • 13:48:43 <danilobuerger> then you have fal
  • 13:48:51 <Denyerek> I have files in /fileadmin/Banners
  • 13:48:54 <Denyerek> and wanted an image selector
  • 13:49:00 <danilobuerger> use fal field
  • 13:49:04 <Denyerek> and wanted an image selector
  • 13:49:07 <danilobuerger> use fal field
  • 13:49:09 <randomresult> hehe mrboe maybe i should leo chat with theonewhoshouldnotbenamed
  • 13:49:26 <Denyerek> <flux:field.inline.fal name="myImage" multiple="false" />
  • 13:49:30 <Denyerek> SOmething like that I think...
  • 13:49:33 <Denyerek> Let's see what that achieves.
  • 13:50:31 <randomresult> @NamelessCoder u are here this evening? or at the weekend?
  • 13:50:48 <randomresult> then we maybe find the time to fix this TS-Thing
  • 13:51:05 <NamelessCoder> randomresult can't promise I will be. Definitely won't tonight.
  • 13:51:19 <randomresult> ok.
  • 13:52:16 <Guest|28391> hello!
  • 13:52:31 * randomresult is happy @NamelessCoder isnt... so have a free evening spending his money on some good bottles of wine
  • 13:53:16 <Guest|28391> i have a question about the v:if.condition viewhelper
  • 13:53:40 <NamelessCoder> oh yeah and tomorrow evening neither - that's my birthday
  • 13:54:02 <randomresult> @NamelessCoder begging for presents!
  • 13:54:12 <randomresult> a macbook air maybe?
  • 13:54:32 <NamelessCoder> haha :)
  • 13:54:35 <danilobuerger> if you get me a macbook air, i will fix your bug
  • 13:55:08 <Denyerek> LOL
  • 13:55:21 <Denyerek> what bloody Space Captain thought "Create New Relation" was a good button title?
  • 13:55:25 <Denyerek> how about "Add file" ?
  • 13:55:40 <Denyerek> <flux:field.inline.fal name="settings.bannerImageFal" multiple="FALSE" enabledControls="{info:TRUE,new:FALSE,dragdrop:FALSE,sort:FALSE,hide:FALSE}"/>
  • 13:55:48 <Denyerek> ^^ that's what I have so far
  • 13:56:02 <Denyerek> Now... how the smeg do I use that selected file in my media.image ?
  • 13:56:14 <NamelessCoder> eek!
  • 13:56:19 <NamelessCoder> Den you dirty boy!
  • 13:56:20 <NamelessCoder> :)
  • 13:56:23 <danilobuerger> pfff
  • 13:56:24 <Denyerek> What what
  • 13:56:28 <NamelessCoder> smeg
  • 13:56:29 <danilobuerger> i thought it was
  • 13:56:31 <danilobuerger> dont diss me ;-)
  • 13:56:36 <BrianJ> Thank you for the invite
  • 13:56:44 <danilobuerger> hey BrianJ ;)
  • 13:56:48 <NamelessCoder> ahoy!
  • 13:56:50 * Denyerek gives danilobuerger his Space Captain's badge
  • 13:56:58 <Denyerek> Scare the users why don't you? :)
  • 13:56:59 <BrianJ> danilobuerger thanks :D
  • 13:57:13 <danilobuerger> Denyerek if you dont like the default title, please file a bug at the flux repos ;-)
  • 13:57:17 <NamelessCoder> Denyerek regarding this label I think it has a new option to be manipulated - but we don't support it yet. The "apparance" array
  • 13:57:28 <Denyerek> Ahh right
  • 13:57:33 <Denyerek> I was just stealing from this Stackoverflow
  • 13:57:44 <Denyerek> http://stackoverflow.com/questions/19553022/how-can-i-make-a-image-selection-field-with-flux-that-is-like-the-typo3-native-i
  • 13:57:54 <Denyerek> I think BenjaminR was responsible for the reply in question actually.
  • 13:59:09 <NamelessCoder> yep, that's Be
  • 13:59:11 <NamelessCoder> Ben
  • 13:59:17 <Guest|28391> https://www.filepicker.io/api/file/SHKPuFdRQdGnzXltn9QU the first and second condition returns true, but when a compare them with a OR statement it always returns false. Why?
  • 13:59:46 <NamelessCoder> what's up Brian?
  • 14:00:24 <danilobuerger> Guest|28391 do not use v:if.condition
  • 14:00:31 <BrianJ> NamelessCoder I'm sitting here creating a responsive footer with TemplaViolá lol
  • 14:00:39 <NamelessCoder> hehe
  • 14:00:44 <NamelessCoder> so, just trolling ;)
  • 14:01:02 * randomresult needs to go
  • 14:01:21 <NamelessCoder> cya randomresult - I may have a solution for your progress bar before evening
  • 14:01:32 <BrianJ> NamelessCoder hehe nice to see an IRC with a little activity
  • 14:01:33 <danilobuerger> Guest|28391 v:if.condition is deprecated and will be removed very soon.. please use v:if for logical statements
  • 14:01:34 <randomresult> @NamelessCoder have a nice weekend and have fun tomorow
  • 14:01:44 <danilobuerger> bye randomresult
  • 14:02:10 <Denyerek> ok , I did a v:debug on my banner image field:
  • 14:02:11 <Guest|28391> danilobuerger ok i'll try that one
  • 14:02:11 <Denyerek> http://pastebin.com/xYztcNrH
  • 14:02:15 <Denyerek> I don't really know how to "read" that
  • 14:02:52 <Denyerek> I see down at the bottom it's reported what I debugged
  • 14:02:59 <Denyerek> but it doesn't show me what I expected to be in the field :)
  • 14:03:24 <Denyerek> I just did <v:debug>{settings.bannerImageFal}</v:debug>
  • 14:03:33 <Denyerek> which is the name of the configuration field.
  • 14:04:23 <danilobuerger> Guest|28391 https://github.com/FluidTYPO3/vhs/pull/401 contains examples on howto use v:if
  • 14:04:57 <Denyerek> Like, I know settings.bannerDisplay should be 1
  • 14:05:01 <Denyerek> as the tickbox is ticked
  • 14:05:09 <Denyerek> but when I debug it, it reports an empty array ?
  • 14:05:13 <Guest|28391> danilobuerger thank you very much. is was looking for a good example!
  • 14:05:15 <NamelessCoder> BrianJ jep, it's picking up. The IRC logs are also online and one sweet day, a solr will be searching each line as a document that can be found as result :)
  • 14:05:41 <Denyerek> And my stupidity will be immoprtalised on the internet once more.
  • 14:05:49 <Denyerek> I will have to remember to connect as "SomeGuy" to ask questions.
  • 14:05:53 <Denyerek> :/
  • 14:06:02 <NamelessCoder> Denyerek you're using v:debug again ;)
  • 14:06:13 <Denyerek> ah shit
  • 14:06:16 <Denyerek> which one did I need to use ?
  • 14:06:19 <Denyerek> I thought I was NOT to use f:
  • 14:06:21 <NamelessCoder> f:debug
  • 14:06:24 <Denyerek> Balls.
  • 14:06:28 <Denyerek> Got them the wrong way around :)
  • 14:06:36 <NamelessCoder> v:debug will debug the VH instances, f:debug debugs variables
  • 14:07:09 <Denyerek> my bannerImageFal just dumps out "1"
  • 14:07:20 <Denyerek> I was kinda hoping for an image path or something I can use
  • 14:07:35 <Denyerek> The tickbox dumps out 1 tho, which IS what I expected.
  • 14:08:01 <Denyerek> Maybe the fal var is a FAL reference
  • 14:08:06 <Denyerek> it is the first one I made afterall.
  • 14:08:34 <Denyerek> Do I now need v:resource.record.fal ?
  • 14:08:37 <Denyerek> I think I might :D
  • 14:08:49 <Denyerek> Ok I might be on to something.
  • 14:09:48 <mhowellsmead> hi @namelesscoder
  • 14:09:59 <mhowellsmead> go the fal field working great in all but one instance
  • 14:10:24 <Denyerek> {v:resource.record.fal(uid:'settings.bannerImageFal')}
  • 14:10:28 <Denyerek> That didn't work out so well.
  • 14:10:42 <Denyerek> mhowellsmead, just struggling with FAL fields myself.
  • 14:10:50 <Denyerek> Trying to get to their contents to render them out :/
  • 14:11:15 <mhowellsmead> https://gist.github.com/permanenttourist/9829609
  • 14:11:52 <mhowellsmead> works a treat
  • 14:12:02 <mhowellsmead> anyway, as i was saying.
  • 14:12:22 <Denyerek> I have absolutely no comprehension of how I would be supposed to get to that, from where I am now :/
  • 14:12:56 <mhowellsmead> using fal as a child of flux:form.section » flux:form.object means that when i add an image to one object, it adds it to all of them.
  • 14:13:23 <Denyerek> mhowellsmead, I'm presuming in your case {image} is some variable ?
  • 14:13:51 <mhowellsmead> so if i have four "slides", selecting an image to add to one "slide", all "slides" receive the image. do i need to use a unique identifier per flux:form.object for the image field?
  • 14:14:06 <mhowellsmead> <flux:field.inline.fal name="image"/>
  • 14:14:44 <Denyerek> is that why the field is set to "image" too ?
  • 14:15:00 <Denyerek> so field would be "myVar" if my field name was "myVar" ?
  • 14:15:46 <mhowellsmead> yup
  • 14:15:53 <mhowellsmead> https://gist.github.com/permanenttourist/9832424
  • 14:16:08 <BenjaminR> Spring, sun, coffee, FluidTYPO3 - best things in life!
  • 14:16:13 <mhowellsmead> that's my FCE
  • 14:16:14 <BenjaminR> OT
  • 14:18:27 <mhowellsmead> @denyerek i had the advantage of starting from a working v6 fluid template.
  • 14:18:40 <mhowellsmead> big tip: refer to https://github.com/FluidTYPO3/fluidcontent_bootstrap for working fluid templates
  • 14:19:41 <mhowellsmead> …and thanks to namelesscoder for help yesterday afternoon.
  • 14:20:29 <mhmli> …in order to save your keyboards
  • 14:20:31 <mhmli> :)
  • 14:20:50 <BrianJ> NamelessCoder Yes it is much magic with the log :)
  • 14:21:55 <BrianJ> I don't need a keyboard I speak code
  • 14:22:02 <NamelessCoder> heh
  • 14:22:28 <NamelessCoder> the most powerful language on the earth - 100101101110000111010
  • 14:22:54 <BrianJ> Yes it is brilliant
  • 14:24:25 <Denyerek> mhmli, was it your first ever fluid attempt ?
  • 14:24:44 <mhmli> there are 10 types of people on earth who understand binary. those who do, and those who don't.
  • 14:24:51 <Denyerek> :)
  • 14:24:55 * Denyerek is still sat here clapping
  • 14:25:18 <NamelessCoder> settle down Den, you're making a mess
  • 14:25:19 <Denyerek> I wish I could share your enthusiasm BenjaminR
  • 14:25:24 <mhmli> @denyerek kind of. munged some stuff from fluidcontent_bootstrap and then asked namelesscoder for help to get FAL working with flux v7
  • 14:25:27 <Denyerek> I'm just confused most of the time :/
  • 14:25:43 <Denyerek> I've been borrowing from the bootstrap myself
  • 14:25:47 <Denyerek> but couldn't find any FAL stuff
  • 14:25:56 <mhmli> did you check out my gistlink?
  • 14:25:58 <Denyerek> and the relationship between typo3 data, typoscript and Fluid isn't yet clear to me.
  • 14:26:01 <Denyerek> I did, but I can't get it to work
  • 14:26:07 <BenjaminR> Deny: a) you think it was different for us? b) you dont know i am confused everyday :D
  • 14:26:08 <mhmli> what doesn't work?
  • 14:26:54 <BenjaminR> And btw: there is not everywhere a relation where you hope there is one :D
  • 14:26:56 <Denyerek> BenjaminR, everyone who works with fluid, except for me, already seems to know everything :)
  • 14:26:58 <mhmli> (i started programming for web in 96 and have been learning by copy+paste ever since.
  • 14:27:15 <Denyerek> if only it was all as easy as photoshop and css :/
  • 14:27:21 <Denyerek> right
  • 14:27:29 <Denyerek> I'll psatebin what I have and see if you can spot the difference
  • 14:27:44 <BenjaminR> Some CSS? ;)
  • 14:28:11 <Denyerek> http://pastebin.com/m7wkaGrB
  • 14:28:16 <Denyerek> Ok that's the tempkate
  • 14:28:25 <NamelessCoder> mhmli your [14:12:57] comment: known bug, unfortunately. Caused by the way FAL references are created.
  • 14:28:32 <Denyerek> the fal field shows up in the BE and I added an image from /fileadmin/banners/ to it
  • 14:29:04 <BenjaminR> Denyerek your template lacks a f:form
  • 14:29:08 <BenjaminR> flux:form :X
  • 14:29:16 <Denyerek> http://pastebin.com/NY2pLKKa
  • 14:29:17 <NamelessCoder> yep
  • 14:29:54 <Denyerek> Right
  • 14:29:59 <Denyerek> so wrap that in f:form
  • 14:30:03 <Denyerek> no params required?
  • 14:30:07 <BenjaminR> there are!
  • 14:30:13 <NamelessCoder> id param required
  • 14:30:26 <NamelessCoder> label recommended
  • 14:30:32 <Denyerek> ok
  • 14:30:34 <NamelessCoder> (or rely on LLL)
  • 14:30:37 <Denyerek> pageSettings and Page Settings
  • 14:31:08 <NamelessCoder> the "id" should indicate the name of the template (bit misleading to suffix Settings I think)
  • 14:31:20 <NamelessCoder> e.g. id="frontpage" id="subpage" etc.
  • 14:31:28 <mhmli> namelesscoder [14:28:25] so there's no way of achieving it?
  • 14:31:49 <BenjaminR> id="banner"
  • 14:31:50 <BenjaminR> :)
  • 14:31:51 <NamelessCoder> mhmli currently, no. It's a core limitation. Only solution is a workaround using flux:field.file instead
  • 14:32:14 <mhmli> …which then means i can't manage the file centrally (aka DAM)?
  • 14:32:19 <Denyerek> my template is called "page"
  • 14:32:27 <BenjaminR> so id="page"
  • 14:32:31 <NamelessCoder> mhmli well, you sort of can
  • 14:32:33 <Denyerek> Page.html
  • 14:32:38 <BenjaminR> it has to be unuqie - as you are used to with ids in html
  • 14:32:48 <NamelessCoder> the group field will actually write FAL identifiers as values
  • 14:32:57 <NamelessCoder> references will be tracked
  • 14:33:21 <Guest12345> i try to parse a fluid content variable in javascript. But on the side, it stays like {variable}
  • 14:33:22 <NamelessCoder> it's not smooth like the inline field but it is consistently working in objects, containers and everywhere else
  • 14:33:41 <Denyerek> http://denyerec.co.uk/stuff/.screencaps/2014-03-28_13-33-25.png
  • 14:33:44 <Denyerek> That is what I see now
  • 14:34:05 <Denyerek> The form label didn't seem to change anything.
  • 14:34:05 <NamelessCoder> so far so good Denyerek
  • 14:34:08 <mhmli> so if i change an alt text or swap out a jpg using the media extension (centrally), that jpeg will be replaced everywhere where it's been added to an fce?
  • 14:34:12 <Denyerek> My label is "page settings"
  • 14:34:16 <Denyerek> and it just says "options" there
  • 14:34:38 <BenjaminR> Denyerek: i dont know what you expect to see
  • 14:34:43 <Denyerek> My label?
  • 14:34:44 <Denyerek> :)
  • 14:35:14 <Denyerek> here it says "options" I kinda expected my label to appear.
  • 14:35:23 <Denyerek> anyway... that FAL field is there, I've added an image.
  • 14:35:26 <NamelessCoder> mhmli assuming you load the FAL resource using v:resource.fal - yes
  • 14:35:27 <BenjaminR> navigate to page layouts
  • 14:35:30 <BenjaminR> and you will see your label
  • 14:35:39 <NamelessCoder> or that you set "treatIdAsReference" on f:image
  • 14:35:42 <NamelessCoder> and so on
  • 14:35:56 <Denyerek> Oh that's not where I expected to see my label, but now I know I can name it appropriately.
  • 14:36:16 <BenjaminR> For FCE it is the title in the content wizard for example
  • 14:36:23 <NamelessCoder> Denyerek here's the explanation:
  • 14:36:35 <mhmli> nalenesscoder: v:resource.fal instead of v:resource.image?
  • 14:37:01 <Denyerek> Here is what I have in the layout now: http://pastebin.com/NY2pLKKa
  • 14:37:10 <NamelessCoder> "Page Configuration" label comes from TCA and cannot be affected by flux:form. "Options" is the sheet name and you can change this if you use a flux:form.sheet inside flux:form. Settings on flux:form describe the TEMPLATE, not the form ;)
  • 14:37:29 <Denyerek> AHHHhh
  • 14:37:39 <NamelessCoder> you can remove the "Options" sheet if you wish: both globally and locally.
  • 14:37:49 <NamelessCoder> so that all fields are just rendered as-is, no sheet enclosure
  • 14:38:05 <Denyerek> Let's not get that fancy just yet
  • 14:38:06 <Denyerek> ;)
  • 14:38:17 <NamelessCoder> compact="TRUE" on flux:form
  • 14:38:25 <NamelessCoder> well it may remove some confusion ;()
  • 14:38:30 <mhmli> namelesscoder using flux:field.file comes back to the problem from yesterday: i can't select an image from the media popup. i can only do that if i use flux:field.inline.fal
  • 14:38:42 <NamelessCoder> EXT:media?
  • 14:39:03 <NamelessCoder> yeah, then you're sort of stuck until Fabien fixes that issue - unfortunately I have zero input on it whatsoever :/
  • 14:39:03 <mhmli> yep
  • 14:39:09 <mhmli> crap
  • 14:39:18 <NamelessCoder> last option that may work, but don't count on it
  • 14:39:36 <Denyerek> http://pastebin.com/pXHzRGkG
  • 14:39:38 <NamelessCoder> <flux:field.input><flux:wizard.link activeTab="files" /></flux:field.input>
  • 14:40:18 <Denyerek> ^ that's what I have in my layout right now, but I'm not seeing anything rendered
  • 14:40:26 <mhmli> ew
  • 14:40:27 <mhmli> :)
  • 14:40:29 <NamelessCoder> domethings's off Denyerek
  • 14:40:47 <Denyerek> As usual ;)
  • 14:40:56 <NamelessCoder> you need to ask danilobuerger how to use v:resource.fal to load the full metadata for the FAL object
  • 14:41:09 <Denyerek> mhmli seemed like he knew :)
  • 14:41:15 <mhmli> ok, i guess i have to wait for fabien then
  • 14:41:31 <NamelessCoder> and then when you have those variables you should be able to use just f:image with the correct metadata property as "src" to get it working
  • 14:41:45 <NamelessCoder> hehe mhmli "ew" is right ;)
  • 14:42:11 <mhmli> https://gist.github.com/permanenttourist/9832424 lines 26-33 denyerek
  • 14:42:18 <Denyerek> That pastecode is me trying to fix mhmli's gist
  • 14:42:20 <mhmli> that outputs your fal image
  • 14:42:38 <mhmli> oy, nmy gist doesn't need fixing. it works. ;)
  • 14:42:39 <BenjaminR> Denyerek: https://gist.github.com/benjaminrau/9833031
  • 14:42:58 <Denyerek> fixing in my setting, I mean
  • 14:43:24 <mhmli> ben: why settings.images in your gist and not just images?
  • 14:43:34 <NamelessCoder> mhmli I'll answer that
  • 14:43:36 <BenjaminR> to preserve convestions
  • 14:44:00 <Sjoeren> Hi, i am new hat Fluid. Is there a way for autocomplete at Netbeans?
  • 14:44:02 <NamelessCoder> Extbase and Fluid are both capable of using variables defined with a "settings." prefix in a special way:
  • 14:44:15 <NamelessCoder> 1) Extbase overlays them with TS settings in the same "settings." scope
  • 14:44:36 <NamelessCoder> 2) Extbase respects currently one special attribute in this: switchableControllerActions
  • 14:44:59 <NamelessCoder> 3) Extbase assigns {settings} variable automatically to views, the content is a merged TS+flexform
  • 14:45:09 <NamelessCoder> 4) Fluid transfers this special name to all partials etc.
  • 14:45:10 <BenjaminR> Man he is sooo fast... if he had access to my computer he would write my fces before i know which i need ^^
  • 14:45:32 <NamelessCoder> BenjaminR the part that takes long is to properly design things mentally ;)
  • 14:45:48 <Denyerek> Haha
  • 14:46:01 <Denyerek> BenjaminR, I see what you are doing (Looping through the resources)
  • 14:46:08 <Denyerek> and it doesn't look a million miles away from my attemp
  • 14:46:23 <NamelessCoder> Sjoeren I'm afraid the answer is no - at least, I've never heard of it except in some ancient rumours.
  • 14:46:27 <Denyerek> yet when I debug both my settings.bannerImageFal and the variable, I just get "' " (8 chars)
  • 14:46:36 <BenjaminR> But it should contain everything you need Denyerek :)
  • 14:46:47 <BenjaminR> maybe you forgot to pass the variable to the partial
  • 14:46:49 <Denyerek> f:debug never shows me anything I can use
  • 14:46:53 <NamelessCoder> Denyerek you maybe misusing f:debug
  • 14:46:55 <BenjaminR> *section
  • 14:47:01 <Denyerek> I'm not in a partial I'm in the layout
  • 14:47:10 <BenjaminR> layout?!
  • 14:47:13 <NamelessCoder> if you add whitespace inside the tag content you will cause __toString() on objects and may not see the proper dump
  • 14:47:33 <Denyerek> I thought I could just hack code into the layout first, then cut it up into the right places
  • 14:47:33 <NamelessCoder> safe way: {settings.xyz -> f:debug()}
  • 14:47:51 <NamelessCoder> Denyerek your approach is fine, but you should consider refactoring when done
  • 14:48:22 <NamelessCoder> protip: leave a debug statement commented out: {settings.xyz -> f:debug() -> f:comment()}
  • 14:48:38 <Denyerek> Right, it dumps "1"
  • 14:48:44 <Denyerek> settings.bannerImageFal, that is.
  • 14:48:53 <Denyerek> BenjaminR, it was easier for me to hack in one file than 3
  • 14:48:57 <Denyerek> I will be refactoring once it works
  • 14:48:59 <NamelessCoder> Denyerek yep - this is either: the number of references or the UID of the file in FAL
  • 14:49:03 <Denyerek> Ok
  • 14:49:31 <BenjaminR> NamelessCoder! Look for your own person seeking help! Denyerek already received my token :P
  • 14:49:33 <NamelessCoder> you then treat this value using v:resource - the details of which I am not yet completely comfortable with
  • 14:49:42 <NamelessCoder> hehe
  • 14:49:43 <BenjaminR> muahahaa
  • 14:49:49 <mhmli> deynerek: look closely at https://gist.github.com/permanenttourist/9832424 line 26
  • 14:50:17 <BenjaminR> Oh... my fault... TTL expired
  • 14:50:18 <Denyerek> Yep ?
  • 14:50:19 <mhmli> replace field: 'image' with field: 'settings.bannerImageFal'
  • 14:50:23 <Denyerek> I did that
  • 14:50:31 <Denyerek> as per my pastecode
  • 14:50:43 <mhmli> use that f:debug {falImage}
  • 14:50:47 <NamelessCoder> I fear the "1" is a count
  • 14:51:01 <Denyerek> falImage comes back with NULL
  • 14:51:04 <BenjaminR> it is
  • 14:51:05 <NamelessCoder> we need more information - from DB.
  • 14:51:07 <BenjaminR> (a count)
  • 14:51:15 <NamelessCoder> problem in a nutshell:
  • 14:51:24 <mhmli> get rid of -> v:iterator.first()
  • 14:51:45 <mhmli> so that {falImage} isn't just the first subobject but the whole object
  • 14:51:47 <NamelessCoder> the sys_file_reference is being stored with some to us unknown "fieldname". I doubt the fieldname is "settings.bannerImageFal" in the sys_file_reference record.
  • 14:51:48 <BenjaminR> you cant access the flux:field.inline.fal directly - its debug output would only contain a count
  • 14:51:59 <Denyerek> right
  • 14:52:12 <BenjaminR> if your flux:field.inline.fal has name="xy" you would access the fal images with {v:content.resources.fal(field: 'xy')}
  • 14:52:13 <mhmli> then try f:debug {falImage.0}
  • 14:52:13 <Denyerek> So the fieldname is probably the culprit
  • 14:52:22 <mhmli> possibly
  • 14:52:23 <NamelessCoder> Denyerek: inspect database. Find the sys_file_reference record that was created. Pastebin us a cump of the record.
  • 14:52:35 <Sjoeren> Thanks NamelessCoder, at PHPStorm it works like charm but the TypoScript Plugin faild :(
  • 14:52:43 <NamelessCoder> but I reeeeeeeeeeeeally!!!!!!! recommend that you avoid those fal fields inside flexforms!
  • 14:53:03 <NamelessCoder> not least because of the amount of time it takes for me to explain why it is broken the way it is and how that's not our fault ^^
  • 14:54:02 <Denyerek> http://pastebin.com/G9tZfJS2
  • 14:54:03 <NamelessCoder> Sjoeren yep, phpstorm works well - I don't use the typoscript plugin but maybe it just needs an update to phpstorm 7.0
  • 14:54:12 <Denyerek> in the fieldname column it is in fact settings.bannerImageFal
  • 14:54:20 <NamelessCoder> okay so the the actual fuck
  • 14:54:28 <Denyerek> Teamviewer? :)
  • 14:54:29 <NamelessCoder> it is actually the flexform field name
  • 14:54:39 <Denyerek> Seems that way
  • 14:54:48 <BenjaminR> isnt that expected?
  • 14:55:00 <NamelessCoder> v:resource.record.fal(record: page, field: 'settings.bannerImageFal')
  • 14:55:20 <NamelessCoder> if that doesn't work, take FAL out back and shoot it in the head
  • 14:55:24 <BenjaminR> {v:content.resources.fal(field: 'settings.bannerImageFal')} - whats your record fal thing namelesscoder
  • 14:55:56 <Denyerek> <v:var.set name="falImage" value="{v:content.resources.fal(field: 'settings.bannerImageFal')}"/>
  • 14:55:56 <Denyerek> {falImage -> f:debug()}
  • 14:55:58 <NamelessCoder> load fal resources based on a record
  • 14:56:01 <Denyerek> Returns an empty array
  • 14:56:34 <NamelessCoder> Denyerek this VH is a shortcut VH to do what I did above, specifically in a content context (thus avoiding the "record" argument)
  • 14:56:40 <BenjaminR> {v:content.resources.fal(field: 'settings.bannerImageFal') -> v:var.set(name: 'falImage')} <- much more readable Denyerek - btw
  • 14:56:43 <NamelessCoder> {v:resource.record.fal(record: page, field: 'settings.bannerImageFal') -> f:debug()}
  • 14:56:45 <Denyerek> {v:content.resources.fal(field: 'settings.bannerImageFal')} -> f:debug
  • 14:56:48 <Denyerek> returns an empty array
  • 14:57:25 <mhmli> daft question. can you see the image relations correctly stored in the BE view?
  • 14:57:28 <NamelessCoder> {v:resource.record.fal(record: page, field: 'settings.bannerImageFal', table: 'pages') -> f:debug()} sry
  • 14:57:37 <NamelessCoder> default would be tt_content
  • 14:57:47 <NamelessCoder> mhmli yes he can
  • 14:57:53 <NamelessCoder> screenshots earlier
  • 14:58:02 <Denyerek> required arg table not supplied ?
  • 14:58:05 <Denyerek> ahha
  • 14:58:05 <Denyerek> :)
  • 14:58:28 <Denyerek> Woot
  • 14:58:30 <Denyerek> OK claus
  • 14:58:42 <Denyerek> that returned a 1 item array that's populated with the correct image field data
  • 14:58:45 <Denyerek> 54 items
  • 14:59:02 <Sjoeren> I had testet 6.0, 7.0 and 7.1 im testing now on another machine. thanks and bye
  • 14:59:03 <NamelessCoder> sorry my brain's fluid parsed is single-threaded and I'm receiving too many requests right now
  • 14:59:10 <NamelessCoder> s/parsed/parser
  • 14:59:12 * Denyerek throttles the request rate
  • 14:59:29 <Denyerek> {v:resource.record.fal(record: page, field: 'settings.bannerImageFal', table:'pages') -> f:debug()} <--- returns the expected image data
  • 14:59:33 <NamelessCoder> Denyerek return value: array of objects
  • 14:59:37 <Denyerek> Yes
  • 14:59:55 <Denyerek> So use that in place of content.resources.fal ?
  • 15:00:00 <NamelessCoder> {v:resource.record.fal(record: page, field: 'settings.bannerImageFal', table: 'pages') -> v:iterator.first() -> v:var.set(name: 'falRecord')}
  • 15:00:08 <Denyerek> Your fingers must get hot,
  • 15:00:09 <NamelessCoder> {falRecord -> f:debug()}
  • 15:00:10 <Denyerek> I swear
  • 15:00:13 <NamelessCoder> seriously
  • 15:00:32 <NamelessCoder> my brain is not designed for this type of thing :)
  • 15:01:14 <BenjaminR> can one tell me what is resource.record.fal thing here? for fal on flexform on pages?
  • 15:01:25 <Denyerek> Got the data!
  • 15:01:26 <BenjaminR> so i know where to put that in my brain :)
  • 15:02:07 <papillon6> Hi! Can anybody tell me whether the page-configuration (fluidpages) is inheritable? Right now i have to set it one each page explicitly...
  • 15:02:31 <Denyerek> It's um... rendering twice
  • 15:02:34 <Denyerek> :)
  • 15:03:41 <NamelessCoder> BenjaminR resource.record is THE most basic version o fhe FAL viewhelpers - you can manipulate it more than the others, and in this case we needed to specify the properties
  • 15:04:08 <BenjaminR> why needed here and not on my fce?
  • 15:04:44 <Denyerek> (pssst, guys.... it's rendering the same image out twice now)
  • 15:05:13 <BenjaminR> Denyerek: take a coffee - look at your iteration and find the typo :)
  • 15:05:58 <mrboe> @papillon6 i think you can set inherit="1" to the fields
  • 15:06:07 <Denyerek> <v:var.set name="falImage" value="{v:resource.record.fal(record: page, field: 'settings.bannerImageFal', table: 'pages') -> v:iterator.first()}"/>
  • 15:06:10 <NamelessCoder> {v:page.resources.fal(record: page, field: 'settings.bannerImageFal') -> v:iterator.first() -> v:var.set(name: 'falRecord')}
  • 15:06:13 <Denyerek> Not quite sure if my syntax is correct.
  • 15:06:19 <NamelessCoder> shortest possible variation
  • 15:06:25 <Denyerek> I rely on autocomplete
  • 15:06:27 <Denyerek> I know noooooooooooothing
  • 15:07:24 <Denyerek> There's only one image assigned in the BE
  • 15:07:34 <Denyerek> and there was only one element returned in {falImage}
  • 15:07:43 <mhmli> ah, i had that. hang on…
  • 15:08:18 <Denyerek> ah
  • 15:08:29 <Denyerek> I'm missing the v:iterator.extract(key: 'id)
  • 15:08:53 <Sjoeren> Denyerek, what Editor what editor do you use. Im searching one.
  • 15:09:06 <Denyerek> PHPStorm
  • 15:09:06 <NamelessCoder> phpstorm ;)
  • 15:09:15 <Denyerek> 7.something right now
  • 15:09:18 <Denyerek> best I've used
  • 15:09:30 <Denyerek> mhmli, it was the extract key bit
  • 15:09:34 <Sjoeren> thx
  • 15:09:36 <Denyerek> Question is... why ?!?
  • 15:09:41 <mhmli> i think that was it. if you reference the fal object directly instead of extracting the image object, it outputs it and assigns it to the fluid variable too
  • 15:09:52 <Denyerek> right
  • 15:10:09 <danilobuerger> Denyerek you still need help?
  • 15:10:17 <Denyerek> Excuse my french, but this is fucking bizarre.
  • 15:11:29 <Denyerek> For those playing along at home :
  • 15:11:29 <Denyerek> http://pastebin.com/q3ERqQY7
  • 15:11:44 <papillon6> @ mrboe: Ahh - thx. Wasn't aware of this attribute.
  • 15:11:47 <Denyerek> That's where I'm at, it works, but it ignores the site's responsive TS image output.
  • 15:11:48 <mhmli> if you don't want to use that extract method, then use v:content.resources.fal but then when calling v:resource.image, use identifier="{falResource.id}"
  • 15:12:31 <mhmli> lines 31-36 in your pastebin are pretty much identical to what i have working
  • 15:12:58 <mhmli> except i don't use "page" and "table"
  • 15:13:06 <Denyerek> Exccept you're using content.resources
  • 15:13:14 <Denyerek> and Ive had to use resource.record.fal
  • 15:13:18 <Denyerek> for some unknown reason
  • 15:13:19 <mhmli> correct
  • 15:13:46 <Denyerek> Wish I knew
  • 15:13:48 <mhmli> does content.resources not work for you?
  • 15:13:50 <Denyerek> what the reason was :)
  • 15:14:15 <mhmli> odd
  • 15:14:20 <BenjaminR> mhmli: wild guess - you are using fal images on a fce - Denyerek uses on a page template
  • 15:14:21 <mhmli> cms v6.2?
  • 15:14:34 <mhmli> ben: could be that
  • 15:14:41 <BenjaminR> it is :)
  • 15:14:41 <Denyerek> That guess sits with me OK
  • 15:15:08 <Denyerek> So... how should it hook into the responsive image rendering ?
  • 15:15:13 <mhmli> good to know that there's a difference
  • 15:15:18 <BenjaminR> v:content.resources.fal sets table to tt_content because of v:_content_ :)
  • 15:15:34 <BenjaminR> so we need a abstract viewhelper which allowes to set table to pages
  • 15:15:56 <BenjaminR> Thanks what NamelessCoder did when advising to use v:record.fal vh
  • 15:16:19 <Denyerek> I'm guessing it's not going to tie into this: <v:var.set name="falImage" value="{v:resource.record.fal(record: page, field: 'settings.bannerImageFal', table: 'pages')
  • 15:16:19 <Denyerek> -> v:iterator.first()}"/>
  • 15:16:22 <Denyerek> Frig
  • 15:16:23 <Denyerek> sorry wrong paste
  • 15:16:29 <Denyerek> http://typo3.org/news/article/responsive-image-rendering-in-typo3-cms-62/
  • 15:16:38 <BenjaminR> well i am out for a while - have to push forward my things a bit
  • 15:17:22 <mhmli> ditto that. (i'm sticking with http://adaptive-images.com/ for now btw.)
  • 15:17:55 <Guest|77188> Hi. I have a simple question. Is it possible to localize flux fields? So you can see flux fields on the alternative page language record?
  • 15:18:30 <Denyerek> ok I need to make a delivery
  • 15:18:33 <Denyerek> I will be back in an hour :/.
  • 15:18:42 <BenjaminR> dont hurry Denyerek ;D
  • 15:18:48 <Denyerek> :P
  • 15:18:50 <BenjaminR> *joking*!
  • 15:18:54 <NamelessCoder> that
  • 15:18:59 <NamelessCoder> that's a big poop
  • 15:19:05 <NamelessCoder> luckily his drains a recently fixed
  • 15:19:06 <Denyerek> Lots of clapping.
  • 15:19:15 <Denyerek> brb
  • 15:20:42 <mrboe> If you're happy and you know it
  • 16:15:33 <Denyerek> Im back!
  • 16:15:33 <FT3BOT1> Welcome back Denyerek!
  • 16:15:41 * Denyerek knows BenjaminR missed me
  • 16:15:45 <Denyerek> it's been so quiet in here!
  • 16:16:04 <BenjaminR> Hej! Yes i was really in worry :) Happy to see you are back again :)
  • 16:19:05 <Denyerek> Hehe
  • 16:19:21 <Denyerek> Right well, remember that madness with the FAL images?
  • 16:19:24 <Denyerek> Now I need to make it slide...
  • 16:19:45 <Denyerek> So if banner is ticked but no banner selected, it'll use the parents etc.
  • 16:24:49 <BenjaminR> i wish you fun with that :)
  • 16:25:57 <NamelessCoder> Denyerek the short version: you must do this in PHP, in the controller, by traversing the page rootline.
  • 16:26:23 <Denyerek> Really?
  • 16:26:31 * Denyerek grumbles about now having to do that in TemplaVoila
  • 16:26:41 <NamelessCoder> try that in TV with FAL ;)
  • 16:26:48 <Denyerek> I'd... rather not.
  • 16:26:50 <NamelessCoder> hehe
  • 16:27:03 <Denyerek> So would it be easier to just have a straight up file link ?
  • 16:27:08 <Denyerek> rather than a FAL resource?
  • 16:27:08 <NamelessCoder> absolutely
  • 16:27:23 <NamelessCoder> easier, more efficient
  • 16:27:26 <Denyerek> As you mentioned render.content.slide
  • 16:27:43 <NamelessCoder> not going to work
  • 16:27:48 <Denyerek> This site has no need of FAL realistically, it's not going to be storing images on S3 etc.
  • 16:28:00 <NamelessCoder> then use flux:field.file
  • 16:28:05 <Denyerek> Is there a non-PHP approach to getting some page setting to slide ?
  • 16:28:22 <NamelessCoder> the contents of flux:field.file will be inherited
  • 16:29:20 <NamelessCoder> just to make sure you didn't miss it from earlier: my best advise is to avoid FAL in a flexform context
  • 16:29:20 <Denyerek> automagically ?
  • 16:29:24 <NamelessCoder> ye
  • 16:29:32 <Denyerek> OK. Where does one use FAL ?
  • 16:29:34 <Denyerek> I'm very new to that.
  • 16:29:41 <NamelessCoder> FAL is great when used with custom records fx
  • 16:29:52 <NamelessCoder> it has other advantages as well, of course
  • 16:30:10 <NamelessCoder> but the least sensible place to use it currently, due to a combination of bugs and limitations, is flexforms
  • 16:30:42 <Denyerek> Right.
  • 16:30:44 <NamelessCoder> fact is, values you store using flux:field.file do slide, point to a specifc file - and can be loaded as FAL but you wouldn't need to, UNLESS you require the metadata assocated with the file
  • 16:30:46 <Denyerek> I'll file that one under "maybe later"
  • 16:30:55 <Denyerek> Nope.
  • 16:31:03 <Denyerek> I can have them set alt-text as another field if they want it.
  • 16:31:32 <NamelessCoder> if there will ever only be one image, just add an alt text field yes
  • 16:35:20 <joinhomer> Short newbie question in between: can anyone please tell me where i can get the "templating manual"? The manual on the website ist nearly empty since the website relaunch and i'm not really sucessful in getting information of the old site out of the google cache.
  • 16:36:05 <NamelessCoder> joinhomer it's work in progress, as noted on the front page.
  • 16:36:11 <NamelessCoder> the idea is that something is better than nothing
  • 16:37:53 <Denyerek> Hehe
  • 16:37:58 <Denyerek> joinhomer, welcome aboard!
  • 16:38:19 <Denyerek> Claus I see "func" "An error was encountered while rendering the Flexform".
  • 16:38:30 <Denyerek> "func" isn't *too* helpful, how should I start digging ?
  • 16:38:55 <joinhomer> @Claus Thank you for your answer. Is there any way to get access to the old documentation to get at least some idea of the whole concept? I wanted to switch away from TV but i'm pretty lost right now...
  • 16:39:16 <Denyerek> joinhomer, you're like my spirit animal.
  • 16:39:21 * Denyerek is in the same position :)
  • 16:40:19 <joinhomer> i've never been called "spirit animal" - i will use this term in a conversation with my girlfriend in the near feature ;)
  • 16:40:21 <NamelessCoder> joinhomer the three-part guide on worksonmymachine.org archives is a good intro
  • 16:40:45 <NamelessCoder> that info is currently part of the limited docs you see on fluidtypo3.org
  • 16:42:51 <joinhomer> Thank you for the link, i will read through that. Could i possibly also hire you to code me some "FCE"?
  • 16:43:20 <NamelessCoder> sure, that (and other things) is what I do for a living ;)
  • 16:43:24 <Denyerek> I don't think anyone in here will say no to that ;)
  • 16:44:58 <joinhomer> Claus, can you give me some contact data of you?
  • 16:45:16 <NamelessCoder> everything you need is on https://namelesscoder.net ;)
  • 16:46:37 <joinhomer> Aaaaah, i tried to access http://www.namelesscoder.net/ - which doesn't really work
  • 16:47:43 <Denyerek> That's because he's absorbed the internet.
  • 16:48:06 <Denyerek> Claus I'm hoping this is no longer relevant:
  • 16:48:07 <Denyerek> http://www.denyerec.co.uk/typo3-fed-flux-image-previews-in-be
  • 16:48:35 <NamelessCoder> honestly I don't know but I think I saw some path-in-be related fix
  • 16:48:59 <joinhomer> @Claus: your website says "Estimated availability: April 14th" - i'm afraid that's a bit to late for the project i'm working on
  • 16:49:09 <NamelessCoder> if all else fails, <img src="/f:uri.image(...)" />
  • 16:49:28 <NamelessCoder> joinhomer how much time would you require?
  • 16:53:37 <joinhomer> claus: huh, i can't really tell that. In TV i would do that in about 1 or 2 hours. Some elements. jquery Slider, custom element which shows some text elements which the author enters in the backend flexform. Maybe a bootstrap grid - i'm using one made in gridelements right now but having everything in fluid seems a better option.
  • 16:53:59 <Denyerek> Claus could probably manage that before I've got the extensions installed TBH
  • 16:54:02 <NamelessCoder> fluid is definitely the better option
  • 16:54:54 <NamelessCoder> joinhomer have you tried fluidcontent_bootstrap? It contains some of the things you need for this
  • 16:55:33 <Denyerek> <v:if settings.myVar="1>
  • 16:55:34 <Denyerek> ?
  • 16:55:56 <NamelessCoder> <f:if condition="{settings.myVar}">
  • 16:56:17 <Denyerek> https://github.com/FluidTYPO3/vhs/pull/401 ?
  • 16:56:34 <joinhomer> i tried fluidcontent_bootstrap, it doesn't really work in my test installations. I thought about using that as working example and modify it but then i realized that i couldn't find any documentation and got stuck
  • 16:56:45 <NamelessCoder> you don't need extended conditions to check if var is 1
  • 16:57:24 <NamelessCoder> alright joinhomer - sounds like you do need some custom things, perhaps with some proper comments explaining the templates
  • 16:59:30 <joinhomer> yes, that's the point: i need to understand the whole concept to get further with fluid and fluidtypo3
  • 16:59:36 <Denyerek> NamelessCoder, what if you need to check if someone's added a file to the file control ?
  • 17:00:34 <Denyerek> in the flow docs now
  • 17:00:52 <Denyerek> condition="{0: foo.bar} == {0: 'stringToCompare'}"
  • 17:01:01 <Denyerek> 0: notation is unusual.
  • 17:01:11 <NamelessCoder> joinhomer you have messages in private ;)
  • 17:01:19 <Denyerek> Ah... some kinda of fake array ?
  • 17:01:48 <NamelessCoder> yes: that trick compares two arrays of strings which is (in that version) the only way to compare strings
  • 17:02:01 <Denyerek> So it says yes... OK fair enough.
  • 17:02:02 <NamelessCoder> recent versions should support condition="{variable} == 'string'"
  • 17:02:10 <Denyerek> last question for a time now...
  • 17:02:17 <Denyerek> my file in settings.bannerImage
  • 17:02:28 <Denyerek> if it's set (presumably test conditional) I need to render it
  • 17:02:34 <Denyerek> it's not a uri.resource
  • 17:02:47 <NamelessCoder> it's a sys_file:123 value
  • 17:02:51 <Denyerek> so can I use it in the v:media.image
  • 17:02:54 <Denyerek> ?
  • 17:03:30 <NamelessCoder> when saved, the value in your file variable should become "sys_file:uid"
  • 17:03:47 <Denyerek> I'm only 10% sure what that actually means ;)
  • 17:03:56 <NamelessCoder> to use in f:image (note: v:image is different!) use treadIdAsReference="TRUE"
  • 17:04:04 <Denyerek> And 4% sure how to use it
  • 17:05:43 <Denyerek> media.image, resource.image, uri.image or f:image
  • 17:05:44 <Denyerek> christ
  • 17:06:02 <Denyerek> resource seems linked to FAL
  • 17:06:08 <Denyerek> URI is for... uri's
  • 17:06:28 <Denyerek> media.image seems appropriate
  • 17:06:49 <Denyerek> Can't see the f:image in the flow/fluid docs
  • 17:06:57 <Denyerek> I see it on your site, but it has confused me.
  • 17:08:04 <Denyerek> treatIdAsReference seems to be a param on media.image too
  • 17:08:05 * Denyerek tries that
  • 17:09:32 <NamelessCoder> it may, may not be respected there. This particular argument exists on f:image and our viewhelpers are subclasses of it.
  • 17:10:04 <Denyerek> Well I see something, I see something!!
  • 17:12:17 <Denyerek> If I set a var in one section, can it be used in another ?
  • 17:13:09 <Krystian> <v:media.image has treadIdAsReference="TRUE"
  • 17:13:17 <Denyerek> Yep, got that, it's working so far
  • 17:13:18 <Denyerek> Trying thos now
  • 17:13:34 <Denyerek> height="{settings.bannerHeight}c"
  • 17:13:57 <mhmli> OT: any suggestions for making tt address v6 and multilingual compatible?
  • 17:13:58 <Denyerek> Seemed to work...
  • 17:14:05 <Krystian> but waht is the best way to show for example .doc file path in fluid (FAL reference)
  • 17:14:06 <Krystian> ?
  • 17:14:30 <Krystian> if treadIdAsReference="TRUE" is only available in image object
  • 17:15:26 <Krystian> seems like there is nothing like <f:file ?
  • 17:15:57 <Krystian> or do I misunderstood smth?
  • 17:17:09 <Denyerek> http://pastebin.com/E5jz9EdM
  • 17:17:13 <Denyerek> Something there is misbheaving.
  • 17:17:14 <mhmli> Krystian v:resource.file ?
  • 17:18:30 <mhmli> or do you mean flux:field.inline.fal ?
  • 17:18:42 <Krystian> tnx mhmli
  • 17:19:03 <Krystian> this is what I was lloking for
  • 17:19:38 <Denyerek> Right nailed it
  • 17:19:45 <Denyerek> mhmli, my conditional is really ugly
  • 17:19:53 <Denyerek> but I don't think there's a "nice" way around it
  • 17:20:00 <Denyerek> basically I want to insert a style if a condition is met
  • 17:20:25 <Denyerek> http://pastebin.com/EGnEKPGn
  • 17:20:35 <Denyerek> I think I had better assign the "style=..." to a string
  • 17:20:45 <Denyerek> and then insert the string into the <div id="main"
  • 17:20:53 <Denyerek> so I don't fragment where the #main lives
  • 17:21:00 <Denyerek> Is that do-able ?
  • 17:23:11 <Denyerek> How do you get "'s inside a value="" assignment ?
  • 17:23:16 <Denyerek> escaping doesn't seem to work
  • 17:24:13 <NamelessCoder> <f:section name="MyCustomCss">.css-rule { bla: bla; }</f:section> .... {f:render(section: 'MyCustomCss') -> v:asset.style(name: 'foobar') -> f:if(condition: myVariableThatContainsOneOrZero)}
  • 17:24:19 <mhmli> i've seen backslashes (escaping) in other examples
  • 17:25:01 <Denyerek> You seem to use the { something -> somethingElse } notation a lot Claus
  • 17:25:19 <Denyerek> It looks so alien to me I can't process it :/
  • 17:25:19 <NamelessCoder> of course. It's faster to parse and easier to read (for me)
  • 17:25:24 <mhmli> denyerek i'd've done what you said at 17:20:35 but claus' shorthand solution is better
  • 17:25:36 <mhmli> i'm just not that far yet on knowing the syntax off the cuff
  • 17:25:42 <NamelessCoder> I know, I'm a mutant
  • 17:25:45 <mrboe> have a nice weekend guys
  • 17:25:53 <NamelessCoder> likewise mrboe :)
  • 17:25:53 <Denyerek> http://pastebin.com/E0tnALYC
  • 17:25:56 <Denyerek> This is my current
  • 17:25:59 <Denyerek> cya mrboe
  • 17:26:17 <mrboe> @NamelessCoder have a nice hard reset tomorrow
  • 17:26:22 <mhmli> not elegant butt looks as though it would work at first glance
  • 17:26:24 <NamelessCoder> yup :)
  • 17:26:31 <Denyerek> the chaining of conditions...
  • 17:26:31 <mhmli> enjoy the weekend
  • 17:26:40 <Denyerek> ... is that not possible with the <tag> niotation ?
  • 17:26:45 <mhmli> "not elegant butt"
  • 17:26:48 <mhmli> jesus.
  • 17:26:51 <NamelessCoder> hehe
  • 17:27:02 <NamelessCoder> unelegant butt. Aka elephant butt.
  • 17:27:06 <mhmli> 5.30 on a friday.
  • 17:27:11 <mhmli> elephants have nice butts
  • 17:27:11 * Denyerek is still sat. Clapping.
  • 17:27:11 <NamelessCoder> Friday indeed
  • 17:27:18 <mhmli> if you're an elephant
  • 17:27:34 <mhmli> anyway. tt_address anyone? (OT i know)
  • 17:27:53 <Denyerek> claus just to confirm, the chaining is not possible with the <tag> notation ?
  • 17:28:10 <Denyerek> You'd have put the render inside a <f:if>
  • 17:28:14 <Denyerek> ?
  • 17:28:18 <NamelessCoder> fact about elephants: it is normal for members of the herd to console distressed elephants by slowly approaching and putting their trunk in the mouth of the distressed elephant.
  • 17:28:27 <mhmli> NO.
  • 17:28:28 <NamelessCoder> "here, suck on this...."
  • 17:28:34 <mhmli> we haven't even met.
  • 17:28:38 * Denyerek is distressed but not THAT distressed
  • 17:28:41 <NamelessCoder> hehe
  • 17:28:46 <NamelessCoder> just saying ^^
  • 17:28:48 <Denyerek> Which elephant does that help, anyway?
  • 17:28:49 <Denyerek> :D
  • 17:28:54 <Denyerek> The sucker or the suckee?
  • 17:28:56 <NamelessCoder> that's the question ^^
  • 17:28:58 <Denyerek> Hahaha
  • 17:29:19 <NamelessCoder> fact seemed relevant to situation
  • 17:29:53 <NamelessCoder> also, I'm nuts.
  • 17:30:04 <mhmli> would suit an elephant then
  • 17:33:55 <Denyerek> Is there a shorthand for comments inside templates?
  • 17:34:01 <Denyerek> or does everything have to be wrapped in <f:comment>
  • 17:35:42 <NamelessCoder> if commenting out a chained inline expression: add " -> f:comment()" to the end of the chain
  • 17:35:49 <NamelessCoder> same with variables
  • 17:35:55 <Denyerek> You love those bloody chains don't you ?
  • 17:36:00 <NamelessCoder> {variable} can be commented out by {variable -> f:comment()}
  • 17:36:04 <NamelessCoder> of course
  • 17:36:16 <Denyerek> Just as an exercise I'm trying to work out what the <tag> version of that asset / render example would be
  • 17:36:20 <NamelessCoder> if you have viewhelper *tags* you must enclose with f:comment to prevent rendering
  • 17:36:41 <NamelessCoder> almost impossible to achive with tags ;)
  • 17:37:03 <NamelessCoder> or at least, requires 10-12 lines instead of four
  • 17:37:06 <mhmli> right. enough.
  • 17:37:07 <mhmli> weekend!
  • 17:37:10 <mhmli> have a good one
  • 17:37:11 <NamelessCoder> cya mhmli :)
  • 17:37:43 <Denyerek> I'm fine with 12 so long as I understand what's going on.
  • 17:37:54 <Denyerek> asset.style seems to want a path, tho.
  • 17:38:32 <NamelessCoder> <f:if condition="..."> <v:asset.style name="myStyle">.css-rule { ... }</v:asset.style> </f:if> for a shorter version
  • 17:38:41 <NamelessCoder> if your content is empty, yes
  • 17:38:49 <NamelessCoder> v:asset.style tag content
  • 17:38:57 <Denyerek> Ahh
  • 17:39:07 <Denyerek> you did name: 'foobar'
  • 17:39:31 <NamelessCoder> name is for your own identification later
  • 17:39:34 <Denyerek> I am assuming that the rendered section is pushed into "content" automagically by the ->
  • 17:39:45 <Denyerek> ?
  • 17:39:59 <NamelessCoder> my second example skips using the section because the section makes sense only in the context of chained syntax
  • 17:40:05 <Denyerek> right
  • 17:40:15 <Denyerek> in the docs, what comes between the tags always says "may be ignored"
  • 17:40:21 <Denyerek> I presume that is == content="" ?
  • 17:40:28 <NamelessCoder> TRUE === empty($content)
  • 17:40:42 <Denyerek> Riiight
  • 17:41:08 <Denyerek> so in tag syntax, you either define content="something" or it's <v:asset.style ...>Something</v:asset.style>
  • 17:41:21 <NamelessCoder> yessir
  • 17:41:25 <Denyerek> I don't see you specify the content parameter in the chained syntax, though.
  • 17:41:36 <Denyerek> unless that's the implicitly set param when you chain it ?
  • 17:41:44 <NamelessCoder> that comes from the section that gets rendered
  • 17:42:14 <Denyerek> How the hell is a noob supposed to know that ?
  • 17:42:17 <Denyerek> So it's
  • 17:42:40 <Denyerek> SOMECONTENT -> v:asset.style(name: 'foo')
  • 17:42:56 <Denyerek> And in this case, SOMECONTENT is provided by rendering a section.
  • 17:42:57 <NamelessCoder> yes, but you cannot define a string this way - hence the use of f:section
  • 17:43:13 <Denyerek> Yeah I'm just trying to wrap my head around how I'd *discover* that if you weren't here.
  • 17:43:14 <NamelessCoder> example: {'string' -> v:h()} is invalid
  • 17:43:24 <Denyerek> As there is no clue in any of the documentation that such a behaviour exists.
  • 17:43:30 <NamelessCoder> {f:render() -> v:h()} is not
  • 17:43:44 <NamelessCoder> I learned this by making viewhelpers
  • 17:44:15 <Denyerek> Did you already do extBase / Flow / Fluid ?
  • 17:44:35 <Denyerek> Perhaps my understanding would be improved by doing the extBase tutorials
  • 17:44:48 <NamelessCoder> the tutorials won't explain this
  • 17:44:54 <NamelessCoder> they stick to basic usage
  • 17:45:16 <NamelessCoder> they don't care about the inner details about how strings are passed, how inline conditions can be used, and such
  • 17:45:33 <Denyerek> Right so this is fairly advanced behaviours ?
  • 17:45:35 <NamelessCoder> if you're lucky you'll find a guide to writing viewhelpers which covers this
  • 17:45:53 <NamelessCoder> apart from creating a viewhelper, the most advanced thing you can do in fluid
  • 17:46:02 <Denyerek> Ok I feel marginally less stupid.
  • 17:46:31 <NamelessCoder> but understanding WHY it behaves like it does in those advanced usages, makes you understand MUCH more about the simpler ones too
  • 17:46:42 <NamelessCoder> for example why whitespace in tag contents has the effect it has
  • 17:47:15 <Denyerek> I believe that's because it'll force the tag contents to be rendered as a string, not necessarily as an object ?
  • 17:47:24 <Denyerek> rendered / handled
  • 17:47:25 <Denyerek> ?
  • 17:47:30 <NamelessCoder> I like to think that by using it this much and forcing you to understand, one day all the basic explanations are there and you will *also* know the advanced stuff
  • 17:48:32 <NamelessCoder> in Fluid terms: if you use tag based syntax and add whitespace, additional TextNodes are created as siblings of whichever ObjectAccessorNode (=variable output) you used inside the tag content
  • 17:49:15 <NamelessCoder> <f:format.html> {variable}</f:format.html> === VH node with TextNode child value " " and ObjectAccessorNode child valie "variable"
  • 17:49:28 <Denyerek> I think that just happened
  • 17:49:30 <Denyerek> take a look at this:
  • 17:49:43 <NamelessCoder> which is impossible to have happen if you did {variable -> f:format.html()}
  • 17:49:50 <Denyerek> http://pastebin.com/CN5p5mUV
  • 17:50:13 <Denyerek> Seems like the whitespace issue then causes quite a lot of headache
  • 17:50:19 <Denyerek> as you naturally want your code formatted
  • 17:50:27 <NamelessCoder> which is why I use inline
  • 17:50:34 <Denyerek> Yes, I can see this now.
  • 17:50:37 <NamelessCoder> yeah
  • 17:50:48 <Denyerek> IN that example, the variable in the asset was not parsed.
  • 17:50:51 <NamelessCoder> ffs it takes a while to explain why I do the crap I do :)
  • 17:51:05 <Denyerek> Yeah but the main thing is, there IS a reason :)
  • 17:51:05 <NamelessCoder> in my example, the variable would be *output* not accessed
  • 17:51:16 <NamelessCoder> if {variable} is an array, output is "Array"
  • 17:51:19 <NamelessCoder> or rather...
  • 17:51:23 <NamelessCoder> " Array"
  • 17:51:33 <Denyerek> indeed.
  • 17:51:36 <NamelessCoder> you *really* must get used to the inline
  • 17:51:38 <Denyerek> So in the pastecode just there
  • 17:51:51 <Denyerek> I'm seeing {settings.bannerHeight} in the rendered HTML.
  • 17:51:53 <NamelessCoder> NOT when using v:asset.script etc. because those are ALWAYS strings
  • 17:52:05 <NamelessCoder> this has another explanation
  • 17:52:06 <Denyerek> and that's because the first text node is ' ' ?
  • 17:52:14 <NamelessCoder> (here we go again hehe)
  • 17:52:33 <NamelessCoder> #main { margin-top: {v:var.get(name: 'settings.bannerHeight')}px }
  • 17:52:37 <NamelessCoder> will fix it
  • 17:52:56 <Denyerek> because inside the tag is expecting... nope. I got nothing.
  • 17:53:01 <NamelessCoder> and this is because the asset viewhelpers will disable the variable accessor syntax in order to not collide with JS and CSS
  • 17:53:10 <NamelessCoder> alternatively:
  • 17:53:20 <NamelessCoder> #main { margin-top: {settings.bannerHeight}px <f:format.raw>}</f:format.raw>
  • 17:53:22 <NamelessCoder> (sic)
  • 17:53:36 <Denyerek> AH
  • 17:53:39 <Denyerek> Ok excellent
  • 17:53:41 <NamelessCoder> thus breaking the regular expression which catches variable names
  • 17:53:43 <Denyerek> I was just about to propose that
  • 17:53:56 <Denyerek> as you'd end up escaping everything and it'd look awful
  • 17:54:01 <NamelessCoder> abso-friggin-lutely only possible to know by reading the innermost core code
  • 17:54:08 <Denyerek> but it must be looking out for {v:
  • 17:54:14 <Denyerek> else the viewhelper wouldn't trigger either ?
  • 17:54:14 <NamelessCoder> yes
  • 17:54:23 <NamelessCoder> viewhelper nodes differ in that they contain () inside {}
  • 17:54:30 <Denyerek> I see
  • 17:54:34 <Denyerek> so the parser can pick these out
  • 17:54:35 <NamelessCoder> which is unusual (but not impossible!) in JS
  • 17:54:40 <Denyerek> wheras variables have no real pattern
  • 17:54:43 <NamelessCoder> aye
  • 17:55:00 <NamelessCoder> variables are {[a-z\.\-]}
  • 17:55:02 <Denyerek> jQuery can introduce a lot of { ( { (...
  • 17:55:17 <NamelessCoder> as far as possible: place your script in external files
  • 17:55:30 <NamelessCoder> 1) less template code to parse, faster parsing
  • 17:55:42 <NamelessCoder> 2) faster generation of VHS asset cached files
  • 17:55:54 <NamelessCoder> 3) better support for any URI-based inclusions you make in CSS
  • 17:56:11 <NamelessCoder> if you must use a variable from the form fx....
  • 17:56:46 <NamelessCoder> <input type="hidden" id="valuestorage" value="{whicheverValueIsDynamic}" /> ... $('#valuestorage').val()
  • 17:57:08 <Denyerek> I see
  • 17:57:14 <Denyerek> rather than dynamically try and generate JS
  • 17:57:18 <NamelessCoder> and that's about all I have time for today
  • 17:57:22 <Denyerek> TBH, that makes a LOT of good sense.
  • 17:57:32 <NamelessCoder> sense is what I make ;)
  • 17:57:35 <Denyerek> As always you've been more than generous.
  • 17:57:39 <Denyerek> I have ONE last quick Q
  • 17:57:43 <Denyerek> I'm documenting my templates like so:
  • 17:57:50 <Denyerek> <f:comment>
  • 17:57:50 <Denyerek> This shows how to insert custom CSS based on a condition in tag syntax.
  • 17:57:50 <Denyerek> </f:comment>
  • 17:57:55 <Denyerek> Correct ?
  • 17:58:00 <NamelessCoder> yes, BUT
  • 17:58:05 <NamelessCoder> causes parsing overhead
  • 17:58:19 <NamelessCoder> good for examples, bad for performance
  • 17:58:23 <Denyerek> is there no rejected-comment notation ?
  • 17:58:33 <NamelessCoder> rejected comment?
  • 17:58:39 <Denyerek> as in, discarded
  • 17:58:41 <Denyerek> like // in C
  • 17:58:49 <NamelessCoder> <f:comment disabled="TRUE">...</f:comment>
  • 17:59:03 <Denyerek> Bit more typing than //
  • 17:59:04 <NamelessCoder> ah - no, there is not
  • 17:59:04 <Denyerek> ;)
  • 17:59:22 <NamelessCoder> you *cannot* have code in the template which will not be read by the parser - simple as that
  • 17:59:28 <Denyerek> I'll just set up a macro to expand /// to the fluid comment
  • 17:59:33 <Denyerek> as I need to leave myself notes
  • 17:59:34 <Denyerek> :)
  • 17:59:39 <NamelessCoder> everything in <f:comment> still gets *parsed* albeit not rendered
  • 17:59:56 <Denyerek> Ok.
  • 18:00:09 <NamelessCoder> I would take the code you write there and move to a separate storage of "this is how I did xyz" type examples
  • 18:00:15 <NamelessCoder> then avoid the comments
  • 18:00:16 <Denyerek> Yes
  • 18:00:21 <NamelessCoder> (refactor job)
  • 18:00:25 <Denyerek> when I am done I will need to refactor anyway
  • 18:00:36 <Denyerek> so I'll label all the example code so it can be taken out
  • 18:00:41 <NamelessCoder> yep
  • 18:00:47 <Denyerek> and probably build a local dummy site for all my example stuff.
  • 18:00:55 <Denyerek> thanks man!
  • 18:02:52 <NamelessCoder> you're welcome
  • 18:05:08 <Denyerek> __clone method called on non-object in /home/denyerec/src/typo3-6.2/typo3/sysext/fluid/Classes/View/AbstractTemplateView.php on line 209
  • 18:05:16 <Denyerek> Guessing you can't call render section from inside a section...
  • 18:05:17 <Denyerek> :)
  • 18:07:15 <Denyerek> Hmm.
  • 18:07:19 <Denyerek> No I've beoken something else
  • 18:08:48 <Denyerek> {f:render(section: 'PageBannerCSS')
  • 18:08:48 <Denyerek> -> v:asset.style(name: 'pageBannerCSS')
  • 18:08:48 <Denyerek> -> f:if(condition: settings.bannerDisplay)}
  • 18:11:25 <Denyerek> Yeah the v:asset.style call triggers the __clone error
  • 18:11:27 <Denyerek> :/
  • 18:12:32 <Denyerek> Calling it from the layout
  • 18:12:41 * Denyerek looks for an oncoming elephant.
  • 18:17:43 <Denyerek> NamelessCoder, sorry :(
  • 18:17:56 <Denyerek> I just don't seem able to get the inline syntax to not choke.
  • 18:44:36 * Denyerek probes cedricziel
  • 18:52:12 * Denyerek probes BenjaminR
  • 19:00:21 <Denyerek> http://forge.typo3.org/issues/54509
  • 19:07:13 <Denyerek> This is also rendering into my CSS:
  • 19:07:13 <Denyerek> #main { margin-top: {v:var.get(name: 'settings.bannerHeight')}px }
  • 19:21:58 <Guest|45675> I would like to create a Provider extension, but it appears Builder is not 6.2 compatible... any suggestions?
  • 19:24:35 <Guest|45675> Are there plans to release an updated version of Builder?
  • 19:32:34 <Denyerek> You mean you get a version number conflict?
  • 19:32:47 <Denyerek> if so, you might want to just tweak the em_conf.php file to get yourself going
  • 19:41:11 <Denyerek> Could not analyse class:Tx_Vhs_ViewHelpers_Page_BreadcrumbViewHelper maybe not loaded or no autoloader
  • 19:42:25 <Denyerek> THis is why I bloody hate web development.
  • 19:42:27 <Denyerek> Nothing works.
  • 19:42:30 <Denyerek> Ever.
  • 19:42:46 <Denyerek> ESPECIALLY
  • 19:42:49 <Denyerek> if you don't capitalise your B's
  • 19:44:22 <Denyerek> Oh, no, it's still broken.
  • 19:44:26 * Denyerek returns to flailing
  • 19:47:10 <Denyerek> THe class is there,
  • 19:47:13 <Denyerek> The case is correct
  • 19:47:20 <Denyerek> class Tx_Vhs_ViewHelpers_Page_BreadCrumbViewHelper
  • 19:48:43 <Denyerek> class :Tx_Vhs_ViewHelpers_Page_BreadCrumbViewHelper
  • 19:51:45 <Denyerek> I'd be less annoyed if I had problems other people had written about online.
  • 19:51:48 <Denyerek> That wouldn't hurt so much,
  • 19:51:57 <Denyerek> But I always seem to be trailblazing new and bizarre errors.
  • 20:39:41 <Denyerek> hey randomresult
  • 20:39:52 * Denyerek is sat here all alone and broken.
  • 20:39:54 <Denyerek> Clapping.
  • 20:39:58 <Denyerek> �_�
  • 22:06:43 <Denyerek> Anyone awake ?
  • 22:31:39 <soee> whats the problem
  • 22:40:07 <Denyerek> Hey soee
  • 22:40:12 <Denyerek> I'm trying to do two things.
  • 22:40:19 <Denyerek> One is to generate a typolink to the parent page.
  • 22:40:27 <Denyerek> The other is to render a custom menu
  • 22:40:38 <Denyerek> I've achieved both, but i think both have been done very naughtily.
  • 22:40:42 <Denyerek> Lemme pastecode you the snippet.
  • 22:41:19 <Denyerek> http://pastebin.com/D9a1LaW5
  • 22:44:58 <Denyerek> the cObj referenced is just a typolink with leveluid : -2
  • 22:45:14 <Denyerek> I couldn't for the life of me figure this out in the page.link viewhelper
  • 22:50:31 <Denyerek> THEN I didnt like the if/else conditional to render out the "current" class, but I didn't know how else to do it :(
  • 22:52:24 <Denyerek> Oh, and I think page.breadCrumb is shagged
  • 22:52:31 <Denyerek> because when I try and use it, I get FE errors
  • 22:52:44 <Denyerek> __clone method called on non-object in /home/denyerec/src/typo3-6.2/typo3/sysext/fluid/Classes/View/AbstractTemplateView.php on line 209
  • 22:52:51 <Denyerek> i'll... let you get back to me ;)
  • 23:53:51 * Denyerek tickles soee