IRC logs

20140530

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

IRC log range: 20140530*

20140530

  • 00:17:45 <xaver> i have an new idea for an extension
  • 00:18:04 <xaver> a backend support form for customers
  • 00:18:30 <xaver> with analyze and a bull shit core :)
  • 00:48:19 <xaver> nicely closed cedricziel ;)
  • 02:18:01 <xaver> github is ~~~
  • 02:19:58 <xaver> i will try the cli later - it should be easier and do what i expect
  • 09:15:16 <ad_on_is> @bjo3rn i read your suggested link: https://github.com/FluidTYPO3/vhs/pull/579
  • 09:15:34 <ad_on_is> that's exactly my problem. is there a slution for this now?
  • 09:16:19 <bjo3rn> ad_on_is I didn't know there was f:switch and that one breaks the same as v:switch
  • 09:16:43 <bjo3rn> v:switch should behave exactly the same as f:switch as it's about to be dropped
  • 09:16:58 <bjo3rn> so I don't know if my patch gets accepted
  • 09:17:10 <bjo3rn> maybe I should propose it for f:switch
  • 09:17:28 <ad_on_is> aaah ok
  • 09:17:54 <cedricziel> bon jour, monsieurs!
  • 09:18:31 <bjo3rn> bonjour le ced
  • 09:18:37 <ad_on_is> so i need to explicitly check the value for null in my controller and set it to something else
  • 09:18:50 <bjo3rn> that would fix it, yes
  • 09:19:16 <bjo3rn> but IMHO NULL should be allowed
  • 09:19:21 <bjo3rn> or possible
  • 09:20:16 <bjo3rn> one might argue on the other hand why assigning a NULL value to the variable container obviously doesn't work
  • 09:22:18 <ad_on_is> i absolutely agree with you...
  • 09:22:34 <ad_on_is> somehow i can't find any documentation about f:switch
  • 09:23:01 <bjo3rn> me neither. it's documented in the class' docblock
  • 09:24:00 <bjo3rn> ah, f:switch doesn't support 'break' as it seems. v:switch does
  • 09:24:35 <ad_on_is> eeexactly, that's what i'm trying to find out now...
  • 09:25:04 <ad_on_is> i would suggest not to deprecate v:switch
  • 09:25:27 <ad_on_is> since there's more control over the view-helper... and it behaves exactly as one would expect
  • 09:28:16 <bjo3rn> I added another comment
  • 09:31:34 <randomresult> moin
  • 09:34:49 <jlumpe> yay
  • 09:34:51 <jlumpe> macbook installing =)
  • 09:34:55 <jlumpe> sup randomresult?
  • 09:35:03 <jlumpe> made a backup yet? :D
  • 09:35:11 <randomresult> ?
  • 09:35:25 <jlumpe> just messing with you ;)
  • 09:35:35 <randomresult> ?
  • 09:35:41 <randomresult> o_O
  • 09:35:42 <jlumpe> you had a backup issue recently?
  • 09:35:49 <randomresult> me?
  • 09:35:51 <jlumpe> yep
  • 09:35:54 <jlumpe> trying to update flux
  • 09:35:55 <jlumpe> :D
  • 09:36:00 <jlumpe> or fluidcontent
  • 09:36:07 <randomresult> dont remember nothing
  • 09:36:09 <jlumpe> lol
  • 09:36:12 <jlumpe> oookay :D
  • 09:36:20 <jlumpe> nevermind then ;)
  • 09:36:24 <randomresult> went hiking yesterday. its like format c:
  • 09:36:32 <jlumpe> lol
  • 09:36:33 <randomresult> no more pain
  • 09:45:28 <cedricziel> wait a few hours, it'll come back
  • 09:47:00 <Denyerec> lol
  • 09:47:13 <Denyerec> Is there a "choose a content element to go here" field helper in flux?
  • 09:47:35 <Denyerec> I want the client to be able to pick a content record from a particular page
  • 09:47:46 <Denyerec> But ideally it will be content elements of only 1 specific type
  • 09:50:04 <Denyerec> Relation, Inline and Custom are possible candidates
  • 09:50:10 <Denyerec> But there is no documentation on what any of them do
  • 09:50:15 <Denyerec> Just explaination of their parameters
  • 09:50:22 <cedricziel> inline creates new ce's
  • 09:50:35 <cedricziel> (or better: records)
  • 09:50:42 <Denyerec> Mm, no, these already exist, so I don't need that.
  • 09:51:16 <Denyerec> basically they have a load of testimonials
  • 09:51:27 <Denyerec> which are contained within a custom "testimonial" content element.
  • 09:51:35 <Denyerec> And they want to have testimonials appear on certain paiges
  • 09:51:49 <Denyerec> So I figure, page property -> choose a testimonial from the testimonials page -> done
  • 09:51:57 <Denyerec> It's the middle bit I don' tknow how to achieve :)
  • 09:59:25 <cedricziel> go for relation then
  • 09:59:40 <Denyerec> Know of anywhere that an example use of that exists
  • 09:59:47 <Denyerec> Perhaps one of the bootstrap extensions or such ?
  • 10:00:36 <cedricziel> https://www.google.de/search?q=%3Cflux%3Afield.relaion&oq=%3Cflux%3Afield.relaion&aqs=chrome..69i57.4289j0j7&sourceid=chrome&es_sm=122&ie=UTF-8#q=%22%3Cflux:field.relation%22&safe=off
  • 10:00:47 <cedricziel> there's a So thread poppin up
  • 10:01:04 <Denyerec> I see
  • 10:01:19 <Denyerec> I was trying this "typo3 flux select record to include"
  • 10:01:24 <Denyerec> Seems my GoogleFu needs work
  • 10:02:22 <cedricziel> i recommend using quoted code search
  • 10:03:00 <Denyerec> Yeah it's a nifty trick.
  • 10:03:09 <Denyerec> BRB - rebooting before I fire up the VMs
  • 10:04:51 * xaver cry
  • 10:06:08 <bjo3rn> xaver sup?
  • 10:06:48 <xaver> we have a project with git and for a relaunch somebody crated a copy and all the bugfixes in last six months are missing
  • 10:08:00 <xaver> that are the same people who create a folder_ as backup in git -_-
  • 10:18:08 <Denyerec> No-one can escape.... Windows Update!
  • 10:18:09 <FT3BOT> Welcome back Denyerec!
  • 10:18:21 <Denyerec> Its two main weapons: Fear and surprise!
  • 10:21:52 <xaver> only necessary windows upgrade is to another operating system :)
  • 10:22:08 <Denyerec> That's what the VM is for ;)
  • 10:22:42 <ad_on_is> @bjo3rn found documentation about f:swith here: http://docs.typo3.org/flow/TYPO3FlowDocumentation/stable/TheDefinitiveGuide/PartV/FluidViewHelperReference.html
  • 10:22:52 <ad_on_is> supports default with f:defaultCase
  • 10:25:52 <ad_on_is> oh.. sorry... "break" was the missing feature... i'm too tired today :D
  • 10:27:07 <bjo3rn> ad_on_is father's day hangover? ^^
  • 10:29:36 <ad_on_is> working on bridge days is a bad idea :D
  • 10:29:48 <bjo3rn> ah, 'bridge day'. you are German ^^
  • 10:31:24 <Denyerec> Bridge day ?
  • 10:31:27 * Denyerec is not german
  • 10:31:48 <bjo3rn> this is one thing that only exists in Germany I guess
  • 10:32:02 <bjo3rn> one single day between a holiday and the weekend
  • 10:32:33 <xaver> Denyerec: national holiday on Thursday or Tuesday and Monday or Friday is the bridge day
  • 10:32:43 <Denyerec> Ahhh
  • 10:32:49 <Denyerec> I suppose many take that off as annual leave too ?
  • 10:33:07 <Denyerec> In the UK they take pains to make sure all national holidays are Mondays or Fridays.
  • 10:33:17 <Denyerec> And in which case, many people take Tuesday or Thursday as leave ;)
  • 10:34:14 <xaver> yeah
  • 10:34:44 <ad_on_is> yes..
  • 10:34:48 <bjo3rn> there's an upside to working on bridge days: you get to do stuff as no client calls. in theroy.
  • 10:34:50 <ad_on_is> that really exists only in german :D
  • 10:35:30 <ad_on_is> but ther's also the downside :D
  • 10:36:02 <ad_on_is> you absolutely don't feel like doing anything :P
  • 10:38:13 <xaver> ad_on_is: its often nice you can do a lot of stuff and you take your holidays another time. A holiday is ~8h work (depends on your contract) and the efect is always the same :)
  • 10:38:48 <Denyerec> How do you set a width on a flux:grid.column ?
  • 10:40:24 <cedricziel> there's a style attribute for that
  • 10:42:48 <xaver> yesterday i tried to use github, but i failed like always. I will try today hub cli to create a pullrequest :)
  • 10:43:21 <ad_on_is> thats true, but on the other hand, you get 4 free days in a row, at the cost of only one holiday
  • 10:43:35 <cedricziel> oh xaver, i feel your pain re git
  • 10:44:13 <xaver> always if i use the ui from github - i fail :)
  • 10:44:19 <cedricziel> people copying stuff without knowing what thery're doing :/
  • 10:44:20 <xaver> maybe the cli is better
  • 10:44:26 <cedricziel> but...
  • 10:44:34 <cedricziel> why dont you have stuff on a remote?
  • 10:45:10 <xaver> i have, but i wanted to crate the pullrequest (> 2 o'clock) with github ^^
  • 10:45:30 <cedricziel> nah, the project you mentioned
  • 10:46:36 <Denyerec> Oh lol
  • 10:46:38 <Denyerec> the github UI
  • 10:46:46 <Denyerec> The only GUI I've ever seen that's more confusing than the commandline.
  • 10:47:01 <Denyerec> Two wrong clicks, and you're in the patchfile for some random guy's submission to a completely different project.
  • 10:47:08 <xaver> people who copyed known what there are doing. BUt people using git and work on the project failed -_-
  • 10:47:24 <xaver> cedricziel: do you use https://www.archlinux.org/packages/community/any/hub/
  • 10:47:35 <cedricziel> as long as its not your fault-all good
  • 10:48:22 <xaver> i wasn't involved :) until now. Somebody asked my why its on live web works in chrome and dev fails -_-
  • 10:49:11 <Denyerec> <flux:grid.column colPos="1" name="Sidebar Content" style="width:33%;" /> ?
  • 10:49:23 <Denyerec> Doesn't seem to impart a width... I just see 50% in the BE as usual.
  • 10:52:42 <cedricziel> oh btw, taking the git complexity into account-the github ui is genius!
  • 10:52:57 <cedricziel> Denyerec: there was a fix lately
  • 10:53:29 <Denyerec> True cedricziel, though I still feel there are a few bits of mystery-meat that could be better handled.
  • 10:53:37 <Denyerec> Took me ages to find the repo's I'd starred!
  • 10:53:49 <Denyerec> cedricziel - I am running the Git versions of the extensions.
  • 10:53:55 <Denyerec> Should I remove them and switch to TER ?
  • 10:54:05 <xaver> i like bitbucket more :)
  • 10:54:05 <Denyerec> Or just upgrade all extensions to latest develop?
  • 10:54:50 <ad_on_is> can I style a <flux:field.*> somehow?
  • 10:56:04 <ad_on_is> need an optical difference for two <flux:field.relation> fields for more editor-friendlyness
  • 11:01:12 <Denyerec> style attribute ?
  • 11:01:17 <Denyerec> that probably needs an extension update.
  • 11:01:21 * Denyerec prods cedricziel
  • 11:02:06 <Denyerec> After I update:
  • 11:02:07 <Denyerec> The argument "inherit" was registered with type "boolean", but is of type "integer" in view helper "FluidTYPO3\Flux\ViewHelpers\Field\InputViewHelper". (1240227732)
  • 11:05:00 <bjo3rn> Denyerec: that was me :S
  • 11:05:09 <Denyerec> *grrrmble*
  • 11:05:11 <Denyerec> :)
  • 11:05:12 <bjo3rn> hehe
  • 11:05:16 <Denyerec> I was on the 7.0.0 tag on Flux.
  • 11:05:24 <Denyerec> Where can I update to that isn't broken?
  • 11:05:29 <bjo3rn> yeah. swap 0 with FALSE or 1 with TRUE.
  • 11:05:39 <bjo3rn> it's not a bug it's a feature.
  • 11:05:42 <bjo3rn> ^^
  • 11:05:46 <Denyerec> You know
  • 11:05:50 <Denyerec> I was using TRUE and FALSE
  • 11:05:55 <Denyerec> then I saw loads of examples using 1 and 0
  • 11:05:58 <Denyerec> and started doin that
  • 11:06:00 <Denyerec> :(
  • 11:06:09 <Denyerec> Any idea how I *find* the offending item?
  • 11:06:18 <Denyerec> I don't think I've used inherit in any of my templates.
  • 11:06:34 <bjo3rn> well, in this particular case integer was intended in the beginning.
  • 11:06:50 <Denyerec> should I update fluidpage, fluidcontent and vhs to latest development head ?
  • 11:07:03 <bjo3rn> I think so, yes
  • 11:07:34 <bjo3rn> but somewhere you must have used inherit="0"
  • 11:08:05 <Denyerec> uhg
  • 11:08:13 <Denyerec> When I pull development on fluidcontnt I get a load of merge conflicts.
  • 11:08:19 <bjo3rn> yeah
  • 11:08:29 <bjo3rn> it has been force pushed
  • 11:08:42 <Denyerec> So how do I force checkout ?
  • 11:08:47 <bjo3rn> you need to rewind quite some commits and then pull --rebase
  • 11:09:10 <bjo3rn> (strike the --rebase)
  • 11:09:12 <xaver> force push is evil ;)
  • 11:09:29 <Denyerec> So hang on
  • 11:09:31 <bjo3rn> it was the only way out here
  • 11:09:34 * xaver did a force push last time yesterday
  • 11:09:35 <Denyerec> I need to check out my development branch
  • 11:09:48 <Denyerec> Then rewind it ?
  • 11:10:06 <bjo3rn> 'my development branch' means your fork?
  • 11:10:24 <bjo3rn> or did you clone it directly from ft3
  • 11:10:34 <Denyerec> I have a local branch called "development" that was a checkout of origin/development at 782a84b
  • 11:10:53 <Denyerec> I've forked nothing intentionally.
  • 11:11:32 <bjo3rn> ok, sec
  • 11:11:51 <Denyerec> uits ok
  • 11:11:56 <Denyerec> I just did git reset --hard origin/development
  • 11:12:09 <Denyerec> As I have no local files or changes to preserve
  • 11:12:22 <Denyerec> ROFL
  • 11:12:27 <Denyerec> http://imgur.com/L9kLCTS
  • 11:13:09 <bjo3rn> nice one
  • 11:13:16 <xaver> http://thecodinglove.com/post/87184273410/when-the-nasty-ticket-i-created-is-reassigned-to-me
  • 11:13:24 <bjo3rn> "Anyone else wondering how he fit a freaking teddy bear into the little balloon opening?" lol
  • 11:13:35 <xaver> or http://thecodinglove.com/post/87094581962/when-caffeine-is-no-longer-effective
  • 11:15:09 <bjo3rn> Denyerec thinking about it 0 and 1 should be fine. it's got to be some value higher than 1.
  • 11:16:14 <Denyerec> How do I find it ?
  • 11:16:19 <Denyerec> And is it going to be in fluidontent/pages ?
  • 11:16:28 <Denyerec> as I searched my code for "inherit" and drew a blank
  • 11:16:29 <bjo3rn> the original default was 99.
  • 11:16:38 <bjo3rn> no, only custom code
  • 11:17:44 <bjo3rn> the commit in question is d340a98
  • 11:18:41 <Denyerec> I don't use the inherit= anywhere in my code.
  • 11:18:45 <Denyerec> So... what next? :/
  • 11:18:52 <Denyerec> Maybe I need to wipe typo3temp again
  • 11:19:01 <bjo3rn> .oO
  • 11:19:28 <Denyerec> There we go
  • 11:19:28 <Denyerec> :)
  • 11:19:48 <bjo3rn> typo3temp again?
  • 11:19:54 <Denyerec> width param still isn't honoured tho.
  • 11:19:58 <Denyerec> Yeah wiped typo3temp
  • 11:20:02 <Denyerec> Now it's OK
  • 11:20:03 <bjo3rn> phew
  • 11:20:12 <xaver> Denyerec: my style width works in elements (rows)
  • 11:20:28 <Denyerec> <flux:grid.column colPos="0" rowspan="2" name="Main Content" style="width: 67%;" />
  • 11:20:37 <bjo3rn> for grids I always use col-/rowspan
  • 11:20:45 <Denyerec> I didn't see a style attribute in rows
  • 11:20:47 <Denyerec> In the docs
  • 11:20:57 <bjo3rn> style never worked for me
  • 11:21:07 <Denyerec> https://gist.github.com/Denyerec/9b111bb77b908d120a9c
  • 11:21:12 <xaver> bjo3rn: even for bootstrap container?
  • 11:21:12 <Denyerec> cedricziel claimed it had been fixed
  • 11:21:20 <Denyerec> That's my grid at the mo
  • 11:21:23 <cedricziel> somehow my highlighting is broken up here
  • 11:21:27 <bjo3rn> I don't use bootstrap
  • 11:21:27 <Denyerec> you suggest I just make up some colspans ?
  • 11:21:32 <bjo3rn> yep
  • 11:22:02 <Denyerec> I need the first column to have two rows in, though
  • 11:22:05 <xaver> Denyerec: http://nopaste.chaoz-irc.net/view/964b36f2
  • 11:22:07 <Denyerec> so I've already shot myself in the foot.
  • 11:23:36 <Denyerec> You see my code.
  • 11:23:40 <Denyerec> (In the gist)
  • 11:23:51 <cedricziel> Commander Worf: Delete all the irc logs for Quassel to get highlighing back. - Confirmed. Rebooting Enterprise.
  • 11:24:03 <Denyerec> I thought the only way to get things to stack was to rowspan them ?
  • 11:24:17 <bjo3rn> Denyerec I added a comment (untested)
  • 11:24:25 <Denyerec> And you can see my style="width: 33%" which does nothing :/
  • 11:24:44 <bjo3rn> Denyerec please try my code
  • 11:25:05 <bjo3rn> I'm not sure if it works bc of the rowspan though
  • 11:25:47 <bjo3rn> xaver in the bootstrap packages it works alright afaik. no idea why it doesn't without.
  • 11:25:55 <Denyerec> Yep!
  • 11:25:58 <Denyerec> Goofy, but it works.
  • 11:26:18 <bjo3rn> nah, that's ye olde table layout. right, randomresult_afk?
  • 11:26:54 <cedricziel> test test *crk crk*
  • 11:26:59 <xaver> bjo3rn: i dont' use the bootstrap package anymore and i need sm and md and lg col and visibility
  • 11:27:01 <bjo3rn> incoming cedricziel
  • 11:27:28 <bjo3rn> cedricziel pokes on the mic
  • 11:27:34 <cedricziel> gnarf. i'll be back!
  • 11:27:47 <bjo3rn> cedricziel blows into the mic
  • 11:28:16 <Denyerec> You shouldn't have redlined the mic bjo3rn
  • 11:28:20 <Denyerec> You've overloaded it
  • 11:28:25 <Denyerec> ;)
  • 11:28:28 * bjo3rn covers ears bc of acoustic feedback
  • 11:28:40 <bjo3rn> ^^
  • 11:28:57 <xaver> complete template http://nopaste.chaoz-irc.net/view/60d56a24
  • 11:29:12 <cedricziel> aaaaaahhhh, highlighting
  • 11:29:13 <bjo3rn> holy template xaver
  • 11:29:16 * cedricziel steps up to the mic
  • 11:29:18 <cedricziel> "Test, Test"
  • 11:29:24 <bjo3rn> cedricziel drops the mic
  • 11:29:40 <cedricziel> damn beautiful-it's bugging me again :)
  • 11:30:11 <cedricziel> deleted a 150megs log.sqlite and restarted znc
  • 11:30:22 <xaver> this is nothing bjo3rn - we had a desgin with row groups like buttons and responsive
  • 11:30:26 <xaver> -_-
  • 11:30:50 <cedricziel> if only there was something like version control :/
  • 11:31:01 <cedricziel> :D
  • 11:31:06 <cedricziel> shame on me... SCNR
  • 11:32:00 <cedricziel> xaver if you still have the flexform data, you could examine that to reconstruct the ces
  • 11:32:25 <xaver> ?
  • 11:32:52 <cedricziel> dont know, i thought you were still talking about the lost data
  • 11:33:02 <bjo3rn> lol
  • 11:33:19 <xaver> i ahev no lost data or?
  • 11:33:37 <cedricziel> then forget it asap
  • 11:33:44 <xaver> if you mean git - not my problem :) i won't merge it
  • 11:33:55 <cedricziel> oh telekom, y u screaming at me? "HERR ZIEL, IHRE NEUE AUSGABE DER TELEKOM_LIFE IST DA!"
  • 11:33:58 <bjo3rn> or cedricziel will make you lose some. harr harr.
  • 11:34:12 <cedricziel> rofl :)
  • 11:34:31 <cedricziel> I'm extending tx_news atm-no pun.
  • 11:34:48 * bjo3rn envies cedricziel for already having the new issue of TELEKOM_LIFE
  • 11:34:53 <bjo3rn> ^^
  • 11:35:32 <xaver> what should i do if i have over 100 conditions im TS object browser + stuf like ifempty required and stuff won't work
  • 11:36:20 <cedricziel> drop it like it's hot?
  • 11:36:23 <bjo3rn> kill yourself
  • 11:36:43 <xaver> main menu over 500 Lines TS
  • 11:36:51 <bjo3rn> become a lumberjack in alaska
  • 11:37:15 <xaver> i say always i will be a "bio bauer in den bergen"
  • 11:37:41 <bjo3rn> similar, yes ;)
  • 11:38:42 <cedricziel> cool as well :)
  • 11:38:53 <xaver> i think this is a TS + TV issue -> if i touch TV i always break the site
  • 11:39:02 <cedricziel> one of the reason i dont think the ts aproach could be... better
  • 11:40:16 <cedricziel> s/dont//
  • 11:40:55 <Denyerec> Will the field.relation aways render a select box?
  • 11:41:02 <Denyerec> I could really use a record selector wizard
  • 11:41:35 * xaver thinks the azubi got an new task ]:-)
  • 11:42:41 <Denyerec> Trying to get field.relation to allow the user to pick a content element from a particular page.
  • 11:42:44 <Denyerec> Totally stuck.
  • 11:45:34 <Denyerec> I'm assuming I set tabl="tt_content"
  • 11:45:41 <cedricziel> table, yes
  • 11:45:54 <Denyerec> Then if all the target records are on a particular page
  • 11:46:01 <Denyerec> I might be able to restrict it to one pid
  • 11:46:35 <cedricziel> how would i render a tca select box that has a where condition returning a pid from typoscript?
  • 11:49:26 <xaver> i need something to comedown -_-
  • 11:49:47 <bjo3rn> nerf gun at hand, xaver?
  • 11:50:21 <xaver> college is in holiday, hopefully eaten by a lion :)
  • 11:51:07 <xaver> everywhere id lists, where which menu appears, multiple copies .... If i fix 1 place, 3 others are broken
  • 11:52:01 <xaver> this is a really old project with a bit update and most previous developers are gone
  • 11:54:28 <Denyerec> What should the "condition" field look like ?
  • 11:54:39 <Denyerec> I just have condition="pid=7" and it's thrown an error.
  • 11:55:01 <Denyerec> <flux:field.relation name="settings.testimonial" table="tt_content" condition="pid=7"/>
  • 11:56:16 <Denyerec> Ah
  • 11:56:22 <cedricziel> what error's thrown?
  • 11:56:23 <Denyerec> AND tt_content.pid = 7
  • 11:56:31 <Denyerec> it was a mysql error
  • 11:56:37 <Denyerec> condition="AND tt_content.pid = 7" works
  • 11:56:52 <Denyerec> Now to get it to pull a different field
  • 11:57:11 <cedricziel> oh yes-the docs state something like "it's foreignTableWhere syntax"
  • 11:58:13 <Denyerec> Yeah that means nothing to me.
  • 12:00:21 <cedricziel> it's basically some ess to the qjuh to the ell
  • 12:00:34 <cedricziel> oh gosh, i need more coffee
  • 12:01:10 <Denyerec> You're gonna need it for the next one...
  • 12:01:19 <Denyerec> All the FCE content is trapped in flexforms.
  • 12:01:26 <Denyerec> I am guessing I have zero access to this.
  • 12:02:21 <Denyerec> This also creates a dropdown
  • 12:02:30 <Denyerec> I really need the "insert content elements from another page" mechanism
  • 12:03:21 <Denyerec> Im not going to be able to do this am I ?
  • 12:03:50 <cedricziel> ahh, found it: http://www.sitevertreiber.de/snippets/snippets-detailansicht/article/2010/februar/typo3-pagetsconfig-tca-marker-fuer-foreign-table-where-in-form-type-section.html
  • 12:03:54 * xaver will test and hopefully finsh the bamboo setup and adds some git flow validation and other stuff :)
  • 12:04:39 <cedricziel> Den, if in doubt: simple relation, then v:content.render with uid - i think bjo3rn did somthing like this laely
  • 12:04:53 <Denyerec> Yeah but none of my FCE's have titles
  • 12:04:55 <xaver> i found the issue and if i would tell it, you can't stop laughing :(
  • 12:05:04 <Denyerec> so I just have a select box with 55 [No Title] entries
  • 12:05:31 <Denyerec> I need to be able to display one of the flexform fields in the select box
  • 12:05:35 <Denyerec> which I suspect is impossible.
  • 12:06:16 <bjo3rn> Denyerec what about foreignLabel="title"?
  • 12:06:34 <Denyerec> The title fields on all my FCEs are blank.
  • 12:06:49 <Denyerec> (These FCEs anyway)
  • 12:07:00 <Denyerec> I need settings.testimonialName :)
  • 12:07:12 <bjo3rn> ah. that's not possible.
  • 12:07:16 <bjo3rn> yet.
  • 12:07:19 <Denyerec> hehe.
  • 12:07:32 <bjo3rn> I think it will be when flexforms are history.
  • 12:07:43 <Denyerec> I could force the customer to put titles on everrrrrything.
  • 12:07:46 <cedricziel> that's another problem :) you should always force yourself to add invisible headings
  • 12:07:52 <cedricziel> aye
  • 12:07:52 <Denyerec> They render out, tho :(
  • 12:07:59 <cedricziel> hmm?
  • 12:08:05 <Denyerec> They render as <h2>'s
  • 12:08:08 <cedricziel> nono, header type invisible
  • 12:08:22 <Denyerec> So there's loads of CE's where they've not put in a heading because they don't want it to display
  • 12:08:59 <Denyerec> Ah man, getting the editor to do that :/
  • 12:09:24 <Denyerec> I'll explain that to them.
  • 12:09:30 <Denyerec> And if they will co-operate, I'll do it.
  • 12:09:35 <bjo3rn> say: you're doing it wrong.
  • 12:09:38 <Denyerec> If not, I'll throw in a content area and they can paste references in,.
  • 12:09:39 <bjo3rn> ^^
  • 12:09:55 <Denyerec> how do you stop a content column from sliding ?
  • 12:10:14 <Denyerec> Oh
  • 12:10:17 <Denyerec> that's in the render call
  • 12:10:19 <Denyerec> ignore :)
  • 12:15:08 <randomresult> hi foks
  • 12:15:23 <randomresult> siteUrl is removed from vhs?
  • 12:15:34 <bjo3rn> ah, lost the l on your hiking tour yesterday?
  • 12:15:40 <bjo3rn> ^^
  • 12:16:27 <randomresult> lost more than that
  • 12:16:43 <cedricziel> can i set tsconfig from typoscript?
  • 12:17:11 <bjo3rn> but v:site.url() is alive and kicking
  • 12:17:22 <randomresult> not in my version of vhs
  • 12:18:00 <randomresult> https://github.com/FluidTYPO3/vhs/tree/development/Classes/ViewHelpers/Page
  • 12:18:03 <randomresult> not there...
  • 12:18:07 <randomresult> or is it?
  • 12:18:11 <bjo3rn> https://github.com/FluidTYPO3/vhs/blob/development/Classes/ViewHelpers/Site/UrlViewHelper.php
  • 12:19:03 <randomresult> i found that one too
  • 12:19:11 <randomresult> but here http://fluidtypo3.org/viewhelpers/vhs/development/Page/SiteUrlViewHelper.html
  • 12:19:16 <randomresult> this one does not work
  • 12:19:44 <bjo3rn> see the line " DEPRECATED! Use v:site.url instead!" ?
  • 12:20:12 <randomresult> lost something yesterday...
  • 12:20:33 <randomresult> ^^
  • 12:20:42 <bjo3rn> it shows, it shows ^^
  • 12:20:50 <bjo3rn> "no country for old men"
  • 12:29:26 <Denyerec> well, in other news
  • 12:29:34 <Denyerec> I just updated all extensions on a live site.
  • 12:29:36 <Denyerec> And nothing broke!!
  • 12:31:36 <cedricziel> that's my man!
  • 12:37:23 <Denyerec> :D
  • 12:37:32 <Denyerec> Who wrote the random content element picker viewhelper?
  • 12:37:35 <Denyerec> was it xaver ?
  • 12:38:35 <Denyerec> Just curious about how it interacts with the cache
  • 12:42:56 <xaver> Denyerec: i don't think so
  • 12:44:10 <xaver> i would use RAND() in sql?
  • 12:47:38 <xaver> if you have a array or something else with Content elements $myArray[0, rand(count(myArray)-1)]
  • 12:48:33 <xaver> (a syntax error free example coast something ;) )
  • 12:48:38 <xaver> -a
  • 12:50:16 <xaver> http://wurstball.de/196858/
  • 12:57:21 <cedricziel> wurstball
  • 12:58:02 <xaver> i ask something on Wednesday, but i think got no answer
  • 12:58:10 <xaver> Any fluid pased felogin solution?
  • 13:06:50 <xaver> cool Git 2.0 is out
  • 13:09:12 <soee> xaver: *based ?
  • 13:09:38 <xaver> based yes
  • 13:12:45 <soee> not that im aware of, anyway TER down https://typo3.org/extensions/repository/
  • 13:28:08 <bjo3rn> xaver: make one. I'd use yours.
  • 13:28:51 <xaver> felogin is really ~~
  • 13:37:18 <cedricziel> nope xaver
  • 13:37:22 <cedricziel> really nothing
  • 13:37:31 <cedricziel> i'd use yours as well
  • 13:37:34 <cedricziel> everybody would
  • 13:37:46 <cedricziel> that'd be close to healing cancer!
  • 13:41:43 <SuburbanWorrier> hi cedricziel. Just noticed this in my backend when viewing Extension Manager:
  • 13:41:45 <SuburbanWorrier> Table 'typo3_62.cf_extbase_datamapfactory_datamap' doesn't exist
  • 13:42:06 <SuburbanWorrier> THinking that might explain why my extension is broken on this installation?
  • 13:42:09 <xaver> yeah, the form is ~~ A lot of features and deep in core
  • 13:42:42 <cedricziel> SuburbanWorrier: i merged a fix for that 2/3 days ago
  • 13:43:02 <SuburbanWorrier> ok - how do i resolve it?
  • 13:43:28 <cedricziel> grab the latest git from flux
  • 13:43:39 <cedricziel> go to install tool and do a compare
  • 13:44:01 <SuburbanWorrier> yeah - just did that & nothing shows up
  • 13:52:51 <SuburbanWorrier> which branch should I get?
  • 13:57:07 <cedricziel> development
  • 13:57:41 <cedricziel> you could also check out a new branch from where you're at and cherrypick the single line commit
  • 13:58:51 <xaver> i need a gallery with a lot of description text and fields - should i create a EXT or use FAL
  • 14:08:18 <cedricziel> xaver if it's kind of standalone: create a new extension with a standalone model
  • 14:09:29 <xaver> images should be reused in page and provide the info's - that is fal for me
  • 14:11:44 <cedricziel> fal-fall
  • 14:11:46 <cedricziel> yes
  • 14:11:52 <cedricziel> but the surrounding thing responsible for listing and stuff should be a model with mm to fal
  • 16:01:57 <Denyerec> xaver
  • 16:02:03 <Denyerec> I'm going to be very interestted to know how you get on.
  • 16:02:04 <xaver> Denyerec:
  • 16:02:14 <Denyerec> As I currently run my site on wordpress
  • 16:02:18 <Denyerec> but... ugh.
  • 16:02:33 <Denyerec> Was going to recode www.denyer.pro so I could use it as a typo site instead.
  • 16:03:05 <jlumpe> Denyerec: did you do the design?
  • 16:03:09 <jlumpe> layout that is
  • 16:03:15 <jlumpe> or is it a commercial template?
  • 16:03:25 <Denyerec> Themeforest
  • 16:03:30 <jlumpe> ah
  • 16:03:32 <Denyerec> I didn't have the time to build one myself
  • 16:03:43 <Denyerec> Needed to get the site up pretty much overnight
  • 16:04:01 <jlumpe> so you basically do photography?
  • 16:06:50 <Denyerec> It's one thing that I do.
  • 16:06:57 <Denyerec> Bit of a hobby really
  • 16:07:22 <Denyerec> Electronics, retouching and web development are other things.
  • 16:07:26 <jlumpe> but your page's is only focussing on it
  • 16:07:30 <Denyerec> That page, yeah.
  • 16:07:37 <Denyerec> www.denyerec.co.uk is a little more diverse
  • 16:08:07 <Denyerec> (Not to mention older)
  • 16:08:50 <jlumpe> :D
  • 16:08:57 <Denyerec> My webdev business page is decrepit and in dire need of replacement, so I am not linking to that.
  • 16:10:16 <jlumpe> ah ok
  • 16:11:59 <Denyerec> :)
  • 16:12:09 <Denyerec> Need to completely rebuild it, but you know how it is...
  • 16:12:16 <Denyerec> Painters houses always need painting , etc.
  • 16:12:24 <jlumpe> haha yeah
  • 16:13:10 <xaver> Denyerec: what was your question
  • 16:14:20 <floxx> how do you guys handle ft3 in your projects? flux etc. as submodules? subtrees? using composer?
  • 16:18:38 <Denyerec> No querstiono xaver, just interested in how you get on.
  • 16:20:20 <xaver> i would start with never using wordpress ;)
  • 16:21:46 <cedricziel> floxx: depends on the target environment, budget etc
  • 16:22:49 <cedricziel> i usually do rsync deployments of typosconf and keep anything in vcs using my provider extension which depends on anything the environment needs
  • 16:23:03 <cedricziel> so it results in a one-klick install in a new env
  • 16:23:48 <xaver> Denyerec: next step, a good job for a intern to learn stuff and i don't need to touch wordpress.
  • 16:24:13 <Denyerec> xaver - normally I wouldn't either.
  • 16:24:21 <Denyerec> Though it IS a decent blog, I hate how people try and use it for CMS.
  • 16:24:28 <Denyerec> Two totally different beasts
  • 16:24:43 <xaver> you can crate a fluid tmpl really fast
  • 16:24:46 <Denyerec> But I am interested in a gallery solution for typo that's sensible.
  • 16:25:13 <Denyerec> Have you looked at YAG ?
  • 16:25:22 <xaver> depends on the size. You can provide json and use JS
  • 16:25:44 <xaver> YAG is powerful, but i never used it
  • 16:40:17 <cedricziel> the cache will bite you
  • 16:44:57 <xaver> cedricziel: via json or via yag?
  • 16:45:37 <xaver> json is always ajax possible, but i used it once and it worked greate
  • 16:45:41 <xaver> -e
  • 16:58:35 <cedricziel> nah, i mean the yag resolution cache
  • 16:58:56 <cedricziel> it needs to be generated manually and lives in typo3temp not fileadmin/_processed
  • 16:59:06 <cedricziel> which makes it hard to "safely" empty the cache
  • 16:59:44 <cedricziel> json is nice but the seo guys will climb your roof
  • 17:00:18 <Denyerec> ahaha
  • 17:00:31 <Denyerec> How does the content.random VH interact with the cache?
  • 17:00:41 <Denyerec> Will including it on a page essentially nuke any hope of caching?
  • 17:40:50 <xaver> its only images? save a array in js and display a image random
  • 17:41:01 <xaver> fluidcontent_core is really fast
  • 17:57:42 <cedricziel> it is impressive, yes
  • 18:14:41 <Outdoorsman> OK... it seems I need some education on how to use expandAll in VHS menu.
  • 18:16:51 <Outdoorsman> I am creating a side menu and only want the current menu item to expand.
  • 18:17:45 <Outdoorsman> I set expandAll="0"
  • 18:21:47 <Outdoorsman> But all submenu items are fully rendering and showing instead of just the one underneath the current menu item.
  • 18:21:59 <Outdoorsman> How can I fix this?
  • 18:22:16 <GRIMMCREATIVE> would do it with css
  • 18:22:23 <Outdoorsman> <v:page.menu entryLevel="{settings.entryLevel -> v:math.ceil() -> v:math.sum(b: 1)}" useShortcutData="1" expandAll="0">
  • 18:22:54 <Outdoorsman> True... hmmm I could do that.
  • 18:23:32 <Outdoorsman> So what is expandAll supposed to do?
  • 18:24:23 <Outdoorsman> By default it's set to 0 according to http://fluidtypo3.org/viewhelpers/vhs/master/Page/MenuViewHelper.html
  • 18:24:24 <xaver> expandAll Type: boolean, default value: false If TRUE and $levels > 1 then expands all (not just the active) menu items which have submenus
  • 18:32:18 <Outdoorsman> I just did a quick experiment and tried various iterations of level, expandAll, and settings.entryLevel. I don't see any change really.
  • 18:33:35 <xaver> cache?
  • 18:34:53 <cedricziel> Outdoorsman: you are rendering manually
  • 18:35:06 <cedricziel> how do you decide if you want to expand or not?
  • 18:35:06 <Outdoorsman> Yes
  • 18:35:24 <cedricziel> can you gist your menu template?
  • 18:35:28 <Outdoorsman> There is no condition in the manual rendering.
  • 18:35:44 <Outdoorsman> Oooops... is that why?
  • 18:36:03 <cedricziel> well, let me test it please
  • 18:36:15 <xaver> autorenderer vs manuel
  • 18:36:22 <cedricziel> i didnt experience this ever
  • 18:36:35 <cedricziel> so it'd be nice if you could pass me your template
  • 18:37:15 <Outdoorsman> I just thought it would intelligently read my mind :) (Please note that I'm still a newbie to this fluid stuff so you can assume user error is quite possible as well).
  • 18:38:01 <Outdoorsman> I'll gist it. I have to leave the office, but I'll check back again in about 2.5 hours when I get back.
  • 18:38:20 <cedricziel> kk
  • 18:40:02 <Outdoorsman> Here you go... https://gist.github.com/Outdoorsman/bfc07220b68eeabdfca2
  • 18:40:18 <Outdoorsman> Sorry I can't stick around... just have an appointment.
  • 18:42:51 <xaver> cu later
  • 18:47:41 <cedricziel> cya
  • 21:25:34 <Outdoorsman> Hi again cedricziel and xaver. I'm back again.
  • 21:26:09 <xaver> hi Outdoorsman
  • 21:26:16 <bjo3rn> n'abend
  • 21:26:39 <xaver> hi think expandAll has no effect if you don't use the autorenderer
  • 21:26:49 <Outdoorsman> I got the feeling that possibly since I am doing a manual rendering, I will have to create my own logic to not render all submenus even though expandAll="0"
  • 21:26:57 <bjo3rn> xaver is right
  • 21:27:16 <bjo3rn> you need some recursion
  • 21:27:27 <Outdoorsman> Hmmm... what logic do I use to check that?
  • 21:28:04 <bjo3rn> I think it's hasSubpages
  • 21:28:22 <Outdoorsman> <f:for each="{menu}" as="subSubMenuPage">
  • 21:28:39 <xaver> <f:debug>{yourMenuAlias}</f:debug>
  • 21:28:55 <xaver> don't use menu, use an alias
  • 21:29:02 <Outdoorsman> oops... I mean... <f:if condition="{subMenuPage.hasSubPages}">
  • 21:29:14 <bjo3rn> that should be it, yes
  • 21:29:24 <xaver> <v:page.menu ... as="rootline">
  • 21:29:53 <bjo3rn> auto rendering has the advantage of rendering menus with an undefined depth.
  • 21:29:59 <Outdoorsman> That determines if there are sub pages, but how to just expand only subpages to the current menu item?
  • 21:30:18 <bjo3rn> 'active'
  • 21:30:25 <xaver> every item has a active state
  • 21:30:36 <bjo3rn> hehe, xaver, sorry. go ahead.
  • 21:30:49 <xaver> try a f:debug on a menu object :)
  • 21:31:08 <xaver> cedricziel: did you create a pro and con list?
  • 21:35:58 <Outdoorsman> No way... that is soooooo awesome!
  • 21:36:27 <Outdoorsman> I hadn't used <f:debug>stuff</f:debug> before. That's good stuff.
  • 21:40:30 <xaver> {_all} has everthing avialable
  • 21:43:26 <Outdoorsman> Can you use multiple conditions in one statement like this?
  • 21:44:13 <Outdoorsman> <f:if condition="{subMenuPage.hasSubPages} && {subMenuPage.active}">Menu stuff</f:if>
  • 21:45:07 <Outdoorsman> Do I nest two if statements... I did it wrong here. Both conditions need to be true beofre a submenu is rendered.
  • 21:46:35 <xaver> && is normaly not allowed
  • 21:46:41 <xaver> a viewhelper exists
  • 21:46:48 <Outdoorsman> looking
  • 21:47:31 <xaver> i would use <if><if></if></if>
  • 21:48:31 <Outdoorsman> I can do that. Sure would be nice to use multiple conditions in one statement.
  • 21:48:57 <xaver> but the parsing is really complex in html ...
  • 21:49:16 <Outdoorsman> Can I omit <then> if there's no <else>?
  • 21:50:04 <Outdoorsman> Like you did <if condition=""><if condition="">Do this only if both conditions are true</if></if>
  • 21:52:03 <xaver> http://fluidtypo3.org/viewhelpers/fluid/master/IfViewHelper.html
  • 21:57:45 <Outdoorsman> Wow... the world of fluid is open up.
  • 21:58:32 <Outdoorsman> I got this from template someone else wrote. I'm trying to understand how it works. {settings.entryLevel -> v:math.ceil() -> v:math.sum(b: 1)}
  • 21:59:53 <Outdoorsman> (By they... I have a working submenu now. Now I'm working on getting it to do one more thing)
  • 22:00:18 <Outdoorsman> I want the menu to show this...
  • 22:00:34 <Outdoorsman> Parent page
  • 22:00:42 <Outdoorsman> ...Current Page
  • 22:00:53 <Outdoorsman> ......Submenu pages
  • 22:00:54 <Outdoorsman> ......Submenu pages
  • 22:00:54 <Outdoorsman> ......Submenu pages
  • 22:01:36 <Outdoorsman> I've done this before with TS before but now I'm reinventing the wheel :)
  • 22:06:13 <Outdoorsman> I think it was entryLevel=-3 to achieve that
  • 23:06:32 <Outdoorsman> WHY? It doesn't seem that this works... <v:page.menu entryLevel="-1">. Can't entryLevel accept negative numbers like typoscript did?
  • 23:07:36 <Outdoorsman> I'm using manual rendering.
  • 23:09:51 <Outdoorsman> http://fluidtypo3.org/viewhelpers/vhs/master/Page/MenuViewHelper.html