IRC logs

20141001

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

IRC log range: 20141001*

20141001

  • 08:08:57 <mrboe> good morning
  • 09:56:20 <cedricziel> ahoy
  • 10:13:54 <gbod_> Hi
  • 10:59:49 <ThomasBen> Hi everybody ^^
  • 11:00:11 <ThomasBen> Can someone help me on sys_category retrieval ? I’m trying to display the categories related to fal resources.
  • 11:00:52 <ThomasBen> I use this portion of code : https://gist.github.com/anonymous/6963fa2c3219d9c26637
  • 11:01:13 <ThomasBen> {slide.categories} contains the categories count … but how can i retrieve the categories title ? Thank you all :)
  • 11:40:33 <robsonrobi> Hello together.
  • 11:47:16 <BenjaminR> hi robsonrobi
  • 11:51:29 <robsonrobi> May be someone can give me some help. I am using flux, fluidpages, fluidcontent and vhs in a TYPO3 6.2 system. Works like a charme, but i am confronted with one problem. Havin a content element on page Tools->A and use that element as a reference on subpages Tools->B, Tools->C. Changing the reference element on Tools->A the view in the backend on T
  • 11:51:29 <robsonrobi> ools->B and Tools->C is not updated, in the frontend everything is fine, only the backend shows f.e old pictures of the referenced element
  • 11:52:07 <robsonrobi> Updating the reference index did not help. any ideas?
  • 12:50:34 <mrboe> @fger hi
  • 12:51:01 <mrboe> yesterday i checked the translation of my fal gallery
  • 12:51:12 <mrboe> and there was no problem
  • 12:51:46 <mrboe> perhabs you can check it against your FAL configuration
  • 12:53:47 <mrboe> @fger https://github.com/bootstraptheme-for-typo3/fluidbootstraptheme/blob/development/Resources/Private/Templates/Content/ImageGallery.html
  • 12:57:34 <randomresult> fluidcontetn_core is not released yet right?
  • 12:57:36 <NamelessCoder> sorry ThomasBen - we don't yet have any ViewHelpers to support that particular use case
  • 12:58:25 <NamelessCoder> ThomasBen there is one way you can do this: use a controller (for your content or page template "action") and in the controller action, load those categories using the category API.
  • 12:58:47 <NamelessCoder> ThomasBen see http://fluidtypo3.org/documentation/templating-manual/advanced-provider-extensions/custom-flux-controllers/use-cases-for-controllers.html about custom controllers
  • 12:59:08 <NamelessCoder> randomresult no, it is not released yet. A couple elements still need to be created but the team does not have time
  • 12:59:19 <randomresult> ok. thx.
  • 12:59:35 <NamelessCoder> we'd aoppreciate help. It's obvious which elements are missing ;)
  • 12:59:54 <randomresult> ok. i will have a look. maybe i can help.
  • 13:00:22 <NamelessCoder> maybe you already did something in fbt that would be useful
  • 13:00:37 <NamelessCoder> it's media and one or two types of menus
  • 13:01:14 <Guest|58546> Hello, what is the right syntax to do: <f:if condition="{questionIteration.cycle} % 7"> with v:if ?
  • 13:01:17 <randomresult> im right now building an distribution and thought i could work with fcc
  • 13:01:31 <randomresult> i will have a look.
  • 13:01:34 <randomresult> thx.
  • 13:01:58 <Guest|58546> tried this: <v:if stack="{0: '{questionIteration.cycle} % 7', 1: '==', 2: 0}">
  • 13:02:10 <Guest|58546> and this <v:if stack="{0: '{questionIteration.cycle % 7}', 1: '==', 2: 0}">
  • 13:03:05 <NamelessCoder> robsonrobi when you update the *reference* you're updating a separate tt_content record. If you need to "branch" off, create a new copy of the original element to replace the one you made as a reference. Or, if you are trying to update the original element, either locate that element using the page module or (this is from memory so forgive me if I'm wrong aboutit being there) you can use the "edit" wizard on the field that points to the
  • 13:03:05 <NamelessCoder> referenced record.
  • 13:03:36 <NamelessCoder> Guest|58546 that would cause a syntax problem
  • 13:03:45 <NamelessCoder> condition would be comparing a string
  • 13:04:08 <NamelessCoder> use v:math.modulo to calculate modulo then compare that value to your zero
  • 13:04:38 <Guest|58546> ok can you give me a hint?
  • 13:05:12 <NamelessCoder> as spiderman says, "Everybody gets one!"
  • 13:05:35 <Guest|58546> haha
  • 13:05:59 <NamelessCoder> <v:if.stack="{0: '{questionIteration.cycle -> v:math.modulo(b: 7)}', 1: '==', 2: 0}">
  • 13:07:33 <NamelessCoder> assuming my brain's fluid parser still works
  • 13:08:05 <cedricziel> jup
  • 13:09:56 <Guest|58546> yes, that works like a charm!
  • 13:10:30 <Guest|58546> thank you very much!
  • 13:13:28 <ThomasBen> @NamelessCoder Thank you !
  • 13:17:44 <NamelessCoder> yw, both
  • 13:30:54 <mrboe> hey NamelessCoder, i have tow extensions the first contains 2 pagetemplates with flux:form enabled="false", the second ext overrides the first with view and the pagetemplate has flux:form enabled="true" but but it dont work - it this not possible to do?
  • 13:32:47 <mrboe> also override the "label" is not possible for me
  • 13:35:30 <NamelessCoder> if they are overlays only the topmost overlay page template's enbabled flag is respected
  • 13:36:16 <NamelessCoder> although... I'm not sure the overlays apply at the level where the available templates are determined
  • 13:41:03 <mrboe> so you think it should work? or not?
  • 13:42:51 <NamelessCoder> I really don't know. There's too much code to keep it all in memory.
  • 13:43:16 <mrboe> because everything else inside the flux:form could be changed by the "second" ext
  • 13:44:02 <mrboe> only values of flux:form seems to be ignored
  • 13:44:22 <Cash2m> Hi... how do i render the images selected with <flux:field.inline.fal multiple="TRUE" /> ?
  • 13:45:02 <mrboe> @Cash2m have a look https://github.com/bootstraptheme-for-typo3/fluidbootstraptheme/blob/development/Resources/Private/Templates/Content/ImageGallery.html
  • 13:46:23 <NamelessCoder> mrboe try debugging which template filename and paths (+ overlays) returned by the Provider and View classes of Flux
  • 13:52:05 <Cash2m> @mrboe okay cool.. any special way to treat the "link" field or does it require some own logic?
  • 13:52:56 <mrboe> hm dont think so
  • 14:08:47 <fger> how can i access the localized {record} in a FluidTYPO3 FCE ?
  • 14:08:52 <Lirrec> Can anyone show me a working example of the suggest Wizard? I'm unable to get even a simple one for page completion working
  • 14:09:16 <fger> I need to catch a fal-related file using the corr. vhs viewhelper
  • 14:09:27 <fger> but that works with a record uid, which is not the localized one
  • 14:16:43 <fger> no one ;) ?
  • 14:27:01 <randomresult> fger not me sorry.
  • 14:30:18 <Guest|73567> hi all,
  • 14:30:25 <randomresult> hi guest
  • 14:30:49 <Guest|73567> im creating a custum content and i want a select field
  • 14:31:05 <Guest|73567> int his select field i want to select content from multiple table
  • 14:31:17 <Guest|73567> but i cant find a flux form for this
  • 14:31:42 <Guest|73567> flux:field.relation work on 1 table only
  • 14:31:53 <Guest|73567> does someone know if we can do a multiple select
  • 14:44:15 <Guest|73567> can someone help me plz? :)
  • 14:44:32 <randomresult> Guest|73567 sorry. i cant. i would. but i cant
  • 14:48:18 <robsonrobi> it seems that TYPO3 needs really long when saving an fce. Before updating vhs, fluidpages,fluidcontent and vhs it seems that the performance was better. does anyone has the same problems?
  • 14:51:33 <fger> no
  • 14:51:57 <fger> did you enable some beta-features in flux/fluidpages/vhs etc ? did you disables flexform/fluid caching ?
  • 14:56:01 <robsonrobi> i will look into vhs, flexform cahcing is on.
  • 14:56:40 <robsonrobi> where are possible beta features in vhs enabled?
  • 14:57:51 <randomresult> can someone confirm that with the latest TER versions Copy and Paste is not working?
  • 14:58:20 <robsonrobi> the paste icon is now on the right side next to the pencil.
  • 14:59:01 <robsonrobi> and if you want to paste it after a specific element you have to click on the element icon and then you fave a context menu paster after...
  • 14:59:22 <randomresult> since when?
  • 14:59:44 <drlimbo> good afternoon
  • 15:08:50 <BenjaminR> Would could cause that v:page.header.meta is called but no meta tag is added to resulting html
  • 15:10:12 <BenjaminR> forget it :)
  • 15:10:18 <BenjaminR> USER_INT bite me
  • 15:23:26 * soee bites BenjaminR
  • 15:23:53 <BenjaminR> aaah what are you doing this ;)
  • 15:23:59 <BenjaminR> *why
  • 15:24:05 <randomresult> cause u love it
  • 15:24:17 <BenjaminR> ej, you guys know me?
  • 15:24:22 <soee> :D
  • 15:25:01 <randomresult> soee does
  • 15:25:18 <randomresult> \o/
  • 15:41:52 <cedricziel> oO
  • 15:41:56 <cedricziel> what are you doing in here, guys?
  • 15:43:10 <randomresult> uhhh...
  • 15:43:14 <randomresult> you dont wanna know
  • 15:44:17 <fger> i need a localized {record} object/array for fetching localized FAL images
  • 15:44:27 <fger> or images related to the localized CObj in a fluid FCE
  • 15:46:47 <fger> cedric: any clue on that ? the vhs-viewhelper for resources.fal needs a record arr/obj or an uid
  • 15:47:50 <fger> cedricziel i mean :)
  • 15:48:20 <fger> ofc I could use record._LOCALIZED_UID, but i would expect that all viewhelpers of VHS take localization/language-overlay into case
  • 15:48:32 <fger> ..account
  • 15:49:52 <cedricziel> ehm, those are veeeery generic as you said; why not feed it what you want?
  • 15:49:57 <cedricziel> or subclass?
  • 15:50:07 <fger> yeah...
  • 15:51:27 <fger> or just enhance, so that you can feed the {record} obj and the VH looks for a _LOCALIZED_UID property to be set and the current sys_language_uid and fetches the overlayed record
  • 15:51:43 <fger> make the feature then switchable by attribute and here u go :)
  • 15:51:50 <fger> i guess i will do a pull request for that
  • 15:51:52 <fger> :)
  • 16:13:00 <cedricziel> cool
  • 17:03:33 <fger> cu