IRC logs

20141027

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

IRC log range: 20141027*

20141027

  • 08:21:02 <ulrikkold> morning!
  • 09:48:03 <ndee_> I would like to render a content element which has been translated. On the translated page, I still see the default language CE since I render it with: <v:content.render contentUids="{1: feature.uid}" /> I see that feature has a property _localizedUid but I can't manage to access it in fluid.
  • 09:48:11 <Xatenev> morning peeps
  • 09:48:49 <Akii> good morning :)
  • 09:49:55 <jmverges> hi there folks
  • 09:50:22 <Akii> thanks bjo3rn for the blog post regarding generating menus
  • 09:50:42 <zbychu555> Hello everybody, I have one problem with FLUIDCONTENT. I would like to create grid as content element (I need columns in CE), but when I do it step by step with documentation, I don't have any results in the backend. For templating I use FLUIDTEMPLATE instead FLUIDPAGES - maybe it is wrong? Normal CE (as FAL, input, header) created in FLUIDCONTENT
  • 09:50:42 <zbychu555> works great.
  • 10:03:52 <ndee_> is there a way to access underscored variables in a fluid template?
  • 10:22:03 <gregglazewski> connect #symfony
  • 10:22:37 <Akii> ndee_: with the variable.get VH maybe
  • 11:05:54 <ndee_> Akii: looks like it's a protected property. What's the best practice to get a translated record?
  • 11:06:32 <Akii> not quite sure what you want to achieve here
  • 11:06:41 <Akii> localized CE?
  • 11:06:46 <Akii> also, what for?
  • 11:10:25 <ndee_> Akii: I have an extension where a user can link to different CEs. So when I'm on the french page e.g., I would like to show the french CE.
  • 11:12:05 <Akii> I'd do that inside the controller
  • 11:12:13 <Akii> maybe there is some sort of repository for CEs
  • 11:19:53 <ndee_> it's crazy, I do see the correct value in _localizedUid but there's no way I can access it
  • 11:46:12 <jmverges> hey folks is working FluidTYPO3 site kickstarter with 6.2?
  • 12:05:17 <flowbob> hey guys, where do i find the page.menu template for submenus in order to add the classes needed for bootstrap dropdown
  • 12:06:34 <tdeuling> hi @ all. I've a little problem with a fluid if-condition: http://pastebin.com/7HLiJjQ0 I tried to compare two viewhelper results, which are basically page ids. but when the returned numbers are different, the f:then is executed.. anyone knows what could be the problem?
  • 12:21:10 <NamelessCoder> tdeuling insufficiently qouted use of inline viewhelper as array member.
  • 12:21:24 <feelx> hi all... what VH should I use to make a flux select box for selecting a page from the pagetree? flux:field.tree? with table="pages" ? (using DEV branch)
  • 12:22:25 <NamelessCoder> feelx field.relation(table: 'pages') and whichever additional attributes you require
  • 12:23:54 <feelx> oh thank you.. Will try this one ;)
  • 12:28:41 <feelx> It works but is there a way to have the page tree sorted like 1., 1.1, 1.2,2.,2.1,.. etc instead of 1.,.2.,3. and subpages afterwards?
  • 12:33:55 <jmverges> NamelessCoder, feelx, flowbob is working properly FluidTYPO3 kickstarter
  • 12:34:48 <feelx> sorry, I don't know :-/
  • 12:38:01 <tdeuling> NamelessCoder: Got it.. (facepalm).. thank you
  • 12:40:04 <NamelessCoder> flowbob the trick is called "manual menu rendering" and is done using tag content, not a template. See https://fluidtypo3.org/library/code-examples.html
  • 12:40:43 <NamelessCoder> jmverges it should work on the most recent 6.2 but you may need to pick version 1.0.0 - EM started doing something strange with distributions I think because of missing files, but I ran out of fixing time last night
  • 12:41:34 <flowbob> thx @NamelessCoder i'll look into that ;)
  • 12:46:03 <feelx> NamelessCoder, can I have the selectbox of flux:field.relation rendered as 'tree'? Instead of a select box sorted by UID of 'pages'? It makes no sense in my case cuz I should have page-hierarchy
  • 12:46:31 <feelx> renderMode="tree" returns with an error (treeconfig not set).
  • 13:18:37 <feelx> I got it working now with "flux:field.tree" ... one little issue is still there. I need a 'displayCond' similar to 'PID > 1' since I don't want items (uid) in the Tree with PID = 0 or PID = 1. What syntax do I need for the displayCond attribute of flux:field.tree VH?
  • 13:19:35 <NamelessCoder> displayCond governs field visibility, not option visibility. To limit selections, use "condition"
  • 13:21:29 <feelx> oh.. thx NamelessCoder :)
  • 13:22:03 <feelx> condition="pid>1" is enough?
  • 13:23:37 <feelx> or SQL statement like condition="AND pages.pid > 1"
  • 13:56:24 <feelx> hmmm ... the flux:tree field is always empty with condition. even when I do condition="AND uid=13" or condition="pages.uid=13". And I definitly have a pages.uid = 13 page in my table
  • 14:59:09 <feelx> I did a git pull request on all fluidtypo3 EXT. Somehow my tabs in the new-content-wizard is gone. I read about wizardTab should be changed to the options attribute like options="group: 'My Group'}" ... but the tab (My Group) is still gone and I have a broken-image above my content elements. What else can cause this?
  • 14:59:58 <feelx> btw: I deleted typo3temp/* and did a clear all cache in the install-tool. But the issue is still present
  • 15:01:50 <Akii> syntax error in line 2 near options="group: expected { but got string
  • 15:02:34 <Akii> options="{group: 'My Group'}"
  • 15:07:13 <feelx> oh my gosh! :-X thank you! :)
  • 15:07:20 <Akii> ha!
  • 15:07:41 <feelx> need a break ;) ty really
  • 15:07:47 <Akii> what I found out yesterday while migrating some templates: you get weird entries in tabs if the templates itself can't be compiled
  • 15:07:51 <Akii> np
  • 15:08:03 <Akii> so var.get instead of variable.get etc.
  • 15:12:51 <feelx> okay... will check that too... I moved all my templates out of the directory and change each by each
  • 15:22:42 <jmverges> hi again
  • 15:34:31 <jmverges> hi folks, some help with nginx optimization? I'm getting 502 usually and all is too slow
  • 15:35:40 <Akii> looks more like php errors to me, have you checked the error log?
  • 15:39:07 <cedricziel> i bet it's a timeout issue then. in your fpm pool, set catch worker output to true and then check your error log. If you are in production, also make sure you disabled deprecation log and enabled production context
  • 15:41:20 <flowbob> i asked this question before, but got disconnected.
  • 15:41:41 <cedricziel> ?
  • 15:42:08 <flowbob> how do i check with condition wether a section is empty
  • 15:42:10 <flowbob> https://gist.github.com/anonymous/d114ef8936dd8c720e65
  • 15:42:11 <Akii> hi ced :D
  • 15:42:39 <jmverges> is not production is development
  • 15:42:41 <cedricziel> Hey phil, how are you?
  • 15:42:58 <Akii> good good, and you?
  • 15:44:17 <cedricziel> still recovering
  • 15:44:20 <erredeco> Hi there. I use T3 6.2.6 and latest version of flux, fluidpages, fluidcontent, vhs. I'm trying to build up a carousel using this as example:
  • 15:44:26 <erredeco> https://github.com/bootstraptheme-for-typo3/fluidcontent_bootstrap/blob/development/Resources/Private/Templates/Content/Carousel.html
  • 15:44:28 <Akii> from what? O.o
  • 15:44:37 <cedricziel> flu
  • 15:44:41 <Akii> ew
  • 15:45:12 <erredeco> But I'm fond of Zurb Foundation, so I'm trying to adapt it to Orbit Carousel
  • 15:45:25 <cedricziel> absolutely. been to the hospital
  • 15:45:40 <Akii> so serious? wow
  • 15:45:47 <Akii> but it's better now?
  • 15:45:57 <erredeco> [sorry to hear that @cedricziel, hope you're better]
  • 15:46:22 <cedricziel> yes, slowly, but it's getting better
  • 15:47:37 <erredeco> :)
  • 15:48:04 <erredeco> This is what I've done so far: http://pastebin.com/zWY40T1U
  • 15:54:13 <Akii> that's no longer needed afaik {0: elementData.caption} != {0: ''}
  • 15:54:19 <Akii> what's the question? ^^
  • 15:59:18 <jmverges> Akii, some help with nginx?
  • 15:59:52 <Akii> jmverges: what cedricziel said, check the error log
  • 16:00:08 <jmverges> I know what it is
  • 16:00:13 <jmverges> is saying that is to slow
  • 16:00:26 <Akii> so it's a timeout.. hmm
  • 16:00:38 <cedricziel> which context are you running in?
  • 16:01:01 <jmverges> I'm working with xaver vagrant machine
  • 16:01:07 <jmverges> more or less
  • 16:01:11 <jmverges> with some modifications
  • 16:01:20 <cedricziel> so you're runngin in development context !?
  • 16:01:22 <jmverges> https://github.com/FluidTYPO3/FluidTYPO3-Vagrant
  • 16:01:26 <jmverges> yes, sure
  • 16:01:31 <jmverges> development
  • 16:01:43 <cedricziel> i mean the TYPO3 Context
  • 16:02:14 <Akii> I don't remember vagrant being particular fast..
  • 16:02:15 <jmverges> uhm, I saw that typo4 says Production in some place
  • 16:03:34 <cedricziel> (vagrant is not your performance buddy... )
  • 16:04:01 <jmverges> TYPO3*
  • 16:04:14 <jmverges> cedricziel, what can I do?
  • 16:07:50 <erredeco> Plus, I can say that {elementData.id} has the correct value
  • 16:12:33 <jmverges> cedricziel, ?
  • 16:48:39 <jmverges> listen = 127.0.0.1:9000 or listen = /var/run/php5-fpm.sock : ?
  • 17:00:47 <robson> Hello together, making in the install tool a db compare i get these actions, but i i think that is not a really good idea?
  • 17:00:48 <robson> ALTER TABLE fe_users DROP KEY index_fluxcolumn;
  • 17:00:48 <robson> ALTER TABLE fe_users DROP KEY index_fluxparent;
  • 17:00:48 <robson> ALTER TABLE fe_users DROP KEY index_fluxparentcolumn;
  • 17:36:01 <danilobuerger> robson flux doesnt add to fe_users https://github.com/FluidTYPO3/flux/blob/development/ext_tables.sql
  • 18:56:01 <feelx> when I have a fluidcontent Element... Can I DISABLE to use the 'default' typo3 Header?
  • 19:16:39 <danilobuerger> feelx BE or FE ?
  • 20:15:51 <gbod> feelx: https://worksonmymachine.org/blog/custom-rendering-of-default-headlines-in-fluidtypo3
  • 20:34:46 <Andi445> Hi there! Does vhs have/had issues with translations? v.page.menu does allways get the whole page tree of the language with uid 0, although sys_language_mode is strict and only some pages are translated
  • 20:51:17 <jmverges> hi there