IRC logs

20140604

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

IRC log range: 20140604*

20140604

  • 09:02:38 <randomresult> good morning
  • 09:02:45 <GRIMMCREATIVE> morning
  • 09:04:12 <mrboe> hey
  • 09:09:34 <randomresult> someone knows how to get a variable set in ext_conf_template within a Flux-ContentTemplate?
  • 09:15:18 <vizArt> moooorning ^^
  • 09:20:27 <limboo> good morning
  • 09:22:30 <limboo> i'd like to use "f:translate" but how i can get the "key" of the actual language?
  • 09:22:44 <limboo> i thought about v:page.info but i can't find the active language
  • 10:04:17 <hans> hi there!
  • 10:05:05 <hans> one question: using v:page.languageMenu and then i only got the current lan and no other as translation, how can i hide the lan-menu ?
  • 10:09:07 <randomresult> @danilobuerger
  • 10:09:11 <randomresult> u there?
  • 10:15:48 <BenjaminR> hans: hiding the langmenu for non existing translations of a page is not possible as i know
  • 10:16:07 <xaver> hans: i think you need todo it yourself <v:page.languageMenu as="myLangMenu"><f:for myLangMenu... iteration="XY"><f:if ....></f:if></f:for></v:page> http://typo3.intervation.de/snippets/fluid/ffor-iteration-ermitteln/ you have total
  • 10:16:12 <BenjaminR> randomresult: youve been at t3cs sat and sunday?
  • 10:16:28 <xaver> BenjaminR: only sat
  • 10:16:42 <BenjaminR> xaver: you answer for randomresult? :)
  • 10:16:58 <randomresult> thx xaver
  • 10:17:02 <hans> BenjaminR: thx
  • 10:17:04 <hans> xaver: thx!
  • 10:17:16 <xaver> BenjaminR: i though randomresult maybe still under shock :)
  • 10:17:30 <randomresult> i am
  • 10:17:44 <randomresult> someone can help me with a VH ?
  • 10:17:50 <BenjaminR> randomresult so the ticket is my appreciation for your contributions to FluidTYPO3
  • 10:18:42 <xaver> BenjaminR: Berlin?
  • 10:19:03 <BenjaminR> xaver: Berlin - Tirol is way too far
  • 10:19:44 <randomresult> come to munich?
  • 10:19:59 <BenjaminR> when
  • 10:20:03 <randomresult> i ll pay the ticket if i get one
  • 10:20:08 <randomresult> september
  • 10:20:14 <randomresult> 6-8th maybe
  • 10:20:15 <xaver> before oktoberfest
  • 10:20:20 <randomresult> dunno
  • 10:20:31 <BenjaminR> who will be there?
  • 10:20:42 <randomresult> i will try to get a ticket
  • 10:20:49 <randomresult> mrboe wants to join
  • 10:21:07 <BenjaminR> sounds good
  • 10:21:18 <xaver> i'm, everyone from UG regensburg, danilobuerger said he will come
  • 10:21:40 <randomresult> can you have a look at a VH for me?
  • 10:21:44 <BenjaminR> okay have to cross check with vacations :)
  • 10:21:50 <BenjaminR> randomresult: tell me about the vh
  • 10:22:05 <randomresult> its to get informations from ext_conf_template.txt
  • 10:22:07 <xaver> BenjaminR: and Camp Mallorca
  • 10:22:15 <randomresult> we had it in one of our extensions...
  • 10:22:19 <randomresult> now i want it for vhs
  • 10:22:37 <randomresult> but more then cp - im not able young padawan
  • 10:22:37 <BenjaminR> xaver: no really not. if i do a journey i do it without thinking about typo3 :)
  • 10:23:03 <xaver> BenjaminR: on second day you won't know the term TYPO3 anymore
  • 10:23:14 <BenjaminR> hehe
  • 10:23:51 <randomresult> BenjaminR i gist you what i have found from our developer
  • 10:23:58 <BenjaminR> okay
  • 10:24:23 <randomresult> https://gist.github.com/randomresult/b57add90ca89b6f7d994
  • 10:25:16 <BenjaminR> Tx_Flux_Core_ViewHelper_AbstractFlexformViewHelper <- ?
  • 10:25:20 <BenjaminR> why that
  • 10:26:52 <randomresult> dunno
  • 10:26:56 <randomresult> i have no idea
  • 10:28:22 <randomresult> <v:var.set name="MyVar" value="{mynamespace:extConf(name:'myvariable',extension_key:'myext')}"/>
  • 10:28:39 <randomresult> this is how i get the variable in v:var.set
  • 10:28:41 <BenjaminR> yap understand the vh but dont understand why it extends from Flux :)
  • 10:29:06 <randomresult> the only thing i want is to get variables from ext_conf_template
  • 10:29:23 <randomresult> so i can for example disable and enable Pages/Contents
  • 10:31:09 <BenjaminR> https://gist.github.com/benjaminrau/9f784821bd357d0b5df7
  • 10:31:12 <BenjaminR> smth like that
  • 10:32:02 <BenjaminR> you have to a) add the fluidtypo3 doc comments and b) check which subpackage fits best for the vh (...fx Var)
  • 11:31:42 <Guest|69037> hi all
  • 11:32:44 <Guest|69037> i have a little problem. My PageTemplates are not listed in TYPO3 to choose them. But the PageConfiguration is displayed :P the fluxdebug mode still say its all ok.
  • 11:33:24 <mrboe> @Guest|69037 have you cleaned all cache
  • 11:33:48 <Guest|69037> hm i cleard cache with install-tool
  • 11:33:59 <mrboe> and typo3temp folder
  • 11:34:11 <Guest|69037> not yet. I will try
  • 11:34:11 <mrboe> all in there
  • 11:34:30 <mrboe> there is a .FED...
  • 11:34:38 <mrboe> be sure to delete this
  • 11:34:59 <Guest|69037> ok is in progress
  • 11:39:24 <Guest|69037> hm still not listed
  • 11:39:46 <raisch> did you include the static templates?
  • 11:40:18 <Guest|69037> yes, the backend layout is displayed
  • 11:40:22 <Guest|69037> the fronent is working
  • 11:40:32 <Guest|69037> the page configuration is displayed
  • 11:41:01 <Guest|69037> but in the section "Page Layouts" in T3 is no Template listed
  • 11:46:19 <raisch> hi folks, i' ve got a question regarding documentation: is part 3.3 (using templates) really empty?
  • 11:50:25 <randomresult> @BenjaminR still there?
  • 11:50:32 <BenjaminR> still
  • 11:50:36 <randomresult> :)
  • 11:51:14 <randomresult> do you have a hint on how to get the variables set in ext_conf_template in a Page/Content template
  • 11:51:24 <randomresult> i mean without VH?
  • 11:51:42 <BenjaminR> no way without controller or vh
  • 11:52:03 <BenjaminR> you could assign the variable in controller action
  • 11:52:04 <randomresult> so is there a vh or do i have to get mine working?
  • 11:52:12 <BenjaminR> you can have a contentcontroller in your provier ext
  • 11:52:22 <BenjaminR> youve to get yours working
  • 11:52:36 <BenjaminR> i thought it is working already?
  • 11:52:43 <randomresult> in another extension yes
  • 11:53:13 <randomresult> so i thought i could change this to be located in vhs
  • 11:53:29 <BenjaminR> not could until you decide to commit and
  • 11:53:34 <BenjaminR> it gets merged
  • 11:53:38 <BenjaminR> until then place in your ext
  • 11:53:57 <BenjaminR> as you dont know if it gets merged and then you have an unupdatable vhs
  • 11:54:35 <randomresult> ok then. then i will place it in my contentcontroller.
  • 11:54:45 <randomresult> but wouldnt such a vh not be useful?
  • 11:54:47 <randomresult> what u think?
  • 11:55:28 <randomresult> and how do i tell my template to use my viewhelper ?
  • 11:55:42 <randomresult> we got rid of {namespace v=Tx_Vhs_ViewHelpers}
  • 11:55:52 <randomresult> and use the div instead.
  • 11:57:17 <BenjaminR> {namespace yx=Tx_YourExt_ViewHelpers} Or namespaced {namespace yx=\YourVendor\YourExt\ViewHelpers}
  • 11:57:30 <BenjaminR> and then use it with yx.extConf
  • 11:57:58 <randomresult> i paste u our templates
  • 11:58:00 <randomresult> sec
  • 11:58:15 <Guest|69037> do i need the new vhs to get my page templates listed in T3?
  • 11:59:09 <randomresult> BenjaminR this is our templaate https://gist.github.com/randomresult/a8169354fbef8e53c66f
  • 11:59:28 <randomresult> so we dont use {namespace xy} no more
  • 11:59:47 <xaver> raisch: looks like it https://github.com/FluidTYPO3/documentation/tree/rewrite/3.Templating/3.3.UsingTemplates . If you understand german you can take a look at the take from cedricziel
  • 12:00:33 <mrboe> @randomresult no
  • 12:00:49 <randomresult> no?
  • 12:00:53 <randomresult> YES!
  • 12:00:56 <randomresult> think positive
  • 12:01:03 <BenjaminR> ?
  • 12:01:08 <xaver> some other tutorials exists outside fluidtypo3 page
  • 12:01:54 <mrboe> @randomresult read the commit of claus https://github.com/FluidTYPO3/fluidtypo3org/issues/5
  • 12:03:13 <mrboe> sorry this https://github.com/FluidTYPO3/fluidtypo3org/issues/6
  • 12:05:17 <BenjaminR> randomresult, mrboe: you dont share the same office?
  • 12:05:29 <Guest|69037> guys can someone check this out? https://gist.github.com/anonymous/5822963961b1a624adaa
  • 12:05:33 <randomresult> thank god no!
  • 12:05:38 <BenjaminR> haha :D
  • 12:05:41 <Guest|69037> i dont know what im doin wrong :(
  • 12:05:48 <randomresult> well. i offered it to him several times
  • 12:05:57 <xaver> Guest|69037: how did you create your provider extension? Easiest way is "builder" and check Ffuidtypo3
  • 12:06:00 <randomresult> but he loves to be slaved where he works now
  • 12:06:02 <raisch> @xaver: great, thank you for the link! bye...
  • 12:07:17 <soee> some serious chnages in flux-dev lately ?
  • 12:07:32 <soee> PHP Fatal error: Call to a member function get() on a non-object in /web/typo3conf/ext/flux/Classes/Configuration/BackendConfigurationManager.php on line 171
  • 12:21:41 <benjamin_654> that could be: https://github.com/FluidTYPO3/flux/blame/development/Classes/Configuration/BackendConfigurationManager.php##L171
  • 12:21:56 <benjamin_654> did you clear the cache in the install tool @soee ?
  • 12:22:42 <cedricziel> updating the gits wont clear your cache. that's an issue sometimes
  • 12:36:07 <benjamin_654> randomresult: for the ext_conf_template, did you try: TS: plugin.tx_xy.setupvarname = {$plugin.tx_xy.constvarname} FLUID: {v:var.typoscript(path: 'plugin.tx_xy.setupvarname')}
  • 12:36:55 <randomresult> benjamin_654 no i didnt
  • 12:37:12 <randomresult> i will
  • 12:37:41 <benjamin_654> tell me then if it works, i will surely need this some time ..
  • 12:40:56 <randomresult> benjamin_654 i have this in my TS-Setup plugin.tx_ambasic.buttonEnable = {$plugin.tx_ambasic.buttonEnable}
  • 12:41:13 <randomresult> ahhh
  • 12:41:14 <randomresult> sec
  • 12:43:52 <randomresult> benjamin_654 im talking about ext_conf_template.txt
  • 12:43:58 <randomresult> extension setting
  • 12:46:00 <benjamin_654> in ext_conf_template it sould be: constname = 22
  • 12:46:36 <benjamin_654> in setup.txt it the should be: setupvarname = {$constname}
  • 12:47:14 <benjamin_654> i am not sure how the dot notation is handled in the ext_conf_template ..
  • 12:47:57 <benjamin_654> and then in fluid: {v:var.typoscript(path: 'setupvarname')}
  • 12:57:55 <cedricziel> you should go the settings route
  • 12:58:21 <cedricziel> plugin.tx_fooext.settings.setting1 = val / {$constant}
  • 12:58:33 <cedricziel> if you need settings dedicated to your extension
  • 12:58:57 <cedricziel> this allows to access them via {settings.setting1} directly without fiddeling
  • 12:59:13 <cedricziel> + they are passed through the controller context if any
  • 12:59:23 <cedricziel> + you could create a nice constant editor for that
  • 12:59:29 <cedricziel> just sayin'
  • 12:59:42 <NamelessCoder> it's the convention for a good reason ;)
  • 13:04:57 <benjamin_654> yes, thats right
  • 13:05:40 <soee> benjamin_654: yeah did it and it helped
  • 13:15:18 <Denyerec> Hey boys!
  • 13:15:24 <Denyerec> Anyone know a good, cheap retoucher? :D
  • 13:16:40 <xaver> what is a retoucher
  • 13:18:05 <cedricziel> benjamin_654, soee-the commit contains what I told you before, but a bit more in detail: https://github.com/FluidTYPO3/documentation/blob/rewrite/3.Templating/3.4.UsingVariables/3.4.2.TypoScriptVariables.md
  • 13:19:58 <Denyerec> xaver - someone who makes photos look bettter
  • 13:20:10 <Denyerec> Usually by scrubbing out fat, improving colour and deleting distracting elements.
  • 13:20:53 <benjamin_654> cedricziel: nice - thx!, now i understand what you meant with "via {settings.setting1} directly without fiddeling"
  • 13:20:58 <Denyerec> Like so: http://stuff.denyerec.co.uk/Pole/#!DSCF6414_BA.jpg
  • 13:21:27 <soee> is i tpossible using v:format.json.encode to encode whole object with relations (configured as lazy)?
  • 13:21:46 <cedricziel> yeah, sorry for me wibblywobbling
  • 13:22:11 <cedricziel> FT3BOT: wtf
  • 13:22:11 <FT3BOT> ¯\_(ツ)_/¯
  • 13:24:21 <Guest|53257> hey guys, i can do it like that or not? <flux:field.input name="workexampleurl" label="{v:l(key: 'content-workexample.url', default: 'Link')}">
  • 13:24:21 <Guest|53257> <flux:wizard.link label="Select your link" activeTab="url" />
  • 13:24:21 <Guest|53257> </flux:field.input>
  • 13:24:41 <Guest|53257> https://gist.github.com/anonymous/25569de8664366b09ead
  • 13:25:00 <Guest|53257> for creating a link with the input field
  • 13:27:29 <danilobuerger> randomresult whats up?
  • 13:34:00 <GRIMMCREATIVE> fluidtypo3.org - no styles ?
  • 13:36:38 <cedricziel> seems that pull request gone wrong
  • 13:37:19 <Guest|53257> my problem is: my PageTemplates is not listed in T3. But the page configuration of this template is displayed. And i really dont know what I could do now.
  • 13:38:15 <Guest|53257> the flux debug mode says that everything is fine... FE and BE are working fine
  • 13:49:06 <soee> gusy why when using v:format.json.encode relational data attributes are prefixed witrh: * ?
  • 15:34:36 <mrboe> hey guys need some help
  • 15:35:22 <mrboe> i have an extension "t3basic" with me basic elements and i want to create a second one to override it
  • 15:36:16 <mrboe> would this be right? https://gist.github.com/misterboe/4e00859182b6b3deb531
  • 15:38:23 <mrboe> i created the igepagroup with builder and i want to have the posibillity to add some additional FCE in there
  • 15:39:03 <mrboe> but when i but a element in the "second" extension i see it twice in BE
  • 15:39:33 <mrboe> so it seems like view does not overlay
  • 15:50:59 <Guest|53257> u dont need to register it in ext tables?
  • 15:57:27 <NamelessCoder> mrboe if you also registered EXT:igepagroup as provider extension then it would show up twice by design: EXT:igepagroup would also present the element as one it provides, but it will also be provided by EXT:t3basic
  • 16:04:33 <mrboe> @thx NamelessCoder
  • 16:20:49 <patt> Hi! can someone help me with this error? https://gist.github.com/anonymous/bddd07e16655a16400bd
  • 16:22:33 <cedricziel> hey patt-one of your f:if 's is not properly nested
  • 16:23:32 <xaver> can i use the partial or section name as variable ?
  • 16:27:30 <mrboe> @NamelessCoder i thougt it would be possbile to have an second extension which overrides "and" contains additional templates - but this would not work?
  • 16:27:50 <patt> grrr... yes @cedricziel i got it... Thank you :)
  • 16:28:43 <cedricziel> oh i just read the message ^^
  • 16:28:54 <cedricziel> nothing to thank me for :D
  • 16:28:55 <NamelessCoder> mrboe no (I *think* I mentioned this somewhere in the docs), not unless you use another than Resources/Private/Templates as your overlay path
  • 16:29:19 <NamelessCoder> set overlay path to fx Resources/Private/Overlay/Templates/
  • 16:29:30 <NamelessCoder> and place overlay files there, original content in original location
  • 16:29:37 <mrboe> ok this would be a good way
  • 16:30:08 <mrboe> thank you
  • 16:30:16 <patt> have a nice evening guys. bye :)
  • 16:30:39 <NamelessCoder> but move the overlay templates to a non-standard folder, don't move the original content files ;) makes more sense that way
  • 19:17:49 <Outdoorsman> Hello all.
  • 19:35:37 <cedricziel> Hello, hello
  • 19:35:44 <cedricziel> and cu later Aligator
  • 20:37:46 * randomresult is off for a holiday! see ya all in a week
  • 20:37:59 <randomresult> and keep the pushpower up!
  • 20:44:45 <danilobuerger> randomresult again??
  • 20:50:49 <soee> gust again: why format.json.encode vh adds * sign before relation attributes ?
  • 20:50:51 <soee> :}
  • 21:52:38 <soee> is it possible to add for fluidpages configuration parameter for example in extension setting, that will disable native backend layout fields in page properties when we have fluidpages ?
  • 21:57:13 <xaver> soee: i dont't understand your goal