IRC logs

20140322

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

IRC log range: 20140322*

20140322

  • 06:55:00 <randomresult> good morning
  • 09:21:36 <randomresult> good morning again
  • 12:38:25 <randomresult> hey there
  • 12:58:35 <randomresult> im trying to get rid of some switchcase - now i have this: https://gist.github.com/randomresult/7b1d9cc1a7b228b351bf
  • 12:59:17 <randomresult> problem is, that i use the sections to define some variables. but i dont get them back from the partial/section - some a hint what i did wrong?
  • 12:59:58 <randomresult> so im trying to dynamicaly render some partials/sections
  • 13:21:03 <randomresult> hi there
  • 15:38:46 <Guest|96946> hi
  • 15:42:37 <Guest|96946> i have a selctbox in the page configuration. Does this variable always apply to all pages which use this template? Is it possible to use this value only on the modified page?
  • 15:44:56 <Guest|96946> i want to control the style of a submenu with this selectbox
  • 15:48:14 <Guest|96946> when i render the menu i want to use this value to decide which style to use
  • 15:49:58 <randomresult> Guest|96946 you can inherit this and clear if needed
  • 15:50:25 <randomresult> was it inherit? dont remember... just a sec
  • 15:51:42 <randomresult> yes, inherit.
  • 15:52:09 <randomresult> i would add inherit and clear to the select. so you can see what happens.
  • 15:52:35 <randomresult> if you want to set it globaly, i would make a TS out of it. (or i would think of making a TS out of it)
  • 15:59:39 <soee> randomresult: hi, the *fluid extension are now usng namespaces ?
  • 15:59:57 <randomresult> which one u mean?
  • 16:00:06 <randomresult> im right now working on the new one.
  • 16:00:27 <soee> fluidpages, fluidconten, fluidcontent_bootstrap
  • 16:00:39 <randomresult> you need to use the dev-versions.
  • 16:01:02 <randomresult> fluidcontent_bootstrap and fluidpages_bootstrap will be merged into one.
  • 16:01:09 <soee> randomresult: are there any plans to release this -dev versions the same time when T3 6.2 ?
  • 16:01:25 <randomresult> as i heard yes
  • 16:01:28 <Guest|96946> could the problem be that im trying to acces this page value inside a menu partial?
  • 16:01:36 <randomresult> there is a roadmap on the blog
  • 16:02:03 <randomresult> if u call the partial add arguments="_all"
  • 16:02:11 <randomresult> so the values will be passed to it
  • 16:02:45 <Guest|96946> already did that
  • 16:04:44 <randomresult> so u should be able to use them
  • 16:04:56 <randomresult> to be honnest, i had problems with that today too
  • 16:07:05 <Guest|96946> hmmm ok
  • 16:07:24 <Guest|96946> if i get it to work i'll tell u what i did
  • 17:10:27 <randomresult> hi tjark
  • 17:11:12 <Tjark> hi randomresult
  • 17:11:19 <randomresult> hows it going
  • 17:11:41 <Tjark> i am fine :)
  • 17:11:46 <randomresult> good.
  • 17:11:47 <randomresult> :)
  • 17:11:50 <Tjark> and you ?
  • 17:15:43 <randomresult> well. yes. could be worse
  • 17:15:44 <randomresult> :)
  • 17:15:58 <randomresult> struggeling with partials and switchcases
  • 17:20:36 <NamelessCoder> wassup randomresult ?
  • 17:20:50 <randomresult> hi claus.
  • 17:21:11 <randomresult> im trying this with the moving to partials instead of using SC
  • 17:21:32 <randomresult> i paste u my stuff.
  • 17:21:44 <randomresult> thought it worked. but now my backend is... fucked.
  • 17:21:45 <randomresult> wait.
  • 17:21:53 <randomresult> First of all: Hello!
  • 17:21:54 <randomresult> :)
  • 17:22:09 <randomresult> my head was spinning yesterday. tons of ideas. thx.
  • 17:22:30 <NamelessCoder> hope you didn't overload ;)
  • 17:22:42 <randomresult> https://gist.github.com/randomresult/73ad21f3ac37a4ed03c5
  • 17:22:46 <randomresult> i sure did.
  • 17:22:54 <randomresult> so. first...
  • 17:23:05 <randomresult> is this correct? <f:render section="OutPut{settings.split -> v:format.case(case: 'split')}" arguments="{_all}"/>
  • 17:23:17 <randomresult> i have all in settings.split
  • 17:23:24 <NamelessCoder> case: 'ucfirst'
  • 17:23:48 <NamelessCoder> aah you use numbers
  • 17:23:58 <randomresult> but...
  • 17:24:03 <randomresult> well this works kindo of
  • 17:24:12 <randomresult> it renders output50-50
  • 17:24:21 <randomresult> or output70-30
  • 17:24:44 <randomresult> works perfekt on an existing container
  • 17:24:54 <randomresult> doesnt when building a new one
  • 17:25:51 <NamelessCoder> try adding <f:section name="InPut"></f:section>
  • 17:26:05 <NamelessCoder> alternatively, set optional="TRUE" on f:render calls
  • 17:26:15 <randomresult> ?
  • 17:26:24 <randomresult> ad where?
  • 17:26:31 <NamelessCoder> <f:render section="switchcaseMore" arguments="{_all}" optional="TRUE" />
  • 17:26:32 <randomresult> let me get that clear...
  • 17:27:14 <NamelessCoder> or add as sibling of your other <f:section> named InPuts, an <f:section name="InPut"></f:section> which gets rendered if no value exists in the settings.split variable
  • 17:28:13 <randomresult> could u please sit next to me and be my autocompletion in PHP-Storm?
  • 17:29:34 <NamelessCoder> https://gist.github.com/NamelessCoder/2b0bb3ab3f18940d63d8
  • 17:29:43 <NamelessCoder> hehe :)
  • 17:30:41 <NamelessCoder> I would take <f:section name="switchcaseMore"> and move that to a partial
  • 17:31:11 <randomresult> step by step.
  • 17:31:15 <randomresult> i dont see ur change.
  • 17:31:18 <randomresult> lemme check
  • 17:31:51 <randomresult> ah. you removed the ...
  • 17:31:55 <randomresult> lemme check backend
  • 17:31:56 <NamelessCoder> 1) removed switchcase section, moved tags up into main condition. 2) Added f:section beneath Preview
  • 17:33:19 <randomresult> hell... looks good.
  • 17:33:41 <randomresult> so now it would be interesting what made it.
  • 17:33:53 <randomresult> 1 or 2
  • 17:34:22 <randomresult> in the beginning i had a S_C defining vars (var set foo)
  • 17:34:35 <randomresult> tried to only move this into a section / Partial
  • 17:34:56 <randomresult> but never got them back from that section into the main or configuration section?
  • 17:35:47 <randomresult> anyway. works.
  • 17:35:51 <randomresult> thx
  • 17:37:43 <randomresult> would u move the extraSections into a partial?
  • 17:44:08 <randomresult> can partials be in subfolder? like Partials/Content/TwoColumn=
  • 17:44:11 <randomresult> ?
  • 18:14:07 <NamelessCoder> yep, <f:render partial="Subfolder/PartialName" />
  • 18:14:21 <NamelessCoder> same with Layouts
  • 18:14:45 <randomresult> i tell... you... i make the simplest changes mess up my backend
  • 18:14:49 <randomresult> i get crazy
  • 20:27:23 <randomresult> evening...