IRC logs

20140224

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

IRC log range: 20140224*

20140224

  • 08:33:02 <mrboe> good morining
  • 10:08:36 <mrboe_afk> hey guys - i want to make a FCE with some dropdown fields to configure google map https://gist.github.com/misterboe/9184248
  • 10:08:52 <mrboe_afk> can anybody give me an example how to do that
  • 10:09:37 <mrboe_afk> beacause of the {} in the jquery the settings dont work
  • 10:09:53 <mrboe_afk> is there another way to do something like that
  • 10:32:19 <Guest|40922> hello to all
  • 10:33:37 <Guest|40922> i installed typo3 6.2 (latest beta) and with the install shell script all necessary files
  • 10:33:47 <Guest|40922> all looks good.
  • 10:34:07 <Guest|40922> but what is the next step to use the/a template?
  • 10:34:26 <Guest|40922> i know templating in typo3 but not with this package
  • 11:04:19 <xaver> hi
  • 11:04:46 <Guest|40922> hello
  • 11:05:04 <xaver> how can i use {} in js and fluid variables - escape doesn't work and #{} also fails http://nopaste.chaoz-irc.net/view/99da2832
  • 11:07:53 <Guest|40922> just a guess ... {{
  • 11:29:58 <mrboe> @xaver have you found a solution?
  • 11:40:01 <xaver> mrboe: no
  • 11:40:26 <xaver> also i need to convert the string fromt he backend into a real object ;) Stupid google tag manager
  • 11:48:01 <xaver> mrboe: now it works thx 2 soee_ :) last thing it a way to enter in BE a JSON (or something) and loop it in FE
  • 11:53:32 <mrboe> i solved my problem in that way: https://gist.github.com/misterboe/9184248
  • 11:56:57 <xaver> i try transform
  • 11:57:44 <xaver> looks like array doesn't support key value
  • 12:07:30 <Guest|40922> newbie question ...
  • 12:07:51 <Guest|40922> i installed typo3 latest beta
  • 12:08:22 <Guest|40922> i used the shellscript from fedext to install all for the bootstrap thing
  • 12:08:38 <Guest|40922> what is the next step to work with a template?
  • 12:08:47 <cedricziel> hi Guest|40922
  • 12:09:31 <cedricziel> I shamelessly plug bjo3rn's blog here. He's got a veeery nice tutorial: https://worksonmymachine.org/blog/fluidtypo3-quickstart
  • 12:10:50 <Guest|40922> mhm, just to build a fluid template - nothing more - shame on me *gg*
  • 12:11:02 <cedricziel> hmm?
  • 12:11:07 <cedricziel> i think i cant follow you :)
  • 12:19:35 <Guest|40922> must i really build an extension or is a fluid template enough?
  • 12:22:36 <cedricziel> the extension way saves a lot, and i really mean it, a lot of work
  • 12:23:29 <cedricziel> + is it really that much of effort?
  • 12:23:47 <cedricziel> may sound so. but in reality, provider extensions are really thin
  • 12:28:23 <xaver> danilobuerger: Hi, anyway to use in transform (flux input) key => value, i tried JSON syntax, but failed
  • 12:31:47 <danilobuerger> xaver sorry no time to help atm
  • 13:01:26 <xaver> mrboe: http://nopaste.chaoz-irc.net/view/4f485eea
  • 13:01:40 <xaver> my solution
  • 13:02:43 <cedricziel> nice xaver
  • 13:02:50 <cedricziel> thx for bringing it back
  • 13:04:37 <xaver> np google analytics .. runs with it from google :)
  • 13:14:46 <mrboe> hey guys can i sort my FCE's in the wizardTab
  • 13:37:30 <xaver> normal you need to add wizardTab and name it and it will be added or crated
  • 13:44:13 <mrboe> yes i have a tab called bootstrap and i want to sort the elements in there
  • 13:53:13 <xaver> i think its alphabaticly
  • 13:53:34 <xaver> cedricziel: anywhere a repo with other stuff. maybe i can use something myself
  • 13:53:57 <xaver> ?
  • 14:15:01 <anhadikal> hi all !
  • 14:19:04 <anhadikal> I have problem with inheritance of Flux. I have a section with object within. Now my Page has 4 Objects in the section added in Backend. if an subpage only adds one object, the other 3 are inherited. how to prevent this? I want only inherit of no objects are added and if more than one is added, than it should inherit from parent
  • 14:32:14 <anhadikal> @NamelessCoder I have problem with inheritance of Flux. I have a section with object within. Now my Page has 4 Objects in the section added in Backend. if an subpage only adds one object, the other 3 are inherited. how to prevent this? I want only inherit of no objects are added and if more than one is added, than it should inherit from parent
  • 14:32:24 <mrboe> @anhadikal if i undestand right you can use the "inherit" option of the fields
  • 14:32:41 <anhadikal> its default to true, right?
  • 14:32:47 <mrboe> i think so
  • 14:33:01 <mrboe> here for example
  • 14:33:01 <mrboe> https://fedext.net/viewhelpers/flux/master/Flexform/Field/FileViewHelper.html
  • 14:33:49 <mrboe> inherit = "0"
  • 14:35:34 <anhadikal> but if i set it to 0 then it will not be inherited, if subpage has no objects added, but it should
  • 14:37:12 <mrboe> oh ok sorry now i understand
  • 14:38:49 <anhadikal> :)
  • 14:40:51 <anhadikal> and I Am getting same strange caching issues, so that inherited stuff is not up2date
  • 14:43:17 <cedricziel> inheritance means copy to local flexform
  • 14:43:22 <cedricziel> not reference
  • 14:44:13 <anhadikal> but the flexform is not copied in database level
  • 14:48:06 <anhadikal> so how to prevent to merge the flexform of current page with the one from parent page. and inherit/merge only if flexform-sheet is empty?
  • 15:05:30 <anhadikal> no ideas?
  • 15:12:10 <xaver> anhadikal: no idear
  • 15:12:31 <xaver> how can i access the flexform setting in the menu
  • 15:12:51 <xaver> i need color/class settings from the listed menuitems
  • 15:16:32 <anhadikal> xaver: https://fedext.net/viewhelpers/flux/master/Flexform/DataViewHelper.html this is the only way btm
  • 15:17:33 <xaver> anhadikal: not in flux i need the infor foreach page in FE navigation
  • 15:17:59 <anhadikal> yeah, that viewhelper does it ;)
  • 15:18:39 <anhadikal> {flux:flexform.data(uid: curPage.uid, table: 'pages', field: 'tx_fed_page_flexform')-> v:var.set(name: 'content')}
  • 15:19:09 <anhadikal> the table and field could be replaced with {fluxTableName} and {fluxRecordField}
  • 15:22:22 <xaver> anhadikal: THX!!!
  • 15:39:33 <NamelessCoder> marble don't take the kick message seriously hehe, was just a default one :)
  • 15:39:39 <NamelessCoder> we'll be happy to help you here
  • 15:41:00 <anhadikal> shit it looks like there is no way to prevent this from merging
  • 15:41:42 <marble> Hi, thanks for the welcome. I've just setup a Quassel core/client and start looking around. Don't feel disturbed ...
  • 16:21:12 <GNi33> hello everybody
  • 16:21:37 <GNi33> this may seem like a stupid question, but what's a good way to create your own fluid pages template?
  • 16:28:56 <xaver> i need to implement a "complex" menu and i get an error in my v:if.condition.extend - my code http://nopaste.chaoz-irc.net/view/a0e8ed7e
  • 16:36:54 <xaver> bjo3rn: do yiu have any idears. You did the last commits on it
  • 16:36:54 <xaver> #1244234398: Comparator "&&" is not implemented.
  • 16:39:55 <Tjark> GNi33 look into https://github.com/FluidTYPO3/fluidpages_bootstrap.
  • 16:40:28 <GNi33> yeah, got it working, kind of at least
  • 16:41:03 <GNi33> now I just have to figure out, how I can still show my menus with this new layout :/
  • 16:42:19 <Tjark> do you have ext:vhs already running ?
  • 16:43:10 <GNi33> yep
  • 16:43:20 <Tjark> https://fedext.net/viewhelpers/vhs/master/Page/MenuViewHelper.html
  • 16:43:38 <GNi33> I had my menus running over TypoScript and determined the place to show them over automaketemplate
  • 16:44:03 <GNi33> now I just don't know how to get back to that
  • 16:44:33 <GNi33> should I just completely kick the TS - stuff and do it over that viewhelper?
  • 16:45:08 <Tjark> you can also include your ts menu within the fluid template
  • 16:45:30 <Tjark> but i would prefer the vhs way
  • 16:45:37 <GNi33> mhm
  • 16:45:47 <Tjark> <f:cObject typoscriptObjectPath="lib.yourMenu"/>
  • 16:45:51 <GNi33> well, I'll look into it. How would I include the TS-stuff?
  • 16:45:54 <GNi33> oh, cool
  • 16:45:59 <GNi33> thanks
  • 16:46:05 <Tjark> :)
  • 16:49:04 <GNi33> another quick question to fluidpages_bootstrap
  • 16:49:04 <GNi33> <f:render section="Resources" optional="TRUE" arguments="{_all}" />
  • 16:49:04 <GNi33> where is the code that gets rendered here?
  • 16:49:04 <GNi33> there's a "SharedResources" - partial in the PageObjects, but I'm pretty sure this is not that, right?
  • 16:52:44 <NamelessCoder> GNi33 when there is no "partial" in the f:render statement, the section is 1) in the same template if it is a partial or template file, or 2) in the template file assocated with the current controller file, if the statement is in a layout file
  • 16:53:05 <NamelessCoder> look for f:section name="Resources" in the same file first ;)
  • 16:53:54 <GNi33> ooh, now I see it
  • 16:54:14 <GNi33> yeah, it has been in the associated template file, thanks!
  • 16:54:24 <NamelessCoder> yw :)
  • 16:55:18 <NamelessCoder> by the way this is only a suggested strategy - there are many ways to include resources, also using just TS if you prefer that
  • 17:00:34 <xaver> this works {v:var.set(name: 'realTrue',value: '1')} {v:var.set(name: 'realFalse',value: '0')}
  • 17:00:36 <xaver> <v:if.condition><v:if.condition.extend> ( {subIteration.idOdd} == {realTrue} && {double} > {realFalse} ) OR ( {double} < {realTrue} )
  • 17:00:46 <GNi33> I'm fairly new to Typo3, so I wouldn't even know how to just do it with plain TS