IRC logs

20140423

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

IRC log range: 20140423*

20140423

  • 09:12:46 <xaver> hi
  • 09:13:19 <xaver> what is the best way if i use v:page.breadcrumbs to add the news in the singleview
  • 09:21:19 <danilobuerger> xaver i dont think that this works out of the box, v:page.breadcrumbs just reads the rootline
  • 09:22:55 <danilobuerger> but you can use <v:page.breadcrumbs as="rootline"> ….. </v:page.breadcrumbs> and do your own rendering inside that
  • 09:44:35 * Denyerec recovers his email with {v:resource.record} ...
  • 09:44:43 <Denyerec> It's good for anything that one! ;)
  • 10:59:33 <danilobuerger> pfff Denyerec abusing my good view helper ^^
  • 11:06:52 <Denyerec> :)
  • 11:31:57 <Jeff_Tollwerk> Hey guys, I have a two-column element and only want to show the second column if it's filled via f:if-ViewHelper. How can I access the array for the content to check if it's empty or not?
  • 11:35:17 <BenjaminR> v:content.get
  • 11:35:24 <BenjaminR> Jeff_Tollwerk
  • 11:44:58 <Jeff_Tollwerk> Merci!
  • 11:45:14 <BenjaminR> yw
  • 11:52:20 <Denyerec> content.get is having a real workout lately
  • 11:52:22 <cedricziel> BenjaminR, there?
  • 11:53:34 <BenjaminR> hi cedricziel
  • 11:53:56 <cedricziel> please invite me to the other room, i'm locked out ;)
  • 11:54:13 <BenjaminR> not sure i have the force for that :)
  • 11:54:27 <cedricziel> you have when you're identified and +o
  • 11:55:28 <BenjaminR> what is the command :)
  • 11:56:13 <cedricziel> (/)INVITE nick #chan (the slash has to be escaped here, remove the parenthesis ;) )
  • 11:56:53 <BenjaminR> done
  • 11:57:20 <cedricziel> merci
  • 12:21:01 <bjo3rn> hi y'all
  • 12:21:25 <bjo3rn> I have a little issue re: namespaces and xsd
  • 12:22:13 <bjo3rn> I followed the docs but now I get an error about double declarations.
  • 12:23:01 <bjo3rn> it's all TER and TYPO3 6.1.18
  • 12:25:36 <Defos> Hey. I just added a new fluidcontent, and frontend says: Oops, an error occurred!
  • 12:25:36 <Defos> Could not analyse class:FluidTYPO3\FluidcontentCore\ViewHelpers\TagViewHelper maybe not loaded or no autoloader?
  • 12:25:48 <Defos> oops sorry for line-breaks
  • 12:36:47 <BenjaminR> that points to that you didnt add fluidcontent but rather fluidcontent_core
  • 12:57:49 <Torstenn> Hi there, i use flux, fluidcontent, fluidpages with typo3 6.1.8 and if i copy a page with an fal image, i get an error with uid of "sys_file_reference", i checked that the uid he is trying to find is always "1" and there is no entry with uid 1 in the sys_file_reference table, any ideas what to do?
  • 13:02:28 <Denyerec> Defos - you all good now ?
  • 13:15:25 <Torstenn> someone has a working copying of pages with fal images?
  • 13:17:44 <danilobuerger> cedricziel why do you need an invite to the channel "#chan" ???
  • 13:18:10 <cedricziel> i stood in front of closed doors
  • 13:18:22 <danilobuerger> but whats in the channel called "#chan" ??
  • 13:18:38 <danilobuerger> i just joined it
  • 13:18:41 <BenjaminR> ??
  • 13:18:42 <danilobuerger> nothing much going on there
  • 13:19:09 <BenjaminR> youre making jokes we dont understand? :)
  • 13:19:21 <danilobuerger> no BenjaminR ... check it out
  • 13:19:26 <danilobuerger> ./join #chan
  • 13:19:33 <BenjaminR> that was a placeholder to tell me how to invite someone
  • 13:19:35 <danilobuerger> ChanServ greets you with lots of bacon
  • 13:20:45 <danilobuerger> Torstenn you are doing it wrong, please gist your template
  • 13:21:16 <Torstenn> ok mom
  • 13:21:33 <danilobuerger> the "1" you are seeing and assuming its an uid, is not an uid.... its the count of the images you referenced... and when you reference only one image, the count is 1
  • 13:22:43 <Torstenn> ok
  • 13:22:46 <Torstenn> here is the template
  • 13:22:46 <Torstenn> https://gist.github.com/anonymous/11211425
  • 13:24:56 <danilobuerger> Torstenn see https://github.com/FluidTYPO3/flux/blob/development/Classes/ViewHelpers/Field/Inline/FalViewHelper.php for an example on how to use
  • 13:25:33 <danilobuerger> also BenjaminR has a fully working example somewhere
  • 13:26:02 <BenjaminR> lots of : ) but the docs should show everything one needs
  • 13:26:28 <BenjaminR> https://gist.github.com/benjaminrau/9833031
  • 13:26:33 <Torstenn> but whats the connection between backend copy and frontend template?
  • 13:27:01 <Torstenn> but ill try it
  • 13:27:24 <BenjaminR> the field name is the connection (the one you see immediately) - its a combination of table, record uid and field
  • 13:27:46 <BenjaminR> but that again is danilobuerger´s area :)
  • 13:28:37 <danilobuerger> connection is made through the sys_file_reference table by the combination BenjaminR mentioned
  • 13:28:55 <danilobuerger> Torstenn take a look at the gist that BenjaminR pasted here, its a good example
  • 13:29:23 <Torstenn> ok, but it works fine in frontend if i create anything
  • 13:29:27 <Torstenn> this you know?
  • 13:29:33 <Torstenn> the problem is only copy paste in backend
  • 13:29:44 <danilobuerger> i dont understand what you are saying
  • 13:30:14 <BenjaminR> he tries to copy a page and paste somewhere in page tree
  • 13:30:21 <BenjaminR> the throws an exception
  • 13:30:22 <Torstenn> exactly
  • 13:30:36 <Torstenn> if i create new content element
  • 13:30:38 <Torstenn> all works fine
  • 13:31:21 <danilobuerger> hmm
  • 13:32:52 <danilobuerger> Torstenn for that please file an issue at https://github.com/FluidTYPO3/flux
  • 13:33:58 <Torstenn> you have any ideas where i can take a look?
  • 13:34:06 <Torstenn> i need to fix it for my own this week :/
  • 13:34:39 <Torstenn> the last function where im looking is in filterInlineChildren there the $parameter array with the key "value" is [0] => 1
  • 13:35:20 <Torstenn> i know its hard to understand what i write ...
  • 13:36:07 <randomresult> hello
  • 13:36:30 <Torstenn> hi
  • 13:36:51 <randomresult> im looking for a menu which only shows the submenu items from the page i am ... no matter which treelevel im in... any hints?
  • 13:36:55 <randomresult> im too blind today
  • 13:38:04 <Torstenn> vhs menu viewhelper with pageUid param?
  • 13:38:16 <Torstenn> thats what i would check *g
  • 13:38:32 <BenjaminR> randomresult: go for torstenn´s advice :)
  • 13:40:15 <randomresult> how to get the the actual pageUid?
  • 13:40:39 <BenjaminR> page variable is available in every fluidpages and fluidcontent element
  • 13:40:44 <BenjaminR> with {page.uid}
  • 13:40:49 <BenjaminR> if not - use v:page.info()
  • 13:41:37 <BenjaminR> use {_all -> f:debug()} from time to time to see what is available there by default :)
  • 13:43:36 <randomresult> it will allways take entryLevel=0
  • 13:43:57 <randomresult> <v:page.menu useShortcutData="TRUE" pageUid="{page.uid}" >
  • 13:44:26 <randomresult> shouldnt i take the subpages ?
  • 13:49:09 <Defos> back from lunch
  • 13:49:17 <randomresult> wb Defos
  • 13:49:24 <Defos> @BenjaminR: added where?
  • 13:49:50 <randomresult> @BenjaminR my menu always shows the main menu-items
  • 13:49:57 <randomresult> not the subpages
  • 13:50:45 <randomresult> ah because page.uid is NULL
  • 13:52:15 <Torstenn> ok i produced i minimum example with only a fal inline tag in the template, and the copy of sys_file_reference entry works but the uid_foreign is not updated to the new tt_content element what is generated at page copy
  • 13:52:23 <Torstenn> if you have some ideas, let me know
  • 13:53:42 <randomresult> works. thx all
  • 13:53:57 <Torstenn> ok i see its fixed in typo3 6.2
  • 13:56:27 <BenjaminR> Defos?
  • 13:56:39 <BenjaminR> randomresult: working?
  • 13:56:44 <randomresult> jupp
  • 13:56:52 <randomresult> page.uid was NULL
  • 13:56:57 <randomresult> i took the v:info
  • 13:57:04 <randomresult> field id :)
  • 13:57:24 <Defos> @BenjaminR "that points to that you didnt add fluidcontent but rather fluidcontent_core"
  • 13:58:09 <BenjaminR> you said you added fluidcontent but your error is relaated to fluidcontent_core
  • 13:58:30 <BenjaminR> that are two different extensions (if you are not aware)
  • 14:02:39 <Defos> I dont' have fluidcontent_core installed tho
  • 14:03:26 <Defos> vhs, flux, fluidpages, fluidcontent, fluidpages_bootstrap, fluidcontent_bootstrap and my own template holder extension
  • 14:03:43 <BenjaminR> show me your templates
  • 14:03:57 <BenjaminR> i guess you specified a wrong namespace somewhere
  • 14:04:24 <BenjaminR> {namespace v=FluidTYPO3\Fluidcontentcore\ViewHelpers} or so..
  • 14:04:47 <Defos> http://pastebin.com/X7txzAfA
  • 14:05:33 <BenjaminR> another one?
  • 14:06:14 <Defos> That's the fluidcontent one causing the error
  • 14:07:12 <BenjaminR> ah i bet your Content Layout has fluidcontentcore namespace
  • 14:07:14 <BenjaminR> !
  • 14:07:25 <BenjaminR> and uses <fc:tag or simolar
  • 14:07:30 <BenjaminR> fcc:tag
  • 14:37:36 <Defos> Yep that was it! :-)
  • 15:08:10 <BenjaminR> wild coping files?
  • 15:08:10 <BenjaminR> ;)
  • 15:12:06 <Defos> I used fluidtypo3org-master as my extension reference. Bad idea. (it also crippled my Typo3 installation writing 150mb of error log with a single call)
  • 15:14:08 <Defos> btw, can I align Fluidcontent elements horizontally in the backend? And not just one after the other vertically?
  • 15:24:30 <BenjaminR> NO that isnt possible
  • 15:24:50 <BenjaminR> Its everything possible that is possible with typo3 s backendlayouts
  • 15:27:21 <Defos> Okey thanks
  • 15:27:54 <Denyerek> Hmm.
  • 15:28:05 <Denyerek> I'm using the menu viewhelper, and it's being using with a folder full of shortcuts.
  • 15:28:18 <Torstennn> Hi there, i debuged my problem a bit, and if i use an fluidcontent CE mit inline.fal and copy it, it works fine, but if there is a translation of this CE, than the error "No fileusage (sys_file_reference) found for given UID." is raised.
  • 15:28:18 <Denyerek> My issue is current / active not being applied
  • 15:28:38 <Denyerek> I appreciate the active/current page isn't really the shortcut anymore as it's been redirect, but is there any way to fake that / make it behave ?
  • 15:28:58 <Denyerek> <v:page.menu pageUid="{settings.headerMenuStorageUID}" useShortcutUid="FALSE" useShortcutData="TRUE" classCurrent="current"/>
  • 15:29:01 <Torstennn> maybe someone has an idea?
  • 15:29:02 <Denyerek> That's my current VH call
  • 15:34:31 <Denyerek> Ahh
  • 15:34:38 <Denyerek> useShortcutUID i sno longer bugged
  • 15:34:39 <Denyerek> grand
  • 17:01:32 <Harpagophyt> should i use fluidcontent_bootstrap or an other package to get useable bootstrap elements?
  • 17:03:00 <BenjaminR> you should use the one i referenced yesterday
  • 17:03:47 <BenjaminR> more up to date https://github.com/bootstraptheme-for-typo3/fluidbootstraptheme
  • 17:04:36 <Torsten> Hey, I've a question concerning the allowedContentTypes feature: Is it possible to allow only a special fluid_content element? They have all the same CType "fluidcontent_content"
  • 17:06:44 <Denyerec> BenjaminR you ever used sourceCollection for srcset image rendering ?
  • 17:06:55 <BenjaminR> no
  • 17:07:06 <Harpagophyt> is it ok for productionuse?
  • 17:07:46 <BenjaminR> Harpagophyt: i suggest to copy the ones you need to your own provider extension and then i assume you test them before putting them in production
  • 17:07:58 <Harpagophyt> ok, thx
  • 17:53:52 <Denyerec> If I have a "relation" in the resources part of a page, how do I get that out in my template?
  • 17:54:03 <Denyerec> (i need the first image resource on the page)
  • 18:38:51 <Defos> is there a way to insert a fluid content element into a fluid page template statically? so it is always loaded, and optimally never deleted?
  • 19:11:20 <Denyerec> Defos
  • 19:11:34 <Denyerec> What I have done, is created the ocntent element on a page in a sysfolder
  • 19:11:41 <Denyerec> then I include that in the template via Fluid.
  • 19:11:43 <Denyerec> Would that be suitable ?
  • 19:11:53 <Denyerec> If the CE was owned and editable only by the Admin, it would prevent deletion.
  • 19:12:09 <Denyerec> If that's what you're trying to do I can pastecode yu the snippet
  • 19:18:22 <Defos> that sounds good, yes please
  • 19:34:12 <Denyerec> Defos
  • 19:34:15 <Denyerec> sorry I got distracted
  • 19:34:42 <Denyerec> Simply use this:
  • 19:34:42 <Denyerec> <v:content.render contentUids="{settings.address3Uid -> v:iterator.explode()}"/>
  • 19:34:59 <Denyerec> {settings.address3Uid} is stored in typoscript, and is the UID of the content element you need to render.
  • 20:12:51 <Outdoorsman> I have a TYPO3 CMS 6.2 website that won't let me log into the backend in Production mode, but when I switch it to Development mode, no problem. Strange. Any ideas?
  • 20:13:28 <Denyerec> Caches, cookies and sessions ?
  • 20:13:44 <Denyerec> did you configure any IP / Masks in the install tool ?
  • 20:13:58 <Outdoorsman> Checking...
  • 20:29:51 <Outdoorsman> Thanks Denyerec. You sparked an idea... I did a diff of my LocalConfiguration.php file with a working version of 6.2 I have. Turns out that BE Compression was enabled and apparently the issue.
  • 20:30:35 <Outdoorsman> I have the .htaccess file in the right spot and also had uncommented the appropriate section there but it's apparently causing some issue for some reason.
  • 20:34:18 <Denyerec> Woo! :D
  • 20:34:30 <Denyerec> Must have been compressing and caching output
  • 20:44:26 <Outdoorsman> But I want to be using BE/FE compression because I have plenty of horsepower on my server and it also saves bandwidth.
  • 20:45:04 <Outdoorsman> Compression is working on all other sub 6.2 sites.
  • 20:58:22 <Outdoorsman> I just used http://www.whatsmyip.org/http-compression-test/ for my domain. It says that compression is working on the site. However, I can't log in.
  • 21:22:11 <Outdoorsman> So apparently TYPO3 CMS 6.2.1 has documented issues with breaking login when BE compression is enabled.
  • 21:22:19 <Outdoorsman> https://forge.typo3.org/issues/58010
  • 21:23:13 <Outdoorsman> Here's the fix that's been pushed to the review server if anyone else is having this issue.
  • 21:23:15 <Outdoorsman> https://review.typo3.org/#/c/29582/