IRC logs

20140331

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

IRC log range: 20140331*

20140331

  • 01:41:17 <Outdoorsman> Hello again @NamelessCoder. You mentioned that to future-proof, it may be better to use fluidbootstraptheme instead of fluidpages_bootstrap and fluidcontent_bootstrap. Is fluidbootstraptheme more up to date?
  • 01:44:00 <Outdoorsman> Regardless, I'm getting this error from fuildpages_bootstrap TER and git dev versions as well as from fluidbootstraptheme... #1371069824: Arguments useShortcutData, useShortcutTarget and useShortcutUid are mutually exclusive. Please use only one at a time.
  • 01:44:55 <Outdoorsman> Am I just missing some TS configuration somewhere or is this really an error from the extension?
  • 01:50:28 <NamelessCoder> hey Outdoorsman :)
  • 01:51:13 <NamelessCoder> I fixed this bug just here tonight (2am here currently) - if you check out VHS from git, branch development, all should be will
  • 01:51:19 <NamelessCoder> s/will/well
  • 01:57:55 <NamelessCoder> it would be perfect if you can confirm the fix by checkout out VHS from git - I can then make the next TER version to fix this regression
  • 02:06:20 <Outdoorsman> I will do.
  • 02:10:02 <Outdoorsman> Ha ha NamelessCoder... I like your search and replace s/will/well comment. Haven't seen that before, made me laugh :) The when I updated to vhs dev from git it fixed the issue. Thanks!
  • 02:11:47 <NamelessCoder> a tradition from the good old irc days :)
  • 02:13:16 <Outdoorsman> Nice
  • 02:13:54 <Outdoorsman> So about overriding page templates... is that documented anywhere yet?
  • 02:14:45 <NamelessCoder> if you want to override all templates, just change the base plugin.tx_foobar.view.templateRootPath etc. settings
  • 02:15:35 <NamelessCoder> if you need to override only one or more files, use plugin.tx_foobar.view.overlay.myext.templateRootPath and others
  • 02:16:08 <NamelessCoder> if you use overlays:
  • 02:17:09 <Outdoorsman> So this applies to most all your extensions or just the page ones?
  • 02:17:26 <NamelessCoder> your template may already contain a Templates/Page folder in which case you could get some conflicts or unwanted duplicate selection options (from your page + from the overlayed ext)
  • 02:17:47 <NamelessCoder> applies natively to all Flux-powered extensions; requires EXT:view to work on others.
  • 02:18:47 <NamelessCoder> if you want to avoid colissions you can for example create "Overlay" subfolders in your resources folders - e.g. EXT:myext/Resources/Private/Overlay/Templates, EXT:myext/Resources/Private/Overlay/Partials, EXT:myext/Resources/Private/Overlay/Layouts
  • 02:18:48 <Outdoorsman> So should I adopt a different folder strategy as I move forward? Typically I just use fileadmin/templates/blahblahblah
  • 02:19:23 <NamelessCoder> switch that strategy *now* :)
  • 02:19:50 <NamelessCoder> always store your templates in an extension, use more than one if you need to
  • 02:20:14 <Outdoorsman> Does this also require me to abandon my typical TS methods to and put them in myext as well?
  • 02:20:17 <NamelessCoder> there's a bit more about why, on http://fluidtypo3.org/documentation/templating-manual/introduction/extension-base.html
  • 02:20:45 <NamelessCoder> basically it means your paths now should use the EXT:myext... prefix when you reference files and folders
  • 02:21:22 <NamelessCoder> and that settings specific to your template(s) will be located under plugin.tx_yourext.settings and view paths configured in plugin.tx_yourext.view
  • 02:21:26 <Outdoorsman> I've read that page before so I *sort of* get it.
  • 02:21:58 <NamelessCoder> and that you can use translation files which can be referenced using short labels instead of full paths like LLL:EXT.path/to/file.xlf
  • 02:22:58 <Outdoorsman> So this means that when I'm using fluidbootstraptheme it has page templates that autoload, but order of precendence would look to my myext first to see if there are any overrides.
  • 02:23:25 <NamelessCoder> *exactly* that
  • 02:23:59 <Outdoorsman> Can I safely use fluidbootstraptheme for production?
  • 02:24:10 <NamelessCoder> you simply say via TS that "hey, I've got some extra paths you have to check first, then fallback to whatever you did before"
  • 02:24:41 <NamelessCoder> it is beta quality so far - I would wait about a week before using it, and after that would expect to maybe have to update once or twice before launching your projects
  • 02:24:49 <Outdoorsman> Cool, thanks. It sounded like fluidbootstraptheme is the one that's going to be the new extension right?
  • 02:25:06 <NamelessCoder> I only cooperate on that ext, I don't manage it (randomresult and mrboe do)
  • 02:25:49 <NamelessCoder> yep, we merge the two _bootstrap exts into that and make the successor more suitable as base which you overlay selectively from project to project
  • 02:26:42 <Outdoorsman> Maybe I should wait a little since the fluid code may change a bit before they release the real thing.
  • 02:27:16 <Outdoorsman> I guess I could diff it too... just don't know how extensive that would turn out to be.
  • 02:27:42 <Outdoorsman> OK... I'm testing this stuff out now.
  • 02:28:15 <NamelessCoder> I think a fair amount of changes are expected in this ext from beta->stable. I would ask randomresult and mrboe how close to the end result they are currently
  • 02:30:26 <Outdoorsman> What's the best way to contact?
  • 02:31:40 <NamelessCoder> both of them are usually here during the day - it's 2:30 here so another ~6 hours and they should start to show up
  • 02:32:12 <Outdoorsman> Ya... go get some sleep, you'll be better off for tomorrow. Thanks.
  • 02:32:15 <NamelessCoder> I always prefer irc to get a lot of q/a done fast
  • 02:32:37 <NamelessCoder> in a bit :)
  • 09:08:24 <randomresult> good morning
  • 09:08:38 <Tjark> hi
  • 09:16:30 <randomresult> hmmm feeling like friday
  • 09:17:59 <Tjark> I trying my first steps with fluidbackend. But i cant get this running on TYPO3 6.2 ... Always throws the following error : "PHP Fatal error: Call to undefined method FluidTYPO3\Fluidbackend\Service\ConfigurationService::getFlexFormConfigurationFromFile()"
  • 09:18:06 <Tjark> Any ideas ?
  • 09:18:18 <randomresult> i dont think its ready for 6.2
  • 09:18:34 <randomresult> at least someone said: this is not on track right now
  • 09:18:47 <Tjark> hm okay
  • 09:19:06 <randomresult> http://fluidtypo3.org/roadmap.html
  • 09:19:17 <randomresult> well... should be working...
  • 09:19:25 <randomresult> but i dont know. sorry
  • 09:19:30 <randomresult> need to leave now
  • 09:19:45 <Tjark> bye, i try it later
  • 09:42:07 <mhmli> morning all.
  • 09:42:20 <mhmli> starting the week with a challenge (as always)!
  • 09:42:42 <mhmli> anyone have a reference for linking tt_address into a fluid fce?
  • 09:43:05 <mhmli> i.e. a select field containing addresses created in tt_address
  • 09:54:20 <BenjaminR> flux:field.relation mhmli
  • 09:56:09 <BenjaminR> http://fluidtypo3.org/viewhelpers/flux/master/Flexform/Field/RelationViewHelper.html
  • 10:09:14 <mhmli> well that was easy :)
  • 10:09:19 <mhmli> loving fluid!
  • 10:09:32 <mhmli> thanks ben
  • 10:09:37 <BenjaminR> yw :)
  • 10:25:02 <mhmli> next question: any reference for how to get the value from TS to define a PID within the condition attribute of flux:field.relation?
  • 10:27:14 <limboo> good morning
  • 10:31:00 <BenjaminR> As i know Typoscript Setup is not available in BE context / Configuratino Section
  • 10:32:16 <BenjaminR> Before someone else answers you could verify that by adding {settings -> f:debug()} in the configuration section
  • 10:33:34 <mhmli> there is TS defined for the extension but that gives me an empty array
  • 10:33:53 <mhmli> i'm guessing that settings is for the plugin, not the array?
  • 10:34:03 <mhmli> i mean, not the extension. *tsk*
  • 10:34:41 <BenjaminR> settings is tx_yourprovext.settings
  • 10:35:07 <BenjaminR> and if it is empty this is what i expected for be context - shoudlt be empty in fe (if you defined some settings)
  • 10:35:24 <mhmli> so plugin.tx_myext.settings.defaultPID for example?
  • 10:35:46 <mhmli> can i define a defaultPID in TS just for one plugin?
  • 10:36:01 <mhmli> in "old" syntax, just for pi2?
  • 10:38:15 <BenjaminR> Behaviour didnt change here
  • 10:39:15 <Denyerec> Does realurl work on 6.2 ?
  • 10:39:48 <Denyerec> Or, more apt, what do you guys use for pretty urls
  • 10:40:09 <BenjaminR> Dont use 6.2 yet
  • 10:42:51 <mhmli> realURL works fine with 6.1.7. too many bugs in 6.2 for me to use it just yet
  • 10:43:06 <Denyerec> you mean in 6.2 in general, or 6.2 for real URl
  • 10:43:17 <mhmli> in general
  • 10:43:55 <Denyerec> Mmmhm :(
  • 10:46:28 <randomresult> moin Denyerec
  • 10:46:45 <Denyerec> Hey random.
  • 10:47:05 <Denyerec> http://alba-dev.sozu.co.uk/index.php?id=72 !
  • 10:47:19 <Denyerec> Managed to go from dev machine to staging server without too much pain :D
  • 10:47:28 <Denyerec> Still lots to do, but it's getting there.
  • 10:51:00 <limboo> someone already tried updating typo3 from 6.1.x to 6.2?
  • 10:51:05 <Denyerec> <-
  • 10:51:29 <randomresult> limboo -> me
  • 10:51:46 <limboo> how it worked? a lot of troubles?
  • 10:51:58 <Denyerec> my site was a newish 6.1 with only basic content
  • 10:51:59 <Denyerec> so it worked OK
  • 10:52:11 <Denyerec> If you had lots of extensions and dependencies, I'd definitely wait.
  • 10:52:19 <limboo> wait for?
  • 10:52:32 <Denyerec> Other people to test it and fix the bugs ;)
  • 10:52:41 <limboo> allright
  • 10:52:54 <Denyerec> I mean to say
  • 10:52:59 <Denyerec> Do it offline on a dev machine first
  • 10:53:05 <limboo> yes for sure =)
  • 10:53:07 <Denyerec> And see how you go ;)
  • 10:53:47 <limboo> the main point, i need to upgrade now is this ugly "copy-paste-bug" in 6.1.7
  • 10:53:58 <randomresult> in flux?
  • 10:54:05 <limboo> i think so yes
  • 10:54:16 <randomresult> you could try to update flux
  • 10:54:27 <limboo> if you copy an element in the backend and paste - it copies the element and move the original too
  • 10:54:36 <mhmli> i've tried 6.2 but can't get e.g. the languages or extension manager to load
  • 10:54:43 <randomresult> the dev-branch has the copy-paste bug repaired i guess
  • 10:55:18 <randomresult> lemme search for the link
  • 10:55:18 <limboo> where i can find this?
  • 10:55:21 <mhmli> http://forum.typo3.org/index.php?t=rview&goto=707259
  • 10:55:41 <mhmli> that's only a forum post for the ext mgr
  • 10:56:07 <randomresult> https://github.com/FluidTYPO3/flux/commit/43bc0c0cccb65b501a8ac31a1bf4239ba0f3ba0e
  • 10:56:25 <randomresult> this is the fix for copy and paste
  • 10:56:28 <randomresult> worked for me
  • 10:56:49 <limboo> allright
  • 10:57:02 <limboo> this also fixes the "reference-bug"?
  • 10:57:03 <randomresult> i would give it a try.
  • 10:57:11 <randomresult> you must check
  • 10:57:32 <limboo> if you copy an element and paste as reference - it references both elements to each other, so there is no original =P
  • 10:57:33 <randomresult> you can simply download the latest dev-version and replace your existing one with this
  • 10:57:38 <limboo> but ill try with the flux fix
  • 10:58:59 <xaver> hi, i tried to update TYPO3 and get this error in ext manager - #1395614959: Version number in composer manifest of package "fluidcontent" is missing or invalid -> i removed already -dev in ext_emconf + cache clear
  • 10:59:51 <Denyerec> xaver did you bump the version numer in ext_emconf ?
  • 11:03:19 <randomresult> @danilobuerger u there?
  • 11:07:00 <mhmli> benjaminR it does appear that TS constants aren't available in a fluid template in the Configuration (BE) section. crap.
  • 11:07:00 <xaver> Denyerec: never mind -_-
  • 11:07:14 <BenjaminR> mhmli: thats what i said :)
  • 11:07:43 <BenjaminR> but no surprise because pluginconfiguration has never been present in backend in typo3s history :)
  • 11:07:43 <randomresult> well... mhmli look at the fluidcontent_pages extensions
  • 11:08:00 <randomresult> nameless defines things in ts-settings and uses them in the templates
  • 11:08:11 <mhmli> BE?
  • 11:08:16 <BenjaminR> randomresult: in the configuration section??
  • 11:08:41 <randomresult> at least he disables input if u choose useTypoScript = 1
  • 11:09:04 <randomresult> so if u set a contant to 1, the backendfields are not shown
  • 11:09:26 <mhmli> do you mean fluidpages?
  • 11:09:38 <randomresult> he gets the variables with : {v:var.typoscript(path: 'plugin.tx_fluidbootstraptheme.settings') -> v:var.set(name: 'settings')}
  • 11:09:57 <randomresult> this is what he does in the configuration section
  • 11:10:07 <BenjaminR> ah perfect - that could work yes
  • 11:10:14 <BenjaminR> wasnt sure if v:var.typoscript works in be
  • 11:10:15 <randomresult> BUT: then all other settings.name are gone
  • 11:10:39 <randomresult> so if u have contentelements with name="settings.name" ... empty...
  • 11:10:40 <BenjaminR> well you can assign it to any var - no need to assign it to settings
  • 11:11:20 <randomresult> but with this, he can define them in TS ... so noone can change them in the backend unless he changes them in TS
  • 11:11:52 <mhmli> condition="AND tt_address.pid={addressPID}" in flux:field.relation is giving me Unknown column 'Array' in 'where clause'
  • 11:12:17 <mhmli> where addressPID is set using v:var.typoscript
  • 11:12:52 <BenjaminR> condition is flexform native style. wrap it with an <f:if>
  • 11:13:20 <mhmli> but it's an inline attribute...?
  • 11:14:49 <BenjaminR> first try if ts is available with v:var.typoscript - then lets go one step forwards
  • 11:15:08 <mhmli> https://gist.github.com/permanenttourist/49ca21f44a6102263022
  • 11:15:27 <mhmli> f:debug on {addressPID} gives me the value
  • 11:15:39 <mhmli> but using it gives me that error (gist line 6)
  • 11:16:55 <BenjaminR> oh i see
  • 11:25:52 <xaver> The package "fluidbackend" depends on "ft3/flux" which is not present in the system.
  • 11:26:53 <randomresult> xaver: i dont know if fluidbackend should be used right now
  • 11:27:07 <xaver> i used it in 6.1
  • 11:27:07 <randomresult> i think there was no focus on that extension
  • 11:28:34 <randomresult> i havent used it at all. but when asking for it here, i was told that it is not on track right now (which was abit ago... )
  • 11:28:53 <randomresult> and looking at the commits... happy new year is one of the latest.
  • 11:29:32 <mrboe_> @Denyerec how do you fixed ConfigurationService.php on line 125
  • 11:29:41 <Denyerec> ?
  • 11:30:14 <mrboe_> in the irc log i saw that you had that problem
  • 11:30:31 <randomresult> mrboe_ you can read?
  • 11:30:58 * randomresult wonders about that - i thought chantal is only speaking at the phone :)
  • 11:36:28 <mrboe_> got it
  • 11:37:33 <mrboe_> @team who is the right for some workspace informations
  • 11:39:22 <randomresult> set a dark mark!
  • 11:40:03 <randomresult> FT3BOT1 shoud translate @team into the teamNames
  • 11:41:38 <mhmli> anyone have an idea about using fluid vars in a flux:field.relation condition? https://gist.github.com/permanenttourist/49ca21f44a6102263022
  • 11:42:27 <mhmli> i've searched sysext, fluidcontent, fluidpages and others, to no avail.
  • 11:42:48 <randomresult> @mhmli did u try plugin.tx_frpfce.settings instead plugin.tx_frpfce.settings.pid ?
  • 11:43:28 <randomresult> so the whole settings will be put into that variable ? !?
  • 11:43:44 <randomresult> will be back in 5 minutes
  • 11:43:57 <randomresult> @NamelessCoder survived the weekend?
  • 11:45:01 <randomresult> any news on moving extensions into FCE (news, powermail etc?) @danilobuerger or BenjaminR ?? (who was into this?)
  • 11:48:01 <anhadikal> good morning :)
  • 11:48:06 <mrboe_> hi
  • 11:48:30 * randomresult is afk
  • 11:50:32 <mhmli> got it!
  • 11:50:34 <mhmli> condition="AND tt_address.pid in ({addressPID})"
  • 11:51:32 <mhmli> you have to use in() syntax in the query. "equals" (=) comparator is what throws the error. https://gist.github.com/permanenttourist/49ca21f44a6102263022
  • 11:51:45 <xaver> Arguments useShortcutData, useShortcutTarget and useShortcutUid are mutually exclusive. Please use only one at a time Oo
  • 11:52:18 <randomresult> xaver
  • 11:52:19 <FT3BOT1> Welcome back randomresult!
  • 11:52:27 <xaver> randomresult: yes
  • 11:52:29 <randomresult> its an know bug/feature
  • 11:52:35 <xaver> -_-
  • 11:52:38 <xaver> i itred google
  • 11:54:05 <anhadikal> how can I select a Record inside flux and then display the record/model from other extension?
  • 11:54:49 <randomresult> xaver https://github.com/FluidTYPO3/vhs/issues/506
  • 11:55:14 <randomresult> i would go for a little change in vhs - this will be fixed. so changing all templates is more work
  • 11:55:56 <randomresult> xaver Had the same error after updating VHS/Flux/fluidpages/fluidcontent on Typo3 6.2 Final.
  • 11:55:56 <randomresult> changed this in typo3conf/ext/vhs/Classes/ViewHelpers/Page/Menu/AbstractMenuViewHelper.php in Line 86 and it works for me.
  • 11:56:21 <randomresult> Jochen on top of this issue recommends to set TRUE to FALSE
  • 11:56:26 <randomresult> which worked for me
  • 12:06:08 <randomresult> xaver its a breaking feature :)
  • 12:07:38 <xaver> i wnat the update to work after 3 weeks of holiday
  • 12:08:27 <randomresult> then simply change the one file in VHS. bjo3rn and NamelessCoder work on a fix - so with the next update of vhs you will be fine anyway
  • 12:09:02 <xaver> randomresult: i have already another problem - repo -_-
  • 12:09:11 <xaver> file storge
  • 12:10:07 <randomresult> three weeks of holiday... deal with it. you deserve it
  • 12:11:17 <randomresult> :)
  • 12:32:06 <BenjaminR> randomresult: https://github.com/FluidTYPO3/vhs/commit/1a9833176d2be804b1cacc6cb04f602845fd892a
  • 12:32:33 <randomresult> @xaver see ... it seems to be fixed already :)
  • 12:34:01 <randomresult> @BenjaminR still moving plugins to a FCE-Element does not work right?
  • 12:34:12 <BenjaminR> dont know
  • 12:34:13 <randomresult> which is a worst case
  • 12:34:38 <BenjaminR> danilobuerger or NamelessCoder might know more about that
  • 12:34:50 <randomresult> they are still asleep
  • 12:34:56 <randomresult> :)
  • 12:35:01 <xaver> hi thx
  • 12:35:18 <randomresult> to be honnest... that one would be a no go for productive environments
  • 12:35:33 <BenjaminR> randomresult: few of us might have to earn some money too :)
  • 12:35:47 <randomresult> thats true.
  • 12:35:57 <randomresult> and it was not an offence. just a statement
  • 12:36:23 <BenjaminR> i know - you are absolutely right
  • 12:39:28 <anhadikal> how to force flux:flexform.field.select autoload the model?
  • 12:39:56 <anhadikal> if I debug it with f:debug the ID of the record is shown, but not the model, how to fix?
  • 12:40:54 <BenjaminR> try transform=""
  • 12:41:11 <BenjaminR> didnt work for me in the past but maybe fixed :)
  • 12:41:21 <BenjaminR> and "past" means quite a while ago
  • 12:42:06 <danilobuerger> hey randomresult
  • 12:42:12 <randomresult> hey danilobuerger
  • 12:42:20 <danilobuerger> whats up?
  • 12:42:36 <randomresult> cant move extensions in FCE
  • 12:42:39 <randomresult> :)
  • 12:42:47 <danilobuerger> you mean plugins?
  • 12:42:55 <randomresult> powermail... for example
  • 12:43:16 <danilobuerger> so you cant move a plugin into a container content element?
  • 12:43:20 <randomresult> i create an element and try to drag it into a columncontainer...
  • 12:43:29 <randomresult> yes thats it
  • 12:43:37 <danilobuerger> hmm
  • 12:43:47 <danilobuerger> works for me ^^
  • 12:44:07 <randomresult> wait.
  • 12:45:16 <anhadikal> hmm looks like transform dont work
  • 13:26:04 <mhmli> anyone got an example of $GLOBALS['TSFE']->cObj->RECORDS working please?
  • 13:28:16 <mhmli> can i use this as-is, or do i need to to a manual query (exec_SELECTquery) to get address records?
  • 13:35:51 <limboo> randomresult looks like the flux bugfix https://github.com/FluidTYPO3/flux/commit/43bc0c0cccb65b501a8ac31a1bf4239ba0f3ba0e is for flux 7.x
  • 13:35:58 <limboo> is there also something for flux 6?
  • 13:41:57 <danilobuerger> limboo why dont you just upgrade to flux 7 ?
  • 13:42:33 <limboo> i think that isn't very easy? i think a lot of syntax changed from 6 to 7
  • 13:42:44 <mrboe> @danilobuerger can u tell me hows the man for "workspaces"
  • 13:44:20 <danilobuerger> limboo there are alias maps in place so you wont even notice if you are on 6.2... if you are on 6.1 there is a update script.... and the only real change is the colPos which you can also update through a script in EM
  • 13:44:26 <danilobuerger> mrboe dont understand your question?
  • 13:46:40 <mrboe> there are problems using workspaces in 6.2 and fedext
  • 13:46:40 <danilobuerger> yes there are
  • 13:46:52 <limboo> oh, sounds good danilobuerger
  • 13:46:52 <limboo> but we'r on Flux 6.0.1
  • 13:47:33 <danilobuerger> shouldnt be a problem, upgrade to flux 7 -> run update script in EM -> run namespace update script and you are all done
  • 13:48:09 <limboo> allright, we'll try danilobuerger
  • 13:48:17 <danilobuerger> do a DB backup before though
  • 13:50:40 <limboo> ah for sure =)
  • 13:50:55 <danilobuerger> are you on typo 6.1 or below?
  • 14:06:58 <anhadikal> what is the best was to update flux from 6.0.2 to 7.0 and typo3 from 6.1 to 6.2?
  • 14:07:48 <mrboe> @anhadikal i first updated the source
  • 14:07:59 <mrboe> than go to the updated wizard
  • 14:08:08 <xaver> today is ~~ ws_flexslider has a problem with 6.2 and the domain repository
  • 14:08:08 <anhadikal> is there a script for refactoring?
  • 14:08:27 <mrboe> after that i put in the nex ext
  • 14:08:44 <mrboe> and go to the extmanager
  • 14:09:09 <randomresult> @danilobuerger https://github.com/FluidTYPO3/flux/issues/502
  • 14:09:49 <randomresult> maybe this helps...
  • 14:11:21 <mrboe> there were some "update" buttons on the fexdext extensions
  • 14:11:42 <mrboe> then i make a DB compare
  • 14:11:44 <mhmli> got flux:field.relation working perfectly earlier. what's the equivalent tag for output in the FE?
  • 14:11:51 <mrboe> and everyting works fine
  • 14:12:59 <mhmli> please? (sorry)
  • 14:13:29 <mhmli> do i need to build a viewhelper and add in stuff to the controller and repository classes?
  • 14:16:38 <anhadikal> wtf, i am getting Undefined class constant 'LOCKING_METHOD_SIMPLE'
  • 14:52:26 <Denyerec> oK guys - question time!
  • 14:52:51 <Denyerec> I'd like a content element that you can drop in to generate a snippets / teaser menu
  • 14:53:11 <Denyerec> So to take the title and abstract from all subpages in a section and render it.
  • 14:53:26 <Denyerec> I *think* I can just create a FCE and use the page.menu with a custom rendering
  • 14:53:40 <Denyerec> But wasn't sure how to get to the page abstracts and images
  • 14:53:52 <Denyerec> (I was going to use the page's media field to assign the image for the teaser)
  • 14:55:12 <Denyerec> Will that data be available in "item" in the menu iterator ?
  • 14:57:08 <mrboe> lets have some fun at the dentist - cu guys
  • 14:58:43 <Denyerec> gl mrboe
  • 15:36:12 <mhmli> aaargh
  • 15:36:22 <mhmli> i am getting nowhere fast
  • 15:37:12 <mhmli> looking through many extensions, i cannot work out whether i should be using underline syntax for class names (Tx_Fluidcontent_Controller_AbstractContentController) or namespaces with backslash. is there any logic to it?
  • 15:37:55 <mhmli> many of the core extensions in 6.1.7 use underlines
  • 15:38:03 <mhmli> and many use backslashes
  • 15:39:11 <mhmli> fluidpages_bootstrap uses underlines
  • 15:39:18 <danilobuerger> mhmli the new syntax (Namespaces) is backslashes
  • 15:39:26 <danilobuerger> underscores are old and will be replaced
  • 15:39:34 <mhmli> righto.
  • 15:39:48 <mhmli> so most of the references, docs and examples online are wrong.
  • 15:39:53 <mhmli> fair enough.
  • 15:39:57 <mhmli> thanks for the tip.
  • 15:39:59 <danilobuerger> not -> wrong <-
  • 15:40:09 <danilobuerger> they work
  • 15:40:23 <randomresult> danilobuerger have u seen my issue?
  • 15:40:27 <danilobuerger> yes randomresult
  • 15:41:10 <randomresult> good... so u know what im talking about
  • 15:41:24 <danilobuerger> mhmli you are more than welcome to fix any documentation that uses the old (but working) syntax
  • 15:41:41 <soee> guys some of you used already fluidpages to build large website for large company ?
  • 15:42:03 <mhmli> i would, gladly, if i could find working solutions.
  • 15:42:33 <mhmli> (although so much just isn't documented at all: just blank pages.)
  • 15:43:00 <mhmli> and google results from 2010 which don't tie in with tech from the last 2-3 years, sadly.
  • 15:44:10 <danilobuerger> soee yes
  • 15:44:56 <randomresult> soee yes
  • 15:44:58 <soee> danilobuerger: worked well ?
  • 15:45:01 <danilobuerger> yes
  • 15:45:29 <danilobuerger> why shouldnt it?
  • 15:46:10 <soee> danilobuerger: have to be sure, cant risk that something wont work whe we start project :)
  • 15:46:52 <danilobuerger> you can safely use flux/fluidpages/fluidcontent/vhs in production
  • 15:47:06 <soee> nice :)
  • 15:47:09 <soee> ok one more thing
  • 15:47:18 <soee> needs some startup tutorial for fluidpages
  • 15:47:22 <danilobuerger> i have fluidcontent_core in production instead of csc... but thats for early adopters ;)
  • 15:47:44 <randomresult> @danilobuerger i dont agree
  • 15:48:05 <danilobuerger> good for you ;-)
  • 15:48:27 <danilobuerger> soee what kind of tutorial are you looking for?
  • 15:48:30 <randomresult> not being able to place plugins inside grids (as mentioned) is not ready for production environment
  • 15:49:04 <danilobuerger> randomresult i cant reproduce it with any of my setups, so its probably a config problem
  • 15:49:21 <randomresult> there is no config in this web.
  • 15:49:24 <randomresult> u use 6.2?
  • 15:49:29 <danilobuerger> yes i use 6.2
  • 15:49:48 <randomresult> and you cant reproduce?
  • 15:49:54 <danilobuerger> as i said
  • 15:49:59 <randomresult> installed extensions?
  • 15:50:07 <randomresult> (news or powermail?)
  • 15:50:18 <danilobuerger> neither
  • 15:50:26 <danilobuerger> but that doesnt matter
  • 15:50:44 <randomresult> tt_news?
  • 15:50:50 <NamelessCoder> mhmli if you come across bad examples in docs please message me in private - just spam all the links you find. I've got the documentation repository open currently ;)
  • 15:51:07 <soee> randomresult: none plugins ?
  • 15:51:09 <danilobuerger> randomresult i told you earlier that i will take a look at it...
  • 15:51:44 <NamelessCoder> regarding your flux:field.relation question: how you actually *render* the variables depends on what you pointed to in the relation. Example: relations to tt_content are either rendered with v:content.render or records are retrieved with v:content.get (which returns an array you can then for example iterate in Fluid)
  • 15:51:59 <randomresult> as i told earlier its not an offence.
  • 15:52:09 <Guest|40384> hey claus, new site and documentation -> SPLENDID work!!
  • 15:52:19 <randomresult> but right now, none of my webs can place plugins in FCE
  • 15:52:20 <Guest|40384> just wanted to say thank you :)
  • 15:52:23 <NamelessCoder> pages can be rendered as links pointing to the page or you can use it for v:page.menu, v:content.render and many others
  • 15:52:35 <NamelessCoder> thanks Guest|40384 :)
  • 15:52:40 <randomresult> hey claus: alle the best again! hope u had a good weekend!
  • 15:53:20 <randomresult> mrboe has the same. even in fresh installs.
  • 15:53:54 <NamelessCoder> hi harry - yes, thanks, great weekend :)
  • 15:54:32 <Denyerec> Did anyone read my question ?
  • 15:54:46 <randomresult> Denyerec first clap ur hands
  • 15:54:51 * Denyerec squeezes
  • 15:54:54 * Denyerec claps
  • 15:54:57 <Denyerec> HAPPY NOW?!
  • 15:55:00 <Denyerec> :/
  • 15:55:31 <mhmli> thanks claus. all of the pages at http://fluidtypo3.org/documentation/templating-manual/introduction.html are empty.
  • 15:55:34 <NamelessCoder> happy? not so much as befouled
  • 15:55:37 <Denyerec> ;)
  • 15:55:39 <Denyerec> I'd like a content element that you can drop in to generate a snippets / teaser menu
  • 15:55:39 <Denyerec> So to take the title and abstract from all subpages in a section and render it.
  • 15:55:39 <Denyerec> I *think* I can just create a FCE and use the page.menu with a custom rendering
  • 15:55:39 <Denyerec> But wasn't sure how to get to the page abstracts and images
  • 15:55:39 <Denyerec> (I was going to use the page's media field to assign the image for the teaser)
  • 15:55:39 <Denyerec> Will that data be available in "item" in the menu iterator ?
  • 15:55:58 <Denyerec> If you didn't know it already "Besmirched" is an awesome word.
  • 15:56:41 <NamelessCoder> Denyerec you already used v:resource.record - v:page.resources is the version to use on page records. And yep, v:page.menu would work great for your use case
  • 15:56:44 <mhmli> (sorry: not all pages. from 3.2.3 on.)
  • 15:56:59 <Denyerec> Used it, yes. Understood it, no :)
  • 15:57:37 <ad_on_is> hi :D
  • 15:58:03 <ad_on_is> i came across the irc log and saw that somebody was having problems with disappearing FCE-wizardtab
  • 15:58:32 <ad_on_is> is there any solution for that? i'm experiencing that problem right now, with typoe 6.2 and flux 7.0
  • 15:58:50 <mhmli> namelesscoder. re. v:content.get: it's tt_address i'm trying to get at right now. no success since 8 am this morning :/
  • 15:59:27 <Denyerec> http://fluidtypo3.org/viewhelpers/vhs/master/Page/Resources/FalViewHelper.html
  • 15:59:31 <Denyerec> I'll do some v:debugs
  • 15:59:33 <Denyerec> or maybe f:debugs
  • 15:59:34 <NamelessCoder> aaah mhmli, that explains a lot. In this case you actually do need a controller (since viewhelpers aren't supposed to do SQL queries - it's considered quite unsafe)
  • 15:59:43 <Denyerec> Whichever one it was... :)
  • 15:59:48 <NamelessCoder> http://fluidtypo3.org/documentation/templating-manual/advanced-provider-extensions/custom-flux-controllers/use-cases-for-controllers.html
  • 16:00:38 <mhmli> namelesscoder yeah, i've tried adapting http://t3-developer.com/extbase-fluid/themen/tt-content-in-extbase/ but no luck there either.
  • 16:00:54 <mhmli> query just times out, even if i hard code a UID and a table name to the query.
  • 16:01:13 <NamelessCoder> that doesn't sound good at all
  • 16:01:19 <NamelessCoder> which typo3 version are you using?
  • 16:01:42 <mhmli> 6.1.7
  • 16:02:41 <NamelessCoder> I assume you need only the data in the address record itself?
  • 16:02:56 <mhmli> and even forcing it with an sql statement doesn't seem to want to work. debug() ing the query result times out. i have managed to build a simple view helper, but the result is that i need to hard-code the html output. (eww.)
  • 16:03:29 <mhmli> yes, i need to select an address record in BE (flux:field.relation working fine) and then output a vcard for it inside an fce
  • 16:03:36 <NamelessCoder> check
  • 16:03:36 <mhmli> (in FE)
  • 16:03:51 <NamelessCoder> two ways: controller or viewhelper. Controller recommended due to clear separation of concern.
  • 16:03:59 <NamelessCoder> but since you already have the viewhelper let's start there
  • 16:04:04 <NamelessCoder> (it's the same code you'll need)
  • 16:04:12 <mhmli> would you suggest a viewhelper which does a fixed query, which then returns an array?
  • 16:04:49 <NamelessCoder> you'll need a solution which accepts one or more UIDs of tt_address records and returns one or more records as arrays
  • 16:05:01 <mhmli> yes
  • 16:05:28 <NamelessCoder> you already have the UID value (or UIDS; if you have a CSV use {variable -> v:iterator.explode()} to make it an array
  • 16:05:55 <NamelessCoder> key question: will you load many addresses at once or always only one?
  • 16:06:13 <mhmli> only one for now.
  • 16:06:35 <mhmli> the viewhelper i have is doing a direct query using $GLOBALS['TYPO3_DB']->exec_SELECTquery
  • 16:06:41 <NamelessCoder> yep
  • 16:06:44 <mhmli> but i get the feeling that's a hack.
  • 16:06:47 <NamelessCoder> your viewhelper should...
  • 16:06:58 <NamelessCoder> 1) accept the UID argument that you use in the query
  • 16:07:09 <NamelessCoder> 2) Manually sanitize the argument value, before
  • 16:07:21 <NamelessCoder> 3) Using the UID in a SQL query like you described, to load the record
  • 16:07:58 <NamelessCoder> 4) Use $this->templateVariableContainer->assign('address', $addressRecord); then $content = $this->renderChildren(); and finally $this->templateVariableContainer->remove('address');
  • 16:08:04 <NamelessCoder> 5) return $content
  • 16:08:31 <NamelessCoder> result: viewhelper tag content can be used to define the HTML + Fluid that renders a vcard with address data, viewhelper assigns the data you need so it can be used as variables
  • 16:08:45 <mhmli> sounds much cleaner. so the viewhelper is actually doing domain work instead of view work.
  • 16:08:58 <mhmli> is $this->cObj->RECORDS an option?
  • 16:09:09 <NamelessCoder> examples are in all viewhelpers which support the "as" argument - and you may want to include an "as" argument on your VH too (it helps avoid colissions if they arise)
  • 16:09:32 <mhmli> i've tried about a hundred thousand variations on ->RECORDS to no avail.
  • 16:09:40 <NamelessCoder> RECORDS will, afaik, actually attempt to *render* the objects if they have TS rendering instructions and you'll need the *data* so you can render it yourself, using Fluid
  • 16:09:51 <NamelessCoder> selectGetRows() is not a hack ;)
  • 16:10:29 <NamelessCoder> tt_address has no Extbase domain model and you are not expected to create one manually. Some extensions *do* provide such a model but in your case I would judge it is not necessary to introduce this much overhead to read a few address records.
  • 16:10:45 <mhmli> i meant, that it feels hacky to be calling db requests from inside a view.
  • 16:11:02 <NamelessCoder> in addition: implementing an extbase domain model for a record means you introduce new possible problems in other extensions which extend the tt_address table
  • 16:11:21 <NamelessCoder> you are 100% correct and this is where you should use a controller (possibly even a service you inject in your controller)
  • 16:11:44 <mhmli> shall i mail you off-forum?
  • 16:12:07 <NamelessCoder> however, achieving a ContentController is a bit harder than the viewhelper approach and you can later refactor what you create as viewhelper, to work in a controller
  • 16:12:33 <NamelessCoder> nono, this is actually relevant for people working with these features ;)
  • 16:12:48 <mhmli> this is really exceptional support, thank you so much. almost done :) in this context, i've used http://t3-developer.com/extbase-fluid/themen/tt-content-in-extbase/ before to reference tt_content
  • 16:13:28 <mhmli> but using it and adapting it for tt_address gives me no result at all. the best i've had is a timeout; the worst is nothing at all.
  • 16:13:45 <NamelessCoder> you're welcome - I would personally avoid a tt_content / tt_address model because of all the difficulties which it implies, being single-table inheritance in nature
  • 16:14:52 <mhmli> i guess going into the detail of the controller is too much for here and now. given that from what you've said, the viewhelper will work.
  • 16:15:11 <mhmli> and this isn't a tutorial ;)
  • 16:16:25 <mhmli> p.s. re. documentation from before: i was referring more to the typo3.org docus. which are sloooooowly being improved, but still empty, incomplete or non-existent for some critical stuff. if the work on the core was as well documented as fluidtypo3.org, myy day would be a lot easier.
  • 16:16:40 <mhmli> )
  • 16:16:43 <mhmli> :)
  • 16:17:06 <NamelessCoder> I agree - but you're always welcome to ask about the details as well
  • 16:17:47 <tom_at> hi there
  • 16:17:51 <tom_at> is it possible to set the localization mode for an fce flux form? i have some simple adjustment fields which must not be translated. like l10n_mode='exclude' etc.
  • 16:18:20 <mhmli> examples are the best tutorial. an i'll be more than happy to share my end result via github if (when) i ever get it to f****** work :)
  • 16:19:05 <NamelessCoder> great - like you said: examples are great tutorials and anything we can point to, helps ;)
  • 16:26:12 <mhmli> Call to undefined method TYPO3\CMS\Fluid\Core\ViewHelper\TemplateVariableContainer::assign()
  • 16:27:36 <mhmli> could this be a conflict with the backslahes vs. underlines?
  • 16:28:46 <Guest|71762> ext:fluidbackend cannot CRUD records, it's rather meant to be used for creating flux config files, right?
  • 16:30:44 <NamelessCoder> correct, Guest|71762 - it's purpose is to write the information you enter into various destinations: json file, xml file, TS record, etc.
  • 16:31:00 <Guest|71762> thx!
  • 16:31:23 <NamelessCoder> it's being updated right now but next version(s) will get support for things like send data as email and more.
  • 16:31:45 <NamelessCoder> aah and you *can* write the data as a record to a table, but it's not really CRUD as such.
  • 16:32:14 <Guest|71762> okay.
  • 16:32:30 <Guest|71762> background: I'm looking for a way to easily create a backend module which allows sorting of records by drag n drop
  • 16:33:33 <Guest|71762> i fear i have to do that "manually" via Jquery/fluid/extbase...
  • 16:34:39 <Guest|71762> of course the module shall also be able to create new records, edit existing, remove existing... (maybe use ordinary TCA for these actions)
  • 16:40:18 <anhadikal> hi all
  • 16:40:43 <anhadikal> getting Call to undefined method FluidTYPO3\\Flux\\Form\\Container\\Section::getStopInheritance() in flux/Classes/Provider/AbstractProvider.php on line 802
  • 16:40:57 <anhadikal> with TYPO3 6.2 and latest TER flux
  • 16:48:10 <anhadikal> okey there is already a bugfix in development branch, when it is merged to master?
  • 16:54:23 <NamelessCoder> anhadikal we're collecting a few more bugfixes, then it's 7.0.1-time
  • 16:54:54 <mhmli> claus, almost got it. do i need to instantiate anything to have access to templateVariableContainer ?
  • 16:55:06 <mhmli> my viewhelper is extending \TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper
  • 16:55:35 <mhmli> but it's telling me that the method assign is undefined
  • 16:55:46 <anhadikal> NamelessCoder: what is the best solution now? should I just checkout development, cherry pick the commit?
  • 16:57:08 <danilobuerger> mhmli see switch view helper in vhs as example on how to access templateVariableContainer
  • 16:58:15 <danilobuerger> anhadikal interhitance fix needs some time to get into master... if you dont want to use development branch you will have to cherrry pick
  • 16:58:56 <mhmli> namelesscoder identical to what i have.
  • 16:59:06 <anhadikal> the problem is, that the site is not working anymore after update tp Typo3 6.2 and Flux 7.0
  • 17:02:59 <NamelessCoder> anhadikal checkout development, the release cycles will be much shorter from now on. You can switch back in a week or so - with no breaking
  • 17:03:16 <anhadikal> okay,
  • 17:03:53 <NamelessCoder> mhmli you *may* just need to clear all/system caches to let extbase/fluid class reflections regenerate
  • 17:04:18 <mhmli> get it :)
  • 17:04:21 <mhmli> got it :)
  • 17:04:26 <NamelessCoder> $this->templateVariableContainer is available in every viewhelper regardless of type, as long as you access it from the render() method or a method called after that
  • 17:04:41 <mhmli> ->as, not ->assign()
  • 17:05:29 <NamelessCoder> $this->templateVariableContainer has methods ->get(), ->has() and ->add() and remove()
  • 17:05:49 <NamelessCoder> assign() is on View classes only
  • 17:06:04 <NamelessCoder> (and does not care if variable exists; templatevariablecontainer does)
  • 17:06:29 <randomresult> thx @danilo
  • 17:06:37 <mhmli> t claus
  • 17:06:39 <mhmli> tx claus
  • 17:09:11 <NamelessCoder> randomresult please pull+confirm
  • 17:09:21 <randomresult> just typed git pull :)
  • 17:09:35 <NamelessCoder> good dev, good :)
  • 17:09:58 <randomresult> first test: worked
  • 17:10:04 <NamelessCoder> great
  • 17:10:09 <NamelessCoder> in Danilo we trust
  • 17:11:44 <danilobuerger> :-)
  • 17:12:36 <Outdoorsman> Hello randomresults, I was speaking with NamelessCoder last night and he said to ping you about fluidbootstraptheme. Do you have an eta on when a stable release will be coming? I'm wanting to start developing with extensions that will be around for a while due to the number of sites I have.
  • 17:13:39 <randomresult> @Outdoorsman i hope as soon as possible.
  • 17:13:55 <randomresult> need some work to be done from NamelessCoder and then testing
  • 17:14:12 <Outdoorsman> I guess I'm not sure how much things are still changing there or if it's getting close. I'm seriously itching to start using 6.2 and the FluidTYPO3 system right now.
  • 17:15:08 <Outdoorsman> I have it installed and at least at the moment am not seeing errors. So it's really quite close then?
  • 17:15:08 <Tjark> NamelessCoder can i already use fluidbackend within TYPO3 6.2 ?
  • 17:15:39 <NamelessCoder> Tjark no - not yet, sorry.
  • 17:15:41 <randomresult> you installed which one? fluidbootstraptheme? dev or master
  • 17:15:52 <Outdoorsman> fluidbootstraptheme dev
  • 17:16:08 <randomresult> ok. then u dont useTypoScriptsettings 1
  • 17:16:09 <Outdoorsman> yesterday
  • 17:16:09 <randomresult> :)
  • 17:16:24 <randomresult> and you havent insert a progressbar.
  • 17:16:31 <randomresult> well, i think we are close to beta
  • 17:16:44 <randomresult> and stable will only be someoptimisations for now
  • 17:17:20 <randomresult> we will then add more elements - but this should not affect the old ones.
  • 17:17:39 <Outdoorsman> thanks for the tips. I don't know if I will be able to avoid using useTYpoScriptsetting or not... since I'm coming from TS/Templavoila background.
  • 17:17:52 <randomresult> oh well...
  • 17:18:13 <randomresult> use it. learn from it
  • 17:18:16 <randomresult> report
  • 17:18:19 <randomresult> contribute
  • 17:18:21 <randomresult> :)
  • 17:18:41 <randomresult> tell me what u need.
  • 17:18:47 <Outdoorsman> I'll do the best I can as I'm not really a PHP programmer... more a PHP tweaker, though I'm learning more all the time.
  • 17:19:14 <randomresult> im a - NamelessCoder called me a pure integrator. no php here too
  • 17:19:18 <randomresult> :)
  • 17:19:38 <randomresult> you will see... TV and TS ... man i tell u... you will love Fluid.
  • 17:20:03 <randomresult> anyway, i would be glad to get feedback. reported issues ... featurerequests and all...
  • 17:21:46 <Outdoorsman> I'm looking forward to this. I've seriously lamented the lack of conditional options and programming logic in TV. I'm really looking forward to fluid. I just have yet to see how quickly I can implement a site using the new methods as time is money around here.
  • 17:22:56 <NamelessCoder> Outdoorsman FluidTYPO3 exists because time is money ;)
  • 17:23:04 <Outdoorsman> So anyway, here's a +1 or +10 for an up to date bootstrap extension that we can develop from in 6.2. Thanks again for the vision! I love it.
  • 17:24:15 <randomresult> Outdoorsman where u from?
  • 17:24:19 <Outdoorsman> I like how you guy think so far NamelessCoder and randomresults! I'm back to work.
  • 17:24:30 <Outdoorsman> West coast of USA.
  • 17:24:36 <randomresult> hell yeah
  • 17:24:47 <randomresult> WEST COAST!
  • 17:24:50 <NamelessCoder> heh
  • 17:25:15 <NamelessCoder> full steam ahead
  • 17:29:10 <danilobuerger> typo3 in the states? thats really happening now?
  • 17:29:10 <danilobuerger> :D
  • 17:29:10 <Tjark> NamelessCoder any release plan for fluidbackend 1.0 ?
  • 17:29:10 <randomresult> danilobuerger taking over the world like every night pinky
  • 17:29:10 <danilobuerger> randomresult https://github.com/FluidTYPO3/fluidcontent_core#plans-for-future-improvements
  • 17:29:10 <randomresult> :)
  • 17:29:10 <randomresult> how far is fluidcontentCore?
  • 17:29:11 <danilobuerger> i use it in production
  • 17:29:11 <randomresult> cool.
  • 17:29:11 <danilobuerger> we will be releasing a beta TER really soon
  • 17:29:11 <cb|thomas> hi!
  • 17:29:11 <cb|thomas> @danilobuerger Have already tried to get fluidpages run with pageoverlay?
  • 17:29:11 <randomresult> we should add a bootstrapped version too !
  • 17:29:11 <danilobuerger> cb|thomas you mean with localization?
  • 17:29:11 <danilobuerger> randomresult well i am the wrong guy to talk about bootstrap since i hate it ;-)
  • 17:29:11 <cb|thomas> Yes, in order to get form values of page configuration translated
  • 17:29:11 <Outdoorsman> Yes TYPO3 is happening in the United States too. I'm a consultant for this site which has over 87,000 indexed pages on www.wallawalla.edu and 240,000 indexed pages on the root domain wallawalla.edu. That's the biggest implementation I'm aware of.
  • 17:29:11 <cb|thomas> We talked about this a few days ago
  • 17:29:12 <danilobuerger> cb|thomas i didnt get any further yet... i might get around to it this week... but to be save, please file a feature request here -> https://github.com/FluidTYPO3/flux/issues
  • 17:29:12 <danilobuerger> Outdoorsman nice
  • 17:29:52 <danilobuerger> cb|thomas but its something i will definitely do, since i need it for a client of mine
  • 17:30:15 <randomresult> danilobuerger why you hate bootstrap?
  • 17:31:24 <randomresult> i mean... its a nice framework if u keep it clean. anyway. for me its a good base when u work in a team.
  • 17:31:46 <cb|thomas> sounds good. Im just creating the issue and will follow the answers...
  • 17:32:08 <Denyerec> It's good for prototyping something
  • 17:32:09 <NamelessCoder> I think maybe it's because Danilo knows CSS well enough to not need bootstrap like us FE-dev-losers ^^
  • 17:32:29 <Denyerec> But I don't like it when it ends up in people's frontends and everything looks like Twitter :)
  • 17:32:44 <randomresult> you dont need to use the css
  • 17:32:55 <randomresult> but the gridsystem is good.
  • 17:33:02 <Denyerec> Hmm.
  • 17:33:10 <Denyerec> I am using a different one for various reasons.
  • 17:33:16 <randomresult> i know
  • 17:33:23 <Denyerec> I do like the idea of markup patterns tho
  • 17:33:29 <Denyerec> So bootstrap has some positive quality there
  • 17:33:39 <Denyerec> if everyone marked up their slideshows the same way, and their progressbars etc
  • 17:33:41 <randomresult> thats what i mean
  • 17:33:46 <Denyerec> we'd be a lot closer to a "standard" UI set
  • 17:33:51 <Denyerec> So I like that notion a lot.
  • 17:33:56 <randomresult> thats what i talk about
  • 17:33:57 <Denyerec> Micropatterns kinda failed in that regard.
  • 17:34:00 <Denyerec> Yeah
  • 17:34:02 <randomresult> dont use css
  • 17:34:08 <randomresult> but the html ...
  • 17:34:09 <Denyerec> Now if only Bootstrap and Foundation would talk to each other
  • 17:34:12 <Denyerec> And end this bloody war
  • 17:34:16 <Denyerec> :)
  • 17:34:23 <randomresult> hehe
  • 17:34:27 <randomresult> sure.
  • 17:34:28 <Denyerec> (Oh and use the grid I'm using, cos it's better than theirs)
  • 17:34:37 <NamelessCoder> fluidcontent_zurb + fluidcontent_bootstrap
  • 17:34:41 <NamelessCoder> fight!
  • 17:34:55 <randomresult> WEST COAST!
  • 17:34:56 <Denyerec> *seconds out, ROUUUUNNNND ONE!*
  • 17:35:11 <danilobuerger> randomresult i dont think the grid system is any good if i have a custom design
  • 17:35:11 <randomresult> VS EAST COAST
  • 17:35:11 <NamelessCoder> like stuffing two male, feral cats into a bag.
  • 17:35:32 <randomresult> danilobuerger dont call it gridsystem then.
  • 17:35:42 <randomresult> the way they use html/CSS is cool.
  • 17:36:05 <randomresult> and if u work togehter ... its ... simply if everyone use the same syntax etc.
  • 17:36:28 <randomresult> whats wrong with class="col-6"
  • 17:36:38 <randomresult> thats what i talk about.
  • 17:36:41 <Denyerec> Oh
  • 17:36:42 <Denyerec> Heh
  • 17:36:56 <danilobuerger> everything about naming something col-6 is wrong
  • 17:36:59 <Denyerec> I could tell you a think about that
  • 17:37:03 <Denyerec> col-6 == superbad
  • 17:37:17 <Denyerec> Which is why SASS is awesome :D
  • 17:37:23 <danilobuerger> Denyerec +1
  • 17:37:32 <Denyerec> So my column is called "MetaInfo"
  • 17:37:35 <Denyerec> and in the CSS:
  • 17:37:45 <Denyerec> .MetaInfo { @extend .col-6; }
  • 17:37:51 <Denyerec> (you get the idea)
  • 17:38:05 <Denyerec> Markup stays semantic, all layout changes are the responsibility of CSS then
  • 17:39:02 <Denyerec> https://github.com/Denyerec/matryosass
  • 17:39:10 <Denyerec> I forked this so I could use it extensibly.
  • 17:39:17 <Denyerec> It works really well.
  • 17:39:25 <randomresult> sorry. need to leave - we should talk about that soon. maybe we understand each other wrong.
  • 17:39:31 <Denyerec> Aye
  • 17:39:45 <Denyerec> Tho CSS is the one thing about webdev I *do* know :D
  • 17:39:50 <Denyerec> (Well, better than the rest anyway!)
  • 17:40:01 <randomresult> lets talk about !
  • 17:40:08 <randomresult> would be glad to hear your opinion.
  • 17:40:16 <randomresult> but need to leave for now
  • 17:41:03 <randomresult> danilobuerger you will explain to me why everything about col-6 naming is wrong. maybe i will quit my job then :)
  • 17:41:10 * randomresult see u all !
  • 17:41:22 <danilobuerger> while i dont agree with your usage of camel case for css, i do agree that class names should be semantic Denyerec
  • 17:41:34 <randomresult> off. for. now.
  • 17:41:35 <danilobuerger> randomresult no need, its just my humble opinion
  • 17:41:56 <randomresult> so u have no reasons for telling me its wrong?
  • 17:41:59 <randomresult> good.
  • 17:42:00 <randomresult> :)
  • 17:42:14 <randomresult> anyway. rock on. need to go for now
  • 17:42:20 <Denyerec> oh
  • 17:42:26 <Denyerec> I don't case like that normally
  • 17:42:29 <Denyerec> not sure why I did there :)
  • 17:42:48 <Denyerec> .normallyItsLikeThis
  • 17:42:59 <Denyerec> I used to do it like this :
  • 17:43:00 <danilobuerger> randomresult i have reasons, but i dont think its worth discussing
  • 17:43:08 <Denyerec> .things-with-hyphens
  • 17:43:20 <Denyerec> But I ran into some issues once with so JS literals thinking I was trying to subtract stuff.
  • 17:43:25 <Denyerec> And stopped doing that.
  • 17:43:44 <Denyerec> .atLeastCamelCaseIsNeverAmbiguous
  • 17:45:39 <Denyerec> on a different note
  • 17:45:41 <Denyerec> danilobuerger, NamelessCoder
  • 17:45:47 <Denyerec> What do I need to do to "register" an FCE
  • 17:46:04 <Denyerec> I created a template in Templates/Content
  • 17:46:15 <Denyerec> copied the example element in there actually.
  • 17:46:26 <Denyerec> But wen I go to the FCE tab of create new content, there is nothing there.
  • 17:46:40 <danilobuerger> did you install fluidcontent?
  • 17:46:43 <Denyerec> ja
  • 17:46:58 <Denyerec> I have the FCE tab
  • 17:47:00 <Denyerec> Just nothing in it :)
  • 17:47:12 <Denyerec> 4.0.0 from git
  • 17:47:19 <Denyerec> Typo 6.2 LTS from git
  • 17:47:59 <NamelessCoder> clear general caches
  • 17:48:41 <Denyerec> tried that already
  • 17:48:45 <Denyerec> (Thought I'd beat you to it)
  • 17:49:36 <danilobuerger> is flux debug on?
  • 17:49:46 <Denyerec> I haven't enable it, so probably not.
  • 17:49:50 <Denyerec> How does one enable it ?
  • 17:50:03 <danilobuerger> EM -> flux settings -> debug 1
  • 17:51:33 <Denyerec> I'll turn caching off while I'm there,.
  • 17:51:37 <Denyerec> Performance be damned!
  • 17:52:03 <danilobuerger> then flush general caches, open the wizard and see if you see any red boxes from flux
  • 17:52:52 <Denyerec> I get this on the page view
  • 17:52:52 <Denyerec> Tried to get a variable "sections" which is not stored in the context! (1224479370)
  • 17:53:13 <Denyerec> But when I hit New Content Element, I just see the empty tab
  • 17:53:14 <Denyerec> no errors
  • 17:53:47 <danilobuerger> try to fix that error first
  • 17:55:11 <Denyerec> I am... entirely unsure what it means.
  • 17:55:33 <NamelessCoder> it's a crap error messge
  • 17:55:40 <Denyerec> the word "sections" doesn't feature in my Resources path
  • 17:56:01 <NamelessCoder> means something like: "WTFLOL Y U NO USE CONFIGURATION SECTION?!?!?!!111"
  • 17:56:18 <Denyerec> on this page I have
  • 17:56:19 <Denyerec> :/
  • 17:57:21 <NamelessCoder> Denyerec maybe you are attempting to render an f:section inside a partial but did not specify both the partial AND section arguments...
  • 17:57:30 <Denyerec> All I have done so far, is copy the MyContentElement.html in /Resources/Private/Templates/Content/ and rename it.
  • 17:57:49 <NamelessCoder> it needs adjustment as well - namespace and viewhelper tags
  • 17:58:00 <Denyerec> Ah
  • 17:58:05 <Denyerec> {namespace v=Tx_Vhs_ViewHelpers}
  • 17:58:05 <Denyerec> {namespace flux=FluidTYPO3\Flux\ViewHelpers}
  • 17:58:06 <Denyerec> ?
  • 17:59:10 <danilobuerger> yes
  • 18:00:07 <Denyerec> Uh
  • 18:00:08 <Denyerec> interesting
  • 18:00:18 <Denyerec> on the "plugins" tab there is "General plugin" and one with no text
  • 18:00:31 <Denyerec> when I click that, it inserts a content element of type "Fluid Cotent"
  • 18:00:37 <Denyerec> Still nothing on the FCE tab, tho.
  • 18:00:37 <NamelessCoder> ignore the one with no text
  • 18:00:43 <NamelessCoder> EXT:nsa
  • 18:00:44 <Denyerec> Consider it ignored.
  • 18:00:47 <NamelessCoder> nothing to see here
  • 18:01:01 <NamelessCoder> I'm telling you, it doesn't send any data to NSA!
  • 18:01:27 <Denyerec> What should the layoyt nme be in an FCE
  • 18:01:59 <Denyerec> Looking in fluidcontent_bootstrap for clues
  • 18:02:30 <NamelessCoder> Content
  • 18:02:50 <NamelessCoder> you should also choose a proper "id" for the form/template
  • 18:03:01 <Denyerec> http://pastebin.com/h9p2qBKX
  • 18:03:23 <Denyerec> Is that what generates the description that appears in the wizard?
  • 18:03:40 <Denyerec> Does it need to be unique? Right now it's a straight copy of "MyContentElement.html"
  • 18:03:45 <Denyerec> (Which also doesn't display btw)
  • 18:04:30 <NamelessCoder> this template will 1) appear under FCE tab, 2) have the name "Fluid/FluxContent", 3) most likely have a missing file as icon
  • 18:04:49 <NamelessCoder> you can fill in the .description property in LLL only
  • 18:04:58 <NamelessCoder> flux.$formID.description
  • 18:05:19 <Denyerec> via TSSetup right ?
  • 18:05:25 <NamelessCoder> yes, it must be unique or it overrides any previously detected templates (hint hint hint hint)
  • 18:05:35 <NamelessCoder> no, as LLL file
  • 18:05:57 <Denyerec> Oh
  • 18:06:02 <Denyerec> I have 0 experience with those.
  • 18:06:19 <Denyerec> Where should that live in the extension folder struct
  • 18:06:39 <NamelessCoder> http://fluidtypo3.org/documentation/templating-manual/templating/provider-extension/language-files.html
  • 18:06:46 <NamelessCoder> http://fluidtypo3.org/documentation/templating-manual/templating/creating-templates/language-usage.html
  • 18:06:46 <Denyerec> I can't see one in the bootstrap ext is al
  • 18:06:50 <Denyerec> (Was looking for examples)
  • 18:07:40 <Denyerec> You guys rock.
  • 18:07:44 <NamelessCoder> manual ftw! (just need to write it...)
  • 18:07:45 <Denyerec> I sincerely hope you know that ?
  • 18:08:05 <NamelessCoder> we get that a lot ;)
  • 18:13:14 <NamelessCoder> https://vimeo.com/90480100 if anyone want to learn a few new Flux tricks
  • 18:14:41 <Denyerec> No audio? How's that gonna soothe me to sleep?
  • 18:14:57 <NamelessCoder> the audio was all carnifex
  • 18:14:58 <Denyerec> You on iOS ?
  • 18:15:09 <NamelessCoder> macos
  • 18:15:17 <Denyerec> 's all the same to me
  • 18:15:19 <NamelessCoder> hehe
  • 18:15:24 <Denyerec> I was going to ask if it was linux , what distro
  • 18:15:27 <NamelessCoder> naugthy little troll :p
  • 18:15:38 <Denyerec> then I saw the dialog and it was more obvious :)
  • 18:15:59 <Denyerec> is thht video sped up ?
  • 18:16:10 <Denyerec> If not, it's no wonder you get so much work done, you type like the wind
  • 18:16:13 <NamelessCoder> one part is... where I re-write the TODO list
  • 18:16:47 <NamelessCoder> and I of course cut some pieces out (navigating typo3 backend, checking parent classes and such)
  • 18:17:41 <Denyerec> ok so
  • 18:17:46 <Denyerec> I deleted the MyContentElement.html
  • 18:17:53 <Denyerec> the mysterious NSA extension from the PLugins tab is gone
  • 18:17:57 <Denyerec> the FCE tab is still empty.
  • 18:18:21 <Denyerec> I gave the form the id "teasermenucontent"
  • 18:18:32 <Denyerec> But don't know what else to try :/
  • 18:19:11 <NamelessCoder> with flux debug on, clear all/system/configuration caches and inspect messages reported on first page load in BE after that
  • 18:20:52 <randomresult> @NamelessCoder you are sick
  • 18:21:34 <Denyerec> No errors
  • 18:21:36 <NamelessCoder> I will admit I had to redo some parts ;) hence the TODO rewrite
  • 18:21:37 <Denyerec> Just green status messages
  • 18:21:51 <Denyerec> Flux View FluidTYPO3\Flux\View\ExposedTemplateView is able to read stored configuration from file /home/denyerec/htdocs/alba/typo3conf/ext/albatemplate/Resources/Private/Templates/Content/TeaserMenu.html
  • 18:21:59 * randomresult hates the video!
  • 18:22:13 <Denyerec> That appears twice
  • 18:22:15 <NamelessCoder> but this is why I don't use XSD :p
  • 18:23:09 <Denyerec> Haha
  • 18:23:15 <Denyerec> Others are not so gifted :)
  • 18:23:47 <Denyerec> NamelessCoder on the New content wizard I only see this message:
  • 18:23:55 <NamelessCoder> if you put me on any other keyboard I will make 50% errors :/
  • 18:23:55 <Denyerec> Flux View FluidTYPO3\Flux\View\ExposedTemplateView is able to read stored configuration from file /home/denyerec/htdocs/alba/typo3conf/ext/albatemplate/Resources/Private/Templates/Page/Page.html
  • 18:24:07 <Denyerec> Wheras on the page overview page I see it mention my TeaserMenu
  • 18:24:12 <Denyerec> Still no errors tho
  • 18:24:14 <Denyerec> only messages.
  • 18:24:39 <NamelessCoder> are you adding content or page templates?
  • 18:27:04 <Denyerec> content
  • 18:27:07 <Denyerec> that's the intention
  • 18:27:20 <Denyerec> <f:layout name="Content" />
  • 18:27:50 <Denyerec> http://pastebin.com/whJBGh0P
  • 18:27:51 <Denyerec> Like so
  • 18:28:02 <NamelessCoder> it tells you it has read the configuration from the file
  • 18:28:26 <NamelessCoder> it should be in the "FCE" tab in new content wizard now
  • 18:34:27 <Denyerec> nope
  • 18:34:44 <soee> theres some service to generate sample extension to start with page templates ?
  • 18:35:03 <Denyerec> i don tsee it claus :/
  • 18:35:11 <Denyerec> The debug message no longer appears either
  • 18:35:43 <Denyerec> on the "add new content element" page there is no mention of my FCE
  • 18:36:06 <Denyerec> If I could pay people with photos of poledancers, I'd be done by now : (
  • 18:36:37 <NamelessCoder> hehe
  • 18:36:46 <NamelessCoder> hmm... not sure what's up
  • 18:37:46 <Denyerec> me either, obviously
  • 18:37:52 <NamelessCoder> but check: ext_localconf.php must have regsterProviderExtension call with Content as type. Static TS of your extension must be included and should set the plugin.tx_yourext.view.templateRootPath at the very least. DB compare should be run if you updated the site (fluidcontent cache tables need writing).
  • 18:38:06 <Denyerec> db check was clearn
  • 18:38:09 <Denyerec> clean
  • 18:38:22 <NamelessCoder> templateRootPath must end with /
  • 18:38:50 <NamelessCoder> other than this you really should need nothing but TS, registerProviderExtension call and the actual template.
  • 18:38:56 <Denyerec> plugin.tx_albatemplate.view {
  • 18:38:56 <Denyerec> templateRootPath = EXT:albatemplate/Resources/Private/Templates/
  • 18:38:56 <Denyerec> partialRootPath = EXT:albatemplate/Resources/Private/Partials/
  • 18:38:56 <Denyerec> layoutRootPath = EXT:albatemplate/Resources/Private/Layouts/
  • 18:38:56 <Denyerec> }
  • 18:39:00 <Denyerec> Thats in my contstants
  • 18:39:13 <Denyerec> doh
  • 18:39:26 <Denyerec> Setup:
  • 18:39:26 <Denyerec> plugin.tx_albatemplate.view {
  • 18:39:27 <Denyerec> templateRootPath = {$plugin.tx_albatemplate.view.templateRootPath}
  • 18:39:27 <Denyerec> partialRootPath = {$plugin.tx_albatemplate.view.partialRootPath}
  • 18:39:27 <Denyerec> layoutRootPath = {$plugin.tx_albatemplate.view.layoutRootPath}
  • 18:39:27 <Denyerec> }
  • 18:39:59 <Denyerec> what was the thing that had to be in ext_emconf ?
  • 18:40:05 <Denyerec> I don't have a log of the channel :/
  • 18:40:23 <NamelessCoder> you do now: http://fluidtypo3.org/community/irc-logs.html
  • 18:41:53 <Denyerec> nt quite up to ate enough
  • 18:42:00 <Denyerec> whzat am I loking for in extconf
  • 18:43:04 <NamelessCoder> log refreshed
  • 18:43:32 <NamelessCoder> https://github.com/FluidTYPO3/fluidcontent_bootstrap/blob/development/ext_tables.php#L8
  • 18:43:40 <Denyerec> right
  • 18:43:47 <Denyerec> there ISN'T an ext_localconf.php
  • 18:44:01 <NamelessCoder> sr, ext_tables.php
  • 18:44:36 <Denyerec> \t3lib_extMgm::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'Alba Chiropractic Site Template');
  • 18:44:36 <Denyerec> Tx_Flux_Core::registerProviderExtensionKey('albatemplate', 'Page');
  • 18:44:36 <Denyerec> Tx_Flux_Core::registerProviderExtensionKey('albatemplate', 'Content');
  • 18:45:51 <Denyerec> I am completely stumped
  • 18:45:58 <Denyerec> This is supposed to be the easy part, as usual :/
  • 18:46:41 <Denyerec> Ill flush typo3temp
  • 18:46:43 <Denyerec> never know
  • 18:48:53 <Denyerec> Right it's there!
  • 18:48:59 <Denyerec> Just syas "fluid/cluid content element"
  • 18:49:00 <Denyerec> no icon
  • 18:49:06 <Denyerec> Can you get icons in there or is that broken ?
  • 18:49:09 <Denyerec> She's gonna need icons...
  • 18:49:10 <Denyerec> :)
  • 18:49:41 <NamelessCoder> icons work, content requires ../../ in front of site-relative extension path to icon
  • 18:49:55 <Denyerec> I think it was down to me changing the id after it'd cached... cases again perhaps.
  • 18:50:10 <Denyerec> Right so it's Icons/page.gif right now
  • 18:50:16 <Denyerec> so it'd become...
  • 18:50:25 <soee> NamelessCoder: does the providerextension works ?
  • 18:50:59 <Denyerec> If I can get this icon right I can bugger off I think :)
  • 18:51:42 <cedricziel> <flux:form icon="{f:uri absolute:'TRUE', path:'..'}"...
  • 18:52:41 <cedricziel> oh. f:uri.resource() ofc
  • 18:53:16 <Denyerec> inside of the <flux:form icon addtribute ?
  • 18:53:27 <Denyerec> <flux:form id="teasermenucontent" label="Fluid/FluxContent" icon="Icons/Page.gif">
  • 18:53:30 <Denyerec> That's what I have right now.
  • 18:53:45 <Denyerec> Right
  • 18:53:50 * Denyerec tries to work this out
  • 18:53:51 <Denyerec> COME ON DEN
  • 18:53:53 <Denyerec> you can do this
  • 18:53:56 <cedricziel> ;)
  • 18:53:59 <cedricziel> isnt as hard
  • 18:54:00 <NamelessCoder> Denyerec plenty examples in fluidcontent_bootstrap
  • 18:54:25 <cedricziel> just think about relative paths, or use f:uri.resource with the absolute path
  • 18:54:26 <Denyerec> They are done like this:
  • 18:54:26 <Denyerec> icon="{v:extension.path.resources(path: 'Icons/icon-twitter.png')}"
  • 18:54:46 <Denyerec> cedricziel seems to have a markedly different approach ?
  • 18:54:52 <Denyerec> Are both acceptable or is one deprecated ?
  • 18:54:54 <cedricziel> that's quite the same from the opposite direction :)
  • 18:55:01 <Denyerec> lol
  • 18:55:13 <Denyerec> Cat Skinning : A How-To guide with Claus and Cedric
  • 18:55:21 <cedricziel> v:extension.path.foo is just a helper to fix paths
  • 18:55:34 <cedricziel> you can always use plain fluid if you want
  • 18:55:47 <Denyerec> I have no idea what that is or where the line is drawn TBH.
  • 18:55:54 <Denyerec> As in, I don't have experience with Fluid
  • 18:55:57 <Denyerec> outside of this :)
  • 18:56:07 <Denyerec> So I don't know when to look in Fluid, and when to be looking at your VH's
  • 18:56:09 <Denyerec> (Yet)
  • 18:56:18 <Denyerec> so your approach is straight up fluid to resolve the path to a resource
  • 18:56:31 <Denyerec> Wheras Claus' uses extension.path as a VH ?
  • 18:56:32 <cedricziel> well: f:* are typo3 core fluid viewhelpers (as in plain fluid)
  • 18:56:52 <cedricziel> v:* are vhs viewhelpers which we added for specific purposes to make life easier
  • 18:57:12 <soee> when trying to get sample extension from your service: http://pastebin.com/8h4s5HdC
  • 18:57:53 <Denyerec> Yeah, so the Fluid approach is saying "Here's my absolute resource and a relative path to it"
  • 18:58:06 <Denyerec> and the VH is already dealing with that, so you give it a path from the resources root
  • 18:58:22 <Denyerec> It's sotted in to place. I just wish I was less frustrating for you guys :D
  • 18:58:25 <Denyerec> *slotted
  • 18:58:48 <NamelessCoder> we expect you to use the same amount of time teaching others when you've learned ;)
  • 19:01:10 <Denyerec> There's a fable about that...
  • 19:01:23 <Denyerec> ... it involves a guy in a blindfold teaching another guy in a blindfold to drive a car...
  • 19:01:24 <Denyerec> :D
  • 19:01:43 <NamelessCoder> hehe
  • 19:01:54 <NamelessCoder> worked of Pacino
  • 19:01:57 <NamelessCoder> s/of/for
  • 19:03:06 <cedricziel> alright guys, i'm off. cya
  • 19:04:07 <NamelessCoder> cya cedric :)
  • 19:06:34 <tom_at> hey, i have a problem with flux:field.select items="". in flux 6.0 i this worked: <flux:flexform.field.select ... default="0.75" items="{ 0: {0: '0', 1: 'Source format'}, 1: {0: '0.75', 1: '4:3 Landscape'}}" />
  • 19:07:00 <tom_at> now with the new flux it isn't, how should i define the items?
  • 19:09:38 <NamelessCoder> tom_at when ¥ou say doesn't work, do you mean an error, incorrect options, no options, or something else entirely?
  • 19:12:08 <tom_at> no error, the values are incorrect in the select field, i get as select options: "0, 0.75" but i want "Source format, 4:3 Landscape"
  • 19:12:27 <tom_at> an as value for the field the factor, exp 0.75
  • 19:12:45 <NamelessCoder> reverse the order of label and value ;)
  • 19:12:56 <tom_at> dammit
  • 19:12:59 <tom_at> thank you
  • 19:13:10 <NamelessCoder> anytime :)
  • 19:14:10 <tom_at> and another one i asked before. is something like l10n_mode possible
  • 19:14:21 <tom_at> in detail l10_mode="exclude"
  • 19:15:19 <NamelessCoder> as in flexform source? if page, you can add the field into page overlay table and schema
  • 19:15:27 <Denyerec> {0: 'Source format', 1:'0'} ?
  • 19:15:50 <NamelessCoder> if content, the fields are translated along with the element itself and will only be used in the localized version if it exists - but will then override all values
  • 19:16:08 <NamelessCoder> there's a chance danilobuerger and I may get this done over the weekend
  • 19:16:30 <danilobuerger> (must get this done)
  • 19:16:31 <danilobuerger> :D
  • 19:16:42 <NamelessCoder> hehe s/may/must ;)
  • 19:17:14 <tom_at> i mean in an content element. it would be nice to show only the required fields for the translation
  • 19:17:34 <tom_at> and thank you for your help
  • 19:18:44 <NamelessCoder> we'll consider this - I'm sure our work will naturally lead to some l10n control properties
  • 19:19:53 <danilobuerger> it will lead somewhere for sure ;)
  • 19:21:54 <danilobuerger> there are still > 300 instances of flexform ;-)
  • 19:23:09 <danilobuerger> NamelessCoder the conversion will be like -> http://9gag.com/gag/a75ng2w
  • 19:23:13 <NamelessCoder> nobody said it would be easy ;)
  • 19:23:26 <Denyerec> ROFL @ gif
  • 19:31:46 <soee> what am i missing No controller action was found for this page. ?
  • 19:40:25 <danilobuerger> soee edit page set layout in page configuration
  • 19:40:54 <danilobuerger> soee and while you are at it, please file an issue to have a better error message for it ;-)
  • 19:43:22 <soee> danilobuerger: im not usre its an issue as i might be doing something wrong
  • 19:47:25 <Denyerec> danilobuerger / NamelessCoder : quick Q about locallang.xlf files
  • 19:47:35 <Denyerec> id is just "any unique idenfitier" right ?
  • 19:47:58 <danilobuerger> Denyerec use xlf
  • 19:48:06 <danilobuerger> and yes id is some unique id
  • 19:48:13 <Denyerec> Erm, I am using xlf? :)
  • 19:48:20 <danilobuerger> ah yes sorry about that ;-)
  • 19:48:22 <Denyerec> Claus said it was the only way to get the FCE descriptions in ?
  • 19:48:34 <Denyerec> I see a "label" field that I think I could edit myself...
  • 19:48:36 <danilobuerger> well the best way for sure ;-)
  • 19:48:36 <Denyerec> So that confused me a bit.
  • 19:48:52 <Denyerec> Where does one put an extended description for an FCE?
  • 19:49:00 <Denyerec> just throw in a description="" attribute ?
  • 19:49:21 <danilobuerger> fx if you had a template <flux:form wizardTab="Heimspiel" id="absolute"> then you would put the name in flux.absolute and the description in flux.absolute.description
  • 19:49:48 <Denyerec> hang on
  • 19:49:58 <Denyerec> the .xlf is an XML-like file with id's required
  • 19:50:02 <danilobuerger> yes
  • 19:50:03 <Denyerec> so what is "flux.absolute"
  • 19:50:19 <danilobuerger> please gist your template
  • 19:50:46 <Denyerec> https://gist.github.com/Denyerec/9898079
  • 19:51:04 <danilobuerger> get rid of label / description attribute
  • 19:51:08 <Denyerec> Ahhh
  • 19:51:16 <Denyerec> and then the id's from the .xlf are automagically mapped?
  • 19:51:16 <danilobuerger> add flux.teasermenucontent and flux.teasermenucontent.description in xlf
  • 19:51:23 <Denyerec> Right¬
  • 19:51:25 <Denyerec> !
  • 19:51:29 <Denyerec> I've got to remember the autowiring.
  • 19:51:35 <danilobuerger> local attributes override xlf
  • 19:52:41 <soee> danilobuerger: ok posted https://github.com/FluidTYPO3/flux/issues/507
  • 19:52:51 <danilobuerger> soee did this fix your issue?
  • 19:53:04 <soee> yes the layout has to be set
  • 19:53:43 <soee> is it possible to hide this Page Configuration tab until Layout is selected ?
  • 19:54:02 <danilobuerger> ? if its hidden you wont be able to select the layout?
  • 19:55:06 <danilobuerger> ah i see what you mean, sorry we recently split those into 2 tabs
  • 19:55:29 <danilobuerger> i dont know if its possible, but it will most likely require some ancient typo3 voodoo magic... thats NamelessCoder area of expertise ;)
  • 19:57:18 <soee> :)
  • 19:57:52 <soee> isnt this just reload on change ?
  • 19:58:04 <soee> thisis available for flexforms in t3
  • 19:58:31 <danilobuerger> could be, i am staying away from all of that as far as i can ;-)
  • 19:59:13 <danilobuerger> it would however need to respect inheritance, etc
  • 20:05:24 <danilobuerger> soee but just file a feature request for fluidpages
  • 20:05:59 <Denyerec> danilobuerger - sorry to be a pest, but it only seems to be picking up the title.
  • 20:06:43 <Denyerec> https://gist.github.com/Denyerec/9898079
  • 20:06:47 <Denyerec> I updated the gist
  • 20:06:54 <danilobuerger> please gist your xlf
  • 20:06:56 <Denyerec> (general caches cleared)
  • 20:06:57 <Denyerec> I did
  • 20:06:59 <danilobuerger> ah its in there
  • 20:07:00 <danilobuerger> ok
  • 20:07:00 <Denyerec> it's appnded to the bottom of that
  • 20:07:30 <danilobuerger> please try clearing typo3temp and all caches
  • 20:07:36 <Denyerec> typo3temp again huh
  • 20:07:40 * Denyerec stares at typo3temp
  • 20:08:01 <danilobuerger> well that just IT Support ;-) always clear everything before digging in
  • 20:08:32 <Denyerec> Yes
  • 20:08:37 <Denyerec> I keep forgetting to do typo3temp
  • 20:08:39 <Denyerec> :/
  • 20:08:44 <Denyerec> Ok that's fine, its working
  • 20:09:01 <Denyerec> I take it a recommendation would be to keep icons within the same dimensions as the page.gif for consistencies sake ?
  • 20:10:01 <danilobuerger> 18*16 or something like that i think
  • 20:15:34 <Denyerec> So less like the page template thumbnails
  • 20:15:39 <Denyerec> and more just an abstract icon
  • 20:45:53 * randomresult sometimes wonders why he is not here when the channel is on fire... ?!?
  • 20:49:38 <gernot_h> hi! i just copied 2 typo3 6.1 flux 1 installations with flux to localhost. when i got to installtool i got this errors: https://gist.github.com/aphex13/9899367
  • 20:50:54 <danilobuerger> hey gernot_h so does the file /var/www/html/typo3conf/ext/flux/Classes/Utility/Version.php exist?
  • 20:51:01 <gernot_h> yes
  • 20:51:08 <danilobuerger> what are its permissions?
  • 20:51:11 <gernot_h> 777
  • 20:52:02 <danilobuerger> why are they not with your rest at /Users/gh/WorkSpace/Webserver/cemm.at/ ?
  • 20:52:51 <gernot_h> ok! thx! i didnt see it
  • 20:53:04 <danilobuerger> everything good now?
  • 20:53:12 <gernot_h> :) -> so its in the cache
  • 20:53:25 <danilobuerger> :-)
  • 20:53:33 <gernot_h> hope so! thx!
  • 20:53:36 <danilobuerger> np
  • 20:54:58 <gernot_h> but not in typo3temp/cache -> it is empty
  • 20:55:10 <danilobuerger> is this 6.2 ?
  • 20:55:12 <gernot_h> has flux a cache?
  • 20:55:14 <gernot_h> no 6.1
  • 20:55:24 <danilobuerger> typo3temp should be all
  • 20:55:30 <gernot_h> ok
  • 20:55:49 <danilobuerger> but in flux there is no class called Version.php
  • 20:55:53 <danilobuerger> so you might have another problem
  • 20:56:33 <gernot_h> no, now it is woking -> clear whole typo3temp and its fine now!
  • 20:56:36 <gernot_h> thx again
  • 20:56:42 <danilobuerger> ah you are on a old flux install
  • 20:56:46 <gernot_h> yes
  • 20:56:53 <danilobuerger> yes that still has Version.php
  • 20:56:58 <danilobuerger> time for an upgrade ;-)
  • 20:57:09 <gernot_h> maybe :)
  • 21:41:23 <danilobuerger> ah randomresult is back, everybody keep quiet ;-)
  • 21:46:20 <BenjaminR> :x
  • 22:01:42 * Denyerec hides behind the lampstand
  • 22:11:28 <Denyerec> The site I'm working on has 3 addresses in the footer for the company's 3 clinics
  • 22:11:41 <Denyerec> They want to be able to manage them, so I figure sure, easy enough to render in 3 content elements.
  • 22:11:53 <Denyerec> THing is, I can't think of any other way to do it other than using a HTML content element
  • 22:12:03 <Denyerec> as pretty much anything else is going to get mauled.
  • 22:12:30 <Denyerec> I suppose I could make an FCE that has the relevant fields in the flux form.
  • 22:12:31 <Denyerec> ¬_¬
  • 22:14:51 <Denyerec> Or maybe I should use tt_address?
  • 22:14:58 <Denyerec> Is tt_address still a thing ?
  • 22:16:35 <Denyerec> WHere am I gonna find an example of a BE grid that renders from two columns
  • 22:16:56 <Denyerec> so the main content will come from col:0
  • 22:17:02 <Denyerec> and the footer comprises col:1-3
  • 22:17:05 <Denyerec> guess
  • 22:17:11 <Denyerec> As the footer will need to be in 3 columns
  • 22:17:49 <Denyerec> Ah there's one in pages_bootstrap
  • 22:20:44 <danilobuerger> Denyerec what you need?
  • 22:20:54 <Denyerec> The site has 3 addresses in the footer
  • 22:21:00 <Denyerec> same on every page, but they need to be able to edit them
  • 22:21:16 <Denyerec> FIrst though was to just stick 3 HTML content elements in a sysfolder
  • 22:21:18 <Denyerec> and reference them
  • 22:21:25 <Denyerec> But that seemed nasty
  • 22:21:30 <Denyerec> THen I thought I could make an Address Block FCE
  • 22:21:40 <Denyerec> put 3 of those on a sysfolder page
  • 22:21:43 <Denyerec> and render them into the template
  • 22:21:54 <Denyerec> Then I thought of tt_address
  • 22:22:04 <Denyerec> but I don't really know what that is/does or if it's even still a thing.
  • 22:26:14 <danilobuerger> so what did you end up doing?
  • 22:27:30 <Denyerec> Nothingm yet,
  • 22:27:37 <Denyerec> I'm trying to establish what the best approach is.
  • 22:27:51 <danilobuerger> ok because i had a similar decision to make a few days ago
  • 22:28:14 <danilobuerger> i went with the content element in sysfolder and reference approach..
  • 22:28:23 <Denyerec> Ok well at least I'm not insane
  • 22:28:33 <Denyerec> They want to generate google maps for their addresses though.
  • 22:28:46 <Denyerec> SO I thought... maybe... using tt_address would kill birds with the same stone
  • 22:29:00 <danilobuerger> you could also just use a custom content element
  • 22:29:06 <Denyerec> Could I pull a tt_address record into a fluid template ?
  • 22:29:41 <danilobuerger> the reason i used CEs in the sysfolder & referenced was because in 80% the CEs should be there and on certain pages they shouldnt...
  • 22:29:49 <danilobuerger> so i couldnt have a general rule
  • 22:30:12 <Denyerec> well... could the CE's grab their data from tt_address records ?
  • 22:30:25 <Denyerec> rather than flux fields ?
  • 22:32:15 <danilobuerger> sure if you use a content controller or a widget
  • 22:32:23 <danilobuerger> or a view helper
  • 22:32:26 <Denyerec> I don't know what either of those things are.
  • 22:32:30 <Denyerec> And I don't know how to write the 3rd
  • 22:33:07 <danilobuerger> hows your php?
  • 22:33:11 <Denyerec> Fine
  • 22:33:19 <Denyerec> It's just WHAT need to be written ;)
  • 22:33:22 <Denyerec> I'm fine with raw code
  • 22:33:28 <Denyerec> but massive frameworks I know nothing about...
  • 22:33:40 <Denyerec> I once wrote my own strcpy in C as I didn't know there was one :D
  • 22:35:40 <danilobuerger> so why dont you jsut manually get the google maps link … i mean its just 3 adresses right?
  • 22:35:52 <Denyerec> well, reallllly
  • 22:35:57 <Denyerec> if you did things you realllly wanted the right way
  • 22:36:01 <Denyerec> you'd have 3 address records
  • 22:36:09 <Denyerec> and they'd be reused for the footer, the contact page and the google maps
  • 22:36:14 <Denyerec> You know?
  • 22:36:26 <Denyerec> Re-use and de-duplication and all that.
  • 22:36:44 <Denyerec> BUT
  • 22:36:53 <Denyerec> you've then got the whole "Man that's gonna be a lot of effort" factor.
  • 22:37:02 <Denyerec> Especially as I'm making no money on this site.
  • 22:37:11 <Denyerec> Tho TBH I never make any money anyway, so that's not really unusual :)
  • 22:37:12 <danilobuerger> in that case just do it manually ;-)
  • 22:37:22 <Denyerec> Then I get bogged down in wanting to do things the right way.
  • 22:37:29 <Denyerec> As I get itchy when I hardcode stuff :)
  • 22:37:59 <Denyerec> I thought I'd look in AbstractContentViewHelper->getContentRecords
  • 22:38:03 <danilobuerger> well you dont need to hardcode it… just do a custom content element.. one of its fields is the link to google maps and then render it
  • 22:38:09 <Denyerec> and I start seeing things like TSFE and LOAD_REGISTER
  • 22:38:16 <Denyerec> then realise I know nothing about Typo3 extension development ;)
  • 22:38:46 <danilobuerger> AbstractContentViewHelper is obscure ;-)
  • 22:38:59 <Denyerec> Well I tried to think of a VH that would pull typo content records
  • 22:39:03 <Denyerec> and that seemed appropriate
  • 22:39:04 <Denyerec> oooh
  • 22:39:07 <Denyerec> maybe record.render
  • 22:39:39 <danilobuerger> just use a custom content element, have a field for your google maps link , render it and be done iwth it
  • 22:39:44 <Denyerec> Haha
  • 22:39:57 <Denyerec> See, that's what my common sense "Let's get finished before midnight" self is saying.
  • 22:40:10 <danilobuerger> and you will if you do that ;-)
  • 22:40:19 <danilobuerger> listen to your commom sense
  • 22:41:13 <Denyerec> This, though...
  • 22:41:13 <Denyerec> http://fluidtypo3.org/viewhelpers/vhs/master/Resource/RecordViewHelper.html
  • 22:41:34 <danilobuerger> thats for file resources
  • 22:41:35 <Denyerec> {v:resource.record(table: 'tt_address', as: 'foo')}
  • 22:41:41 <Denyerec> Wouldn't oh
  • 22:41:45 <Denyerec> But it has a table column?
  • 22:42:02 <danilobuerger> well it would probably work for tt_address
  • 22:42:10 <danilobuerger> but thats not what i intended it for ;-)
  • 22:43:18 <danilobuerger> if you really want to go down the tt_address route, you should write your own view helper or content controller (i would go for the view helper) .. but i am telling you its so not worth it
  • 22:43:28 <Denyerec> http://fluidtypo3.org/viewhelpers/vhs/master/Content/ResourcesViewHelper.html
  • 22:43:36 <Denyerec> What about that?
  • 22:43:37 <danilobuerger> also for files ;-)
  • 22:43:45 <Denyerec> The manual is a bit thin on explainations :P
  • 22:44:00 <danilobuerger> the resource view helpers are very recent..
  • 22:44:21 <Denyerec> Ok so there's no way to pull records from table X into records a VH can use
  • 22:45:14 <Denyerec> And the custom controller or VH would be used to provide that custom data to the layout
  • 22:45:53 <Denyerec> So hypothetically, if I wanted to do this (I'm not gonna), where would I look for instruction on how to interact with the typo db
  • 22:46:12 <Denyerec> Cos I'm just going out on a limb and thining msql_query() is strictly verboten ;)
  • 22:47:27 <danilobuerger> i dont think i should tell you ;-)
  • 22:47:51 <danilobuerger> seriously you will waste a lot of time ..
  • 22:47:53 <danilobuerger> are you sure?
  • 22:49:44 <Denyerec> yeah, go for it.
  • 22:49:50 <Denyerec> I won't blame you.
  • 22:49:57 <Denyerec> (Seirously, I'mnot going to write it, but I AM curious)
  • 22:53:05 <danilobuerger> alright, if you want something from the database and you dont have a repository (like the case of tt_address) take a look at fluidcontent ConfigurationService getAllRootTypoScriptTemplates ... this shows you best practice how its done
  • 22:53:27 <Denyerec> OK.
  • 22:53:46 <danilobuerger> and now listen to your common sense ;)
  • 22:56:26 <Denyerec> Sometimes I think you don't trust me... ;D
  • 22:56:44 <danilobuerger> well i have been where you are now, and i didnt listen
  • 22:59:32 <danilobuerger> and its a world of pain out there... dont leave the trail if you want to get things done
  • 22:59:50 <Denyerec> ok
  • 22:59:55 <Denyerec> I'm building the content element now.
  • 22:59:59 <Denyerec> I've got it showing up in the FCE list
  • 23:00:01 <danilobuerger> lol
  • 23:00:06 <danilobuerger> i tohught so ;)
  • 23:00:23 <danilobuerger> or are you doing it the easy way i suggested?
  • 23:01:26 <Denyerec> I'm going to make an address FCE
  • 23:01:33 <Denyerec> then render them into the footer partial
  • 23:01:57 <danilobuerger> crazy you ;-)
  • 23:02:45 <Denyerec> I thought this WAS the easy way
  • 23:02:50 <Denyerec> Other than just hardcoding it?
  • 23:02:51 <Denyerec> :P
  • 23:03:22 <danilobuerger> ah so just a FCE with a link to google maps then?
  • 23:03:59 <Denyerec> Well, the footer addresses are present on every page of the site
  • 23:04:07 <Denyerec> the maps are only visible on the contact page.
  • 23:04:29 <danilobuerger> ah
  • 23:04:33 <Denyerec> But I thought I could import the address record into that partial, and just use the gmaps field anyway.
  • 23:05:05 <Denyerec> Worst case scenario the gmaps extension will require 3 of its own address records.
  • 23:05:10 <Denyerec> Makes me itchy, but it gets the job done.
  • 23:05:15 <Denyerec> And it's not like they move office every week
  • 23:05:16 <Denyerec> :)
  • 23:05:36 <danilobuerger> exactly
  • 23:09:00 <Denyerec> does "wizardTab" place it on the tab when you create a new FCE
  • 23:09:10 <Denyerec> or place your form on a particular tab inside the editing view
  • 23:10:01 <danilobuerger> wizardTab in your content template is the name of the tab in the wizard
  • 23:11:40 <Denyerec> Ok well I'm cool with it under "FCE"
  • 23:11:55 <Denyerec> when I create the new elements tho the options are just stuck in a tab called "options" at the bottom of the "general" section
  • 23:12:12 <Denyerec> I think I need a sheet
  • 23:15:22 <Denyerec> I see down the bottom of "general" a blank tab now, under the section "plugin options"
  • 23:15:26 <Denyerec> I tried this:
  • 23:15:34 <Denyerec> <trans-unit id="flux.addressblockfce.addressdata">
  • 23:15:35 <Denyerec> and
  • 23:15:39 <Denyerec> <trans-unit id="flux.addressblockfce.sheet.addressdata">
  • 23:15:50 <Denyerec> But neither got picked up as a tab label automatically
  • 23:16:12 <Denyerec> ack
  • 23:16:13 <Denyerec> .sheets
  • 23:16:17 <Denyerec> I was so close!
  • 23:17:04 <danilobuerger> ;-)
  • 23:19:09 <Denyerec> Ack
  • 23:19:11 <Denyerec> no it's not picking it
  • 23:19:17 <Denyerec> Let me empty typo3temp :D
  • 23:20:58 <Denyerec> https://gist.github.com/Denyerec/834cb2204a493622a7d2
  • 23:21:01 <Denyerec> danilobuerger - there's a gist
  • 23:21:10 <Denyerec> I've checked the docs and I think I've set the labels up right
  • 23:22:01 <danilobuerger> flux.sheets.addressblockfce.addressdata
  • 23:22:02 <danilobuerger> no
  • 23:22:10 <danilobuerger> flux.addressblockfce.sheets.addressdata
  • 23:22:21 <Outdoorsman> randomresults I just got this flux error... The template group "bootstraptheme" has been configured to use the templateRootPath "EXT:bootstraptheme/Resources/Private/Templates/Page/" but this directory does not exist.
  • 23:22:38 <Denyerec> danilobuerger : document says this:
  • 23:22:40 <Denyerec> Tries to detect an LLL label named "flux.sheets.fluxFormId.foobar" based on sheet name
  • 23:23:38 <Denyerec> Neither actually gets me a label on my tab, mind you.
  • 23:25:29 <danilobuerger> which document?
  • 23:25:53 <Denyerec> http://fluidtypo3.org/viewhelpers/flux/master/Flexform/SheetViewHelper.html
  • 23:26:00 <Denyerec> <- being a good boy and using the docs first.
  • 23:27:10 <danilobuerger> documentation is wrong :)
  • 23:30:54 <danilobuerger> Denyerec now the documentation is correct ;-)
  • 23:31:01 <Denyerec> hehe
  • 23:31:07 <Denyerec> Vindication!
  • 23:35:00 <danilobuerger> so got it to work?
  • 23:38:20 <Denyerec> yeah
  • 23:38:23 <Denyerec> Naughty docs...
  • 23:38:24 <Denyerec> ;)
  • 23:38:58 <BenjaminR> Yap - no one wants to write them - everyone asks for them :)
  • 23:39:10 <Denyerec> Hahaha yeah
  • 23:39:17 <Denyerec> Documentation : The worst part of programming
  • 23:39:29 <Denyerec> The damn thing is you can't outsource it, as the person who writes it needs to understand it!
  • 23:39:41 <danilobuerger> well but thats just it, everybody is asking and getting help, but not many are actually giving back
  • 23:39:46 <Denyerec> I'd be about as useful as a back pocket on a shirt writing Flux docs, as much as I'd like to help.
  • 23:39:52 <Denyerec> I may as well just sit here clapping... :)
  • 23:41:25 <danilobuerger> i bet you could document the LLL features by now ;)
  • 23:41:35 <Denyerec> Well, I do have my blog.
  • 23:41:39 <Denyerec> Not that I have an audience
  • 23:41:40 <Denyerec> BUT
  • 23:41:49 <Denyerec> I do post problem-solutions to it from time to time
  • 23:41:51 <Denyerec> as you can see:
  • 23:41:54 <Denyerec> www.denyerec.co.uk
  • 23:42:10 <danilobuerger> or you can directly edit this -> http://fluidtypo3.org/documentation/templating-manual/introduction.html
  • 23:42:12 <BenjaminR> on fluidtypo3.org your docs would have a big audience :)
  • 23:42:12 * Denyerec blows off the dust
  • 23:42:34 <danilobuerger> TYPO3 FED <-- thats a name i havent heard in a long time
  • 23:42:48 <Denyerec> Hehe yeah
  • 23:42:51 <Denyerec> I didn't blog last year
  • 23:42:52 <danilobuerger> get indiana jones on your blog
  • 23:42:58 <Denyerec> I was working at an agency and horrendously depressed
  • 23:43:05 <Denyerec> It was hard enough getting out of bed, let alone blogging :/
  • 23:43:17 <Denyerec> Dark days, gladly behind me.
  • 23:43:28 <danilobuerger> and now? new agency or freelancer?
  • 23:43:34 <Denyerec> Freelancer.
  • 23:43:43 <danilobuerger> everybody is these days
  • 23:43:46 <Denyerec> Making more photos than code at the moment
  • 23:43:51 <danilobuerger> BenjaminR / NamelessCoder / cedricziel are too
  • 23:43:56 <Denyerec> There are no good agencies in my town.
  • 23:44:12 <Denyerec> So it's down to me to start the UK's first Typo3 agency if I want to work at an office ;)
  • 23:45:07 <BenjaminR> Sounds good Denyerec :)
  • 23:45:10 <danilobuerger> i hope you make it
  • 23:45:41 <Denyerec> :)
  • 23:45:49 <Denyerec> If not, there's always taking photos of poledancers as a backup.
  • 23:45:51 <Denyerec> http://500px.com/Denyerec
  • 23:46:25 <danilobuerger> nice
  • 23:46:44 <BenjaminR> Anyway its a pretty good idea to teach yourself Extbase/FLuid now
  • 23:46:56 <BenjaminR> If i remember right that you are new to it :X
  • 23:47:00 <BenjaminR> Sorry if now
  • 23:47:01 <BenjaminR> not
  • 23:47:01 <Denyerec> My thoughts were regarding the Extbase -> flow -> neos path
  • 23:47:07 <Denyerec> Oh, virgin-mary new :D
  • 23:47:32 <danilobuerger> forget neos
  • 23:47:34 <danilobuerger> ;-)
  • 23:48:17 <Denyerec> But it looks so shiney!
  • 23:48:34 <danilobuerger> and it has no features at all ;)
  • 23:48:38 <BenjaminR> Shiny...
  • 23:48:38 <Denyerec> <f:if condition="address1">
  • 23:48:38 <Denyerec> {address1}<br />
  • 23:48:38 <Denyerec> </f:if>
  • 23:48:43 <danilobuerger> no
  • 23:48:46 <Denyerec> is there a more elegant way to write that ?
  • 23:48:51 <danilobuerger> <f:if condition="{address1}">
  • 23:48:55 <Denyerec> ah
  • 23:49:05 <Denyerec> Should my fields be called settings.address1
  • 23:49:06 <Denyerec> ?
  • 23:49:09 <danilobuerger> yes
  • 23:49:11 <Denyerec> Or was that just for TS linkage
  • 23:49:13 <danilobuerger> dont ask why ;)
  • 23:49:14 <BenjaminR> {address1 -> f:then()}
  • 23:49:36 <Denyerec> can that be any literal BenjaminR ?
  • 23:49:49 <Denyerec> { this is my markup, there is other markup but this one is mine -> f:then() }
  • 23:50:03 <Denyerec> I'm still unfamiliar with the syntaxtical quirks
  • 23:50:11 <BenjaminR> {address1 -> v:format.append(add: '<br>') -> f:if(condition: address1)}
  • 23:50:37 <danilobuerger> i personally wouldnt do it like that
  • 23:50:42 <Denyerec> I think in this isstance the tag format is more clear
  • 23:50:46 <Denyerec> but it's nice to know it can be done.
  • 23:50:51 <danilobuerger> <f:if condition="{address1}">{address1}<br></f:if> is cleanr imo
  • 23:51:22 <BenjaminR> :(
  • 23:51:47 <danilobuerger> not to discourage you BenjaminR every style that works is good to use... some prefer this others that
  • 23:52:07 <Denyerec> However for things like insering classnames
  • 23:52:17 <Denyerec> <ul class="nav nav-{mode}s {f:if(condition: stackable, then: 'nav-stacked')} {position}">
  • 23:52:20 <Denyerec> Is much neater
  • 23:52:27 <Denyerec> Personally I think it's fantastic there's the choice
  • 23:52:35 <BenjaminR> yap inside a tag vh - inline vh is prefered here too
  • 23:52:44 <BenjaminR> as an argument
  • 23:53:05 <Denyerec> danilobuerger, so I am to name all my fields name="settings.myName"
  • 23:53:17 <Denyerec> and all the vars in the template {settings.myName} ?
  • 23:53:29 <Denyerec> None of the bootstrap stuff is like that, which is why I ask.
  • 23:53:33 <BenjaminR> or here fx: https://gist.github.com/benjaminrau/9896177
  • 23:53:53 <danilobuerger> you should do that for every form field you are using... its just convention
  • 23:54:03 <danilobuerger> bootstrap packages arent ours, so i cant comment
  • 23:54:05 <Denyerec> so *always* settings.
  • 23:54:17 <danilobuerger> if you want the in depth explanation ask NamelessCoder ;)
  • 23:54:26 <Denyerec> Does that mean they need to be settings.blah in the LLL file too ?
  • 23:54:32 <danilobuerger> yes
  • 23:54:43 <Denyerec> Christ
  • 23:54:45 <Denyerec> that's a bit odd.
  • 23:54:52 <Denyerec> I tink Claus tried to explain it
  • 23:55:03 <Denyerec> smt about only one class group being exposed to the parser or something
  • 23:55:09 <Denyerec> but it doesn't half make the place look messy
  • 23:55:23 <Denyerec> I presume in-scope variables can be set and referenced without the settings. ?
  • 23:55:41 <danilobuerger> yes