IRC logs

20140917

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

IRC log range: 20140917*

20140917

  • 09:42:54 <Harpagophyt> hello
  • 09:43:29 <Harpagophyt> i use an extension with date/time output. I need weekday and monthname in german
  • 09:43:58 <Harpagophyt> how can i solve this
  • 10:25:34 <rosieres> Harpagophyt: How do you generate the output?
  • 10:26:13 <Harpagophyt> it uses format.date. i found a solution with a custom view helper
  • 10:26:25 <rosieres> Then this is solved?
  • 10:26:38 <Harpagophyt> not sure yet. i try ;-)
  • 10:28:04 <rosieres> TBH: There´s no need for a custom VH if you use FLUID it has builtin -> See this -> http://fluidtypo3.org/viewhelpers/fluid/master/Format/DateViewHelper.html
  • 10:29:50 <rosieres> BUT: If you have an issue with the output of this VH be sure that you do not have any linebreaks in the <f:formate.date/> declaration . . . it messes up
  • 10:33:00 <Harpagophyt> it is the extension gb_events and i need the date with german names
  • 10:35:26 <rosieres> if you have set the locale settings in ts correct, the output should be german
  • 10:40:37 <rosieres> Harpagophyt: repeat myself -> https://bitbucket.org/gutebotschafter/gb_events/src/27895e7b0814a9077a9f400550e90fc646baa57b/Resources/Private/Templates/Event/Calendar.html?at=master there you can see it uses Locale Date Output for the Month as of %B
  • 10:49:27 <Harpagophyt> hmmmmm, i add this viewhelper, changed and checked the locales but also in english ... - mysterious
  • 10:50:17 <Harpagophyt> shell: > locale -a # line: de_AT.utf8
  • 10:51:13 <batjony> Hello guys
  • 10:51:26 <Harpagophyt> hmmm, found the problem
  • 10:52:09 <Harpagophyt> no - not yet *g*: TS Object Browser: [locale_all] = "de_AT.utf8"
  • 10:52:38 <batjony> I am using fluidpages, and in Page Configuration I have set same template for main and sub pages, is it possible in the other "Page Configuration" tab to hide the options for the sub pages, because both main pages and sub pages use same template, and there is no sense to see same options twice ?
  • 10:56:36 <Harpagophyt> batjony: what if you want other options for subpages
  • 10:58:52 <Harpagophyt> if i call setlocale(LC_TIME, "de_AT.utf8"); in the view helper it works - very funny
  • 11:28:14 <Guest|82707> Hi! Can someone tell me why an action in the ContentController of my provider extension is not executed? I followed this (http://fluidtypo3.org/documentation/templating-manual/advanced-provider-extensions/custom-flux-controllers/controller-actions.html) part of the manual. In my PageController everything works fine. Using all the newest version of
  • 11:28:15 <Guest|82707> TYPO3, VHS and so on.
  • 11:29:08 <Guest|82707> Checked spelling of the controller action etc.
  • 11:31:10 <Guest|82707> http://pastebin.com/LygqeSjY
  • 12:27:17 <Guest|96874> Hi, iam trying to create a table, that shows all users, but my template fails with memory exhausted error. do you have some hints when to use partials, and when not. is there a difference memorywise between tagsyntax and inline syntax? thx for any help
  • 12:48:01 <Fizelchen> Hi, i just upgraded to the latest flux dev and get the following error on my PID=1, where my root template is stored
  • 12:48:02 <Fizelchen> Fatal error: Class 'TYPO3\CMS\Core\Versioning\VersionState' not found in /html/typo3/typo3conf/ext/flux/Classes/ViewHelpers/Be/ContentAreaViewHelper.php on line 132
  • 12:48:16 <Fizelchen> System: Typo3 6.1.10
  • 12:49:21 <Fizelchen> This error appears, when i click on the Page with the Page module
  • 12:49:38 <Fizelchen> all other pages work and also the list module works on this page
  • 12:49:49 <xaver> Guest|96874: how high is your memorylimit
  • 12:50:28 <Fizelchen> 128MB
  • 12:50:56 <Fizelchen> oh sorry...wrong person :-)
  • 12:51:16 <Guest|96874> 100 MB
  • 12:52:21 <xaver> it is under the recommend size, but it should be enough for a user list. It always depends on size of course.
  • 12:53:14 <xaver> try xhprof or something similar to determent the bottle-leg
  • 12:55:32 <Guest|96874> never used before, but ill try
  • 12:55:37 <Guest|96874> thx
  • 13:06:09 <xaver> Guest|96874: you create for every user a "big" object - this needs resources
  • 13:09:33 <gbod_> Guest|96874: You might slim down the user objects to only the properties needed in your table
  • 13:14:59 <Harpagophyt> what could be wrong if i use: <flux:field.input name="settings.carousel.id" default="{v:random.string(length: 8)}" /> and if i use it in the main section it is empty
  • 13:33:53 <xaver> gbod_: essen ticket?
  • 13:34:12 <gbod_> Hi, after updating fluidpages to current development head all of my backendlayouts break. I found out that it breaks with commit https://github.com/FluidTYPO3/fluidpages/commit/6353dab98eba6fa3ebb981718d9f40f0bda85d21 Anybody out there having the same experiences?
  • 13:34:38 <gbod_> xaver: nope, sorry, no time at that weekend. :(
  • 13:35:08 <xaver> gbod_: t3uxw a spot opened up
  • 13:35:15 <NamelessCoder> gbod_ read the following commit, https://github.com/FluidTYPO3/fluidpages/commit/28da1127239a00b7fafb87a6317d4930ac3d5e63
  • 13:36:47 <xaver> hi NamelessCoder :)
  • 13:40:45 <gbod_> NamelassCoder: Ah, the sheet "Appearence" is ment with that comment. Thank you!
  • 13:41:36 <gbod_> xaver: Will you be there at t3uxw? And how do you know about the open spot?
  • 13:42:16 <NamelessCoder> hey xaver :)
  • 13:43:32 <gbod_> NamelessCoder: At first I thought I broke it with my FormalCodeReview stuff currently ongoing. It's me, coding46 from github. ;)
  • 13:45:50 <NamelessCoder> ahaa, now the four initials make sense hehe
  • 13:48:16 <xaver> gbod_: i will be where and somebody couldn't come
  • 13:52:45 <batjony> hello fluid gurus
  • 13:54:10 <batjony> a quick question, could someone say why this does not work <f:link.page additionalParams="{'{dynamicParamName}': '{dynamicParamValue}'}" />
  • 13:54:23 <batjony> i want both the param name and value to be variable
  • 13:54:36 <NamelessCoder> fluid simply doesn't work that way
  • 13:54:46 <NamelessCoder> what you write there would require dual parsing
  • 13:55:36 <batjony> how can I refactor this syntaxis in order to work
  • 13:56:07 <NamelessCoder> I suggest building those parameters in PHP instead
  • 13:58:40 <batjony> NamelessCoder: for example <?php $this->view->assign('test', array($dynamicParamName => $dynamicParamValue)); ?> and then <f:link.page additionalParams="{test}" /> ?
  • 13:59:36 <NamelessCoder> yep
  • 13:59:40 <batjony> 10x
  • 14:00:36 <batjony> NamelessCoder: and in fluid is not possible ?
  • 14:01:05 <NamelessCoder> possible, yes. Wise, absolutely not.
  • 14:02:20 <batjony> ok
  • 14:31:26 <Fizelchen> is flux 7.1 only compatible with Typo3 6.2.x ?
  • 14:32:17 <Fizelchen> i get an error with flux 7.1 staging in Typo3 6.1.10: Fatal error: Class 'TYPO3\CMS\Core\Versioning\VersionState' not found in /html/typo3/typo3conf/ext/flux/Classes/ViewHelpers/Be/ContentAreaViewHelper.php on line 133
  • 14:37:30 <xaver> NamelessCoder:
  • 14:38:19 <xaver> i think it is planed as 6.1 + 6.2, but maybe the implementation of T3 class is outdated
  • 14:41:33 <Fizelchen> yes...i had an older dev version of 7.1 running, and that made no error
  • 15:26:01 <william_klee> hi all, does someone knows how can i have a link field for a fluidcontent. I cant find it in flux documentation
  • 16:16:38 <william_klee> someone have any idea?
  • 16:38:28 <bjo3rn> hi william_klee
  • 16:38:44 <bjo3rn> you mean a field with a link wizard?
  • 16:39:11 <gbod> william_klee: Do you mean <flux:field.input name="link"><flux:wizard.link /></flux:field.input>
  • 16:39:29 <gbod> bjo3rn: Ups. ;)
  • 16:39:43 <bjo3rn> hehe, better two than none ;)
  • 16:39:54 <bjo3rn> moar is moar!
  • 16:40:00 <gbod> Indeed
  • 16:46:10 <bjo3rn> well...
  • 16:46:36 <william_klee> yes i mean a field with a link wizard(external, or page link)
  • 16:46:57 <bjo3rn> ok, then use gbod's code. that's it.
  • 16:47:39 <bjo3rn> the field will contain the pageUid or url in case of an external link.
  • 16:48:24 <william_klee> that works, but how? (im a beginner, sry)
  • 16:48:52 <bjo3rn> you are creating a custom content element?
  • 16:48:56 <william_klee> yes
  • 16:49:05 <bjo3rn> can you pastebin the template?
  • 16:49:09 <bjo3rn> ...or gist
  • 16:49:34 <william_klee> https://gist.github.com/anonymous/d5d48ded5eeec1049093
  • 16:51:11 <bjo3rn> that looks good on a first glance.
  • 16:52:00 <bjo3rn> you can now render the link with <f:link.page pageUid="{link}">My Link</f:link.page>
  • 16:54:32 <william_klee> that works perfectly, thanks.
  • 16:54:46 <bjo3rn> yw :)
  • 17:01:26 <papillon6> Hi all! I'm struggling with a caching problem in fluid. Page generation is very slow, due to a complex navigation-structure, which needs several nested for-each-loops in fluid. Analizing the cached entry in typo3temp/Cache/... revealed that all iterations (for-each) are still in the cached file. Is there a way to cache a ready-rendered HTML-structure instead?
  • 17:16:28 <TorstenFink> Hi there, i have a Problem with the current flux/fluidcontent github staging and typo3 6.1.10, image references are not copied, anyone has infos to this?
  • 17:16:44 <TorstenFink> i found something that this is a problem of typo3, maybe its fixed in 6.2.?
  • 17:23:22 <TorstenFink> come one someone is here ;)
  • 17:24:17 <Denyerec> We're all hiding.
  • 17:24:19 <Denyerec> Shhhh.
  • 17:24:22 <TorstenFink> :D
  • 17:24:35 <Denyerec> If you can upgrade to 6.2 without much fallout, I would recommend that anyway.
  • 17:24:54 <TorstenFink> you know if this fix my issue?
  • 17:24:56 <Denyerec> As for the Fluidcontent related issue specifically, I do not know enough to be able to help.
  • 17:25:03 <TorstenFink> ok
  • 17:25:31 <TorstenFink> i think this will be the only solution but hoping i can implement a core patch in 6.1. and all works :/
  • 17:30:46 <bjo3rn> Denyerec you snitch ^^
  • 17:30:59 <bjo3rn> TorstenFink are you talking about a FAL issue here?
  • 17:36:04 <TorstenFink> yes
  • 17:37:47 <TorstenFink> i have an FCE with two inline.fal field, all two are not copied if i do "copy default content elements"
  • 17:38:00 <bjo3rn> hm. https://github.com/FluidTYPO3/flux/issues/573 maybe?
  • 17:38:01 <TorstenFink> the sys_file_reference entries are not copied i mean
  • 17:38:27 <TorstenFink> y i saw this
  • 17:38:47 * bjo3rn is reading right now
  • 17:38:58 <TorstenFink> tested a core patch https://review.typo3.org/#/c/30632/ and https://review.typo3.org/#/c/30633/
  • 17:39:03 <TorstenFink> doesnt help
  • 17:39:12 <bjo3rn> you are on staging branch, right?
  • 17:39:20 <TorstenFink> yes
  • 17:39:33 <TorstenFink> for flux fluidpages fluidcontent and vhs
  • 17:39:36 <bjo3rn> it's fixed in development branch in combo with TYPO3 6.2 it seems
  • 17:39:57 <TorstenFink> do you have an link for me where there is some info to this?
  • 17:40:10 <bjo3rn> only the above issue
  • 17:40:10 <TorstenFink> going to 6.2 is a hard discussion with my PM ...
  • 17:40:15 <TorstenFink> ok
  • 17:40:33 <bjo3rn> but as Denyerec correctly stated it's no big deal to go 6.2
  • 17:40:34 <TorstenFink> the strange thing is that for my own Text/Image element it works
  • 17:40:37 <TorstenFink> with <flux:field.inline.fal name="image" minItems="1" />
  • 17:41:00 <TorstenFink> im little afraid of the changes to fal
  • 17:41:11 <TorstenFink> the new meta table
  • 17:41:11 <bjo3rn> by 'my own' you mean your user or your fce?
  • 17:41:16 <Denyerec> Well I'm afraid of everything
  • 17:41:19 <TorstenFink> my own fce
  • 17:41:20 <Denyerec> so you're miles ahead :D
  • 17:41:24 <TorstenFink> :D
  • 17:41:28 <bjo3rn> hehe
  • 17:42:04 <TorstenFink> bjoern any idea why it works in my Text/Image FCE?
  • 17:42:20 <TorstenFink> it would feel good to unstand why its working there
  • 17:42:45 <bjo3rn> hm. and it doesn't work in core ces?
  • 17:42:45 <TorstenFink> the difference is the field name, and that i have only ohne field with an image not two like in my other fce
  • 17:42:53 <TorstenFink> i dont use core ces anymore
  • 17:42:58 <TorstenFink> all self implemented with flux
  • 17:43:01 <bjo3rn> then I don't get it.
  • 17:43:27 <bjo3rn> what do you mean with 'it works in _my_ Text/Image FCE?'
  • 17:43:41 <TorstenFink> i build an FCE with flux
  • 17:43:46 <TorstenFink> for text with image element
  • 17:43:56 <bjo3rn> ok
  • 17:44:07 <TorstenFink> there the fal copy works for
  • 17:44:18 <TorstenFink> but not in an other fce i created
  • 17:44:24 <bjo3rn> ah, ok
  • 17:44:45 <bjo3rn> or better: wtf?
  • 17:44:49 <TorstenFink> :D
  • 17:44:54 <TorstenFink> this is my feeling ;)
  • 17:45:09 <bjo3rn> can you pastebin those two?
  • 17:45:18 <TorstenFink> yes
  • 17:45:30 <bjo3rn> maybe some eagle eye can help ^^
  • 17:45:49 <TorstenFink> http://pastebin.com/gvzf89jg
  • 17:45:55 <TorstenFink> the working one
  • 17:46:31 <TorstenFink> http://pastebin.com/8gmSdchG
  • 17:46:34 <TorstenFink> the not working one
  • 17:46:34 <bjo3rn> sec, phone
  • 17:50:31 <TorstenFink> ok i saw it doesnt work anymore, not by text/image and any other!
  • 17:50:49 <TorstenFink> it maybe was a cache from the old flux version :/
  • 17:50:51 <TorstenFink> sorry man
  • 17:51:08 <TorstenFink> so now nowhere the sys_file_reference is copied
  • 17:51:16 <TorstenFink> but maybe this works with 6.2
  • 17:51:47 <TorstenFink> "Localization failed; There already was a localization for this language of the record!" this is the message in the BE in red
  • 17:52:02 <bjo3rn> I'm back, sorry
  • 17:52:31 <bjo3rn> ok, this looks like the mentioned issue and should be fixed in current dev version of flux
  • 17:52:48 <TorstenFink> but only with 6.2 right?
  • 17:53:07 <bjo3rn> this is what's mentioned in the issue, yes
  • 17:53:27 <bjo3rn> when did you checkout staging last time?
  • 17:53:43 <bjo3rn> nevermind
  • 17:54:21 <TorstenFink> today
  • 17:55:42 <TorstenFink> hmm staging is "This branch is 20 commits ahead of development"
  • 17:55:59 <TorstenFink> so changing to dev wouldnt bring anything
  • 17:57:23 <bjo3rn> ah, NamelessCoder merged dev into staging today
  • 17:58:26 <TorstenFink> ok then the only option is updating typo3
  • 17:58:34 <TorstenFink> thank you bjoern, now i feel saver ;)
  • 17:58:58 <bjo3rn> I didn't do anything ;)
  • 17:59:10 <TorstenFink> you did
  • 17:59:12 <TorstenFink> bye
  • 17:59:21 <bjo3rn> do your backups!
  • 17:59:26 <bjo3rn> arggh. too late!
  • 18:00:21 <soee> hiho :)
  • 18:00:37 <bjo3rn> hi :)
  • 18:07:22 <william_klee> it's me again :) that still about the link field when a page is selected, i can see the page'id in the input field but i need to display page's title in the input field. Did some search but find anything about it.
  • 18:37:50 <gbod_> NamelessCode: Great and constant code quality. Really nice.
  • 22:49:24 <gbod> NamelessCoder?
  • 23:47:33 <irnnr> hey there
  • 23:48:24 <irnnr> I have a multi tree installation, and would like to use fluidpages for only one of the sites for now. Any way I can disable fluidpages for the other sites?
  • 23:56:18 <gbod_> irnnr: take a look into the ext_tables.php of https://github.com/bootstraptheme-for-typo3/fluidbootstraptheme There you can see the way fluidpages and fluidcontent are turned on an off. You can do it in the same way based on the page uid of your tree you like to use fluidpages in.
  • 23:57:07 <gbod_> Basically it's all about registering your provider extension for one of the special use cases Pages or Content.