IRC logs

201412

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

IRC log range: 201412*

20141201

  • 09:47:27 <jmverges> good morning mates
  • 10:01:25 <drlimbo> good morning
  • 10:01:31 <drlimbo> is there a way to "split" an array?
  • 10:01:52 <drlimbo> loop trough 1to8 - show something - loop trough 9to12
  • 10:13:51 <Akii> SliceViewHelper
  • 10:16:45 <drlimbo> oh thanks Akii - i'll have a look
  • 10:17:24 <drlimbo> if i show a timestamp with f:format.date the time it returns is one hour too much - is this a local-setting or something?
  • 10:17:47 <Akii> timezone
  • 11:49:40 <drlimbo> good morning
  • 11:52:05 <jmverges> help: http://pastebin.com/fdJy8VQ3
  • 11:53:14 <drlimbo> is there a way to include the news plugin (tx_news - latest) in my fluid template?
  • 11:54:39 <soee> drlimbo: there are several ways to do it i think
  • 11:55:29 <drlimbo> allright soee, where do i find something about?
  • 11:57:09 <soee> drlimbo: you can simply enter this plugin on your website in teh column where you want to render it, you can create plugin instance in some sysfolder or some page and get it with TS using CONTENT object than pass variable to template, you can use VHS to vetch such content directly in template
  • 11:57:25 <soee> *fetch
  • 11:58:03 <drlimbo> ah, the VHS-way sounds good =)
  • 12:40:56 <drlimbo> is there a format viewhelper to remove all html tags and just show plaintext?
  • 12:41:57 <drlimbo> oh stripTags, im sorry
  • 13:58:04 <drlimbo> aloha again
  • 13:58:20 <drlimbo> is there a way to get the information on what Level a Page is (with v:page.info)?

20141202

  • 09:40:44 <jmverges> good morning mates
  • 09:41:08 <jmverges> I have a question: If I doo a flux:field.relation, how could I use it into a foreach?
  • 09:55:45 <jmverges> I'm just trying to build a Language Menu without Sr_Language
  • 10:03:06 <jmverges> I have this: <flux:field.relation
  • 10:03:06 <jmverges> name="settings.languageMenu.languages"
  • 10:03:06 <jmverges> label="language"
  • 10:03:06 <jmverges> transform="array"
  • 10:03:06 <jmverges> multiple="true"
  • 10:03:07 <jmverges> minItems="1"
  • 10:03:09 <jmverges> maxItems="100"
  • 10:03:11 <jmverges> size="8"
  • 10:03:13 <jmverges> table="sys_language"
  • 10:03:15 <jmverges> >
  • 10:03:19 <jmverges>
  • 10:03:21 <jmverges> </flux:field.relation>
  • 10:03:26 <Akii> stahp
  • 10:03:30 <Akii> geez
  • 10:03:58 <jmverges> and I just getting an array of numbers instead of sys_language
  • 10:15:35 <soee> jmverges: !pastebin
  • 10:15:40 <soee> !pastebin
  • 10:15:48 <jmverges> sorry, I'm so sorry
  • 10:15:57 <jmverges> I just have a bit of stress here.
  • 10:16:00 <soee> FT3BOT: pastebin
  • 10:16:08 <soee> nood bot :)
  • 10:16:20 <soee> jmverges: why stress ?
  • 10:16:26 <jmverges> work
  • 10:17:05 <jmverges> ...
  • 10:17:15 <soee> take a 2 deeper breaths, think about green meadow :-)
  • 10:17:25 <jmverges> hehehe I will do it ;)
  • 10:17:48 <jmverges> soee, do you know how to work with flux:field.relation and sys_language?
  • 10:18:24 <soee> what do you want to achieve ?
  • 10:18:37 <jmverges> a Language Menu without static_info_tables
  • 10:19:06 <jmverges> I just need to make a relation with sys_language
  • 10:19:20 <jmverges> and then render sys_language title + uid+�
  • 10:19:29 <jmverges> uid*
  • 10:23:50 <soee> try removing transform="array" first
  • 10:24:11 <soee> i didnt used it before so cant tell out of the box whats wrong
  • 10:27:45 <jmverges> http://pastebin.com/Er3sv6MC
  • 10:29:39 <soee> jmverges: remove transform attribute and tell what it returns
  • 10:37:45 <soee> uh and he left :?
  • 10:40:20 <Akii> the stress, he couldn't handle it anymore
  • 10:40:49 <soee> :)
  • 10:41:51 <soee> hmm he wanted language menu without static_info_tables, i wonder how he get localised labelks for each language
  • 10:49:50 <jmverges> soee, I don't know if you wrote something
  • 10:50:01 <soee> [10:23] <soee> try removing transform="array" first
  • 10:51:11 <jmverges> I did�
  • 10:51:17 <jmverges> and I get an error
  • 10:51:24 <jmverges> the argument "each" was registered with type "array", but is of type "string" in view helper "TYPO3\CMS\Fluid\ViewHelpers\ForViewHelper"
  • 10:53:46 <LightAndWire> I have a question to CoreContent. Is it possible to set a default Content element from my variant/version for only a special type (only for image).
  • 10:53:56 <LightAndWire> I found the settings to change the default variant, but in this case i got an error if I use a content type without a specula variant.
  • 10:54:51 <soee> jmverges: ok sorty than it was wrong shot
  • 10:57:06 <jmverges> I'm creating a viewhelper
  • 11:00:58 <soee> why dont you use static_info_tables ?
  • 11:04:44 <jmverges> because all runs slowers
  • 11:04:47 <jmverges> slower
  • 11:04:49 <NamelessCoder> jmverges v:page.languageMenu does not require static_info_tables. Language menus should never be built from a list of language UIDs - the options the language menu ViewHelper supports means you can hide languages that do not have translations
  • 11:05:30 <jmverges> NamelessCoder, documentation says that is required
  • 11:05:46 <NamelessCoder> where?
  • 11:06:01 <jmverges> https://fluidtypo3.org/viewhelpers/vhs/master/Page/LanguageMenuViewHelper.html
  • 11:06:13 <jmverges> https://fluidtypo3.org/viewhelpers/vhs/development/Page/LanguageMenuViewHelper.html
  • 11:06:26 <NamelessCoder> I don't think that note is correct
  • 11:07:41 <NamelessCoder> nope, don't see anything in there that would require that extension
  • 11:07:53 <jmverges> okey
  • 11:08:54 <NamelessCoder> give it a shot without, I'm pretty sure it works
  • 11:12:17 <jmverges> okey
  • 11:12:25 <jmverges> I will let you know
  • 11:28:37 <drlimbo> good morning
  • 11:28:51 <drlimbo> is there a way to get the "link" to an image with v:media.image?
  • 11:30:06 <soee> drlimbo: use URI ? https://fluidtypo3.org/viewhelpers/vhs/master/Uri/ImageViewHelper.html
  • 11:31:25 <drlimbo> oh awesome soee!
  • 11:32:20 <drlimbo> thanks
  • 11:32:36 <soee> np. hope it helps
  • 11:32:36 <drlimbo> i tried around with v:media.image as="var" =P
  • 13:45:36 <drlimbo> how can i insert the "page-keywords" in the meta-tags?
  • 13:50:31 <jmverges> hey mates, why $settings = $this->configurationManager->getConfiguration(\TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface::CONFIGURATION_TYPE_FULL_TYPOSCRIPT); is not returning always the same values? I'm trying to access to $settings['plugin.']['m8thassets.']['settings.'] but is not always set. This happens into a Service class that doesn't extend from anything
  • 13:52:05 <jmverges> or, how could I get all the typoscript configuration from any place
  • 13:56:18 <soee> if you have several instances of a plugin, it might change
  • 13:56:33 <soee> as teh plugin configuration changes in various places ? just a shoot
  • 13:56:52 <jmverges> uhm
  • 13:57:02 <jmverges> maybe I'm doing it wrong
  • 13:57:12 <jmverges> I have some Constants / Settings in the plugin
  • 13:57:25 <jmverges> and I need to be able to access from anyplace
  • 13:58:38 <soee> maybe Claus can help you more, i havent use it
  • 13:58:41 <jmverges> this service is called from backend
  • 14:07:17 <drlimbo> is there an "inline-content" or something for the v:asset.script viewhelper?
  • 14:07:38 <drlimbo> i have a script with conditional-comments, id like to add to my header
  • 14:08:11 <jmverges> $GLOBALS['TSFE'] is null soee
  • 14:08:40 <soee> jmverges: its for fronted so if you are in backend its not loade dby default
  • 14:10:31 <jmverges> so, where could I define settings in typoscript for frontend and backend?
  • 14:11:11 <soee> what settings are you taling about ?
  • 14:13:19 <jmverges> for example, I need a path for a less file
  • 14:14:31 <soee> what for may i ask ? :)
  • 14:16:58 <jmverges> because I'm rendering some styles in frontend and backend
  • 14:17:03 <jmverges> the same styles
  • 14:17:20 <jmverges> and that was only a example
  • 14:17:34 <jmverges> I'm rendring Less for RTE
  • 14:17:44 <soee> why dont you link to those styles directly in your template ?
  • 14:18:06 <jmverges> is not the case
  • 14:18:15 <jmverges> I also reading a json file
  • 15:18:40 <jmverges> I didn't get it... shit
  • 15:18:56 <jmverges> I was taking a look to http://www.emoticode.net/php/get-typoscript-configuration-everywhere.html
  • 17:28:14 <jmverges> there is some way to modify <body> with flux vhs etc?
  • 21:31:59 <NamelessCoder> jmverges there is no such option for <body>, use page.* in TS
  • 21:33:04 <NamelessCoder> jmverges to clone the typoscript used for BE and FE, do module.tx_yoursignature.settings < plugin.tx_yoursignature.settings

20141203

  • 08:54:07 <jmverges> good morning mates
  • 08:54:41 <jmverges> NamelessCoder, I tried that method, to assign plugin to module and it didn't work for my behaviour
  • 10:14:35 <jmverges> had anyone some problem with fluidpages configuration of subpages?
  • 10:27:32 <vizArt> Maybe somebody can tell: Is flux compatible with TYPO3 v.7.0 ?
  • 11:04:23 <jmverges> nice question!
  • 11:31:40 <soee> it works i think but fluidpages and or fluidcontent needs somell changes wioth one array cunction used
  • 12:20:44 <bjo3rn> vizArt it will work. the required changes are already in the current dev branches.
  • 13:05:04 <vizArt> @bj03rn: thanks for this info
  • 13:05:32 <bjo3rn> unfortunately I just found out that it doesn't work with current dev either. stay tuned.
  • 13:06:17 <vizArt> ok
  • 14:08:05 <bjo3rn> peeps, ca I use php constants in a fluid template?
  • 14:08:08 <bjo3rn> *can
  • 15:28:01 <pRiMUS> hey everybody.
  • 15:29:00 <pRiMUS> can any1 tell me, why my fluid content elements appear in the tab "plugins" and the view of the tab seems broken. in another typo3 instance its working fine in an own tab.
  • 15:29:03 <pRiMUS> any suggestions?
  • 15:29:48 <Denyerec> In before "Clear caches"
  • 15:29:51 <Denyerec> ;)
  • 15:30:54 <pRiMUS> http://imgur.com/lNpNm52
  • 15:31:00 <pRiMUS> i already did
  • 15:31:11 <Akii> pRiMUS: migrate your templates accordingly
  • 15:31:24 <pRiMUS> i just used that example template
  • 15:31:27 <Akii> if it's new, check for syntax errors especially missing NS imports
  • 15:33:29 <jmverges> hey, I have a question, where are stored flux values?
  • 15:33:40 <jmverges> name="setting.whatever"
  • 15:47:18 <batjony> hello guys
  • 15:48:44 <batjony> if i have a flux form and inside it flux fields with attribute required="1", i could still save the fce without filling anything in these fields
  • 15:49:14 <batjony> how can I set some kind of "not-empty" validation in a flux forms ?
  • 15:54:46 <artisticMink> It might sound silly, but did you try 'true' as string value?
  • 15:55:36 <pRiMUS> sorry. i had a meeting
  • 15:56:07 <batjony> ya
  • 15:56:25 <batjony> still I am not able to set any fields like required!
  • 15:57:39 <pRiMUS> Akii: do you have any example for me? i used this one
  • 15:57:39 <pRiMUS> https://fluidtypo3.org/documentation/templating-manual/templating/creating-templates/content-element.html
  • 15:57:47 <pRiMUS> the teaser
  • 15:58:05 <pRiMUS> i placed it in my own extension, the path is correct and i can use the element.
  • 15:58:15 <pRiMUS> only the backend is kinde fckd.
  • 15:58:16 <pRiMUS> ;)
  • 16:01:12 <artisticMink> batjony: I just checked AbstractFieldViewHelper, required is registered as a boolean, so 1 or true should work. Try clearing the cache after making changes or use uncache. If the problem persists, you probably have to debug it.
  • 16:02:01 <pRiMUS> as soon as i add the configuration it break my backen
  • 16:02:18 <batjony> actually not sure what should happens if something is set to required
  • 16:02:27 <batjony> should some errror message appear ?
  • 16:03:06 <artisticMink> batjony: At least, there should be a field prefix * by default.
  • 16:03:21 <artisticMink> It would be a good thing to upload your flexform to pastebin and poste the link here.
  • 16:05:04 <artisticMink> On another note, i've got a problem of myself: I need to pass some arguments down to an content element. Currently i'm using <v:content.render /> Do i have another option similair to <f:render arguments="{_all}" /> or do i need to create a view helper myself to handle this?
  • 16:11:02 <NamelessCoder> artisticMink what is the purpose of the variables?
  • 16:12:52 <pRiMUS> interessting. with the flux 7.1.0 everything works fine
  • 16:12:59 <pRiMUS> with the 7.1.1 not
  • 16:13:03 <artisticMink> artisticMink: it's a flag. If set, i'll have to assemble some opengraph data inside the content element context. Currently digging trough your documentation, i should be able to register it as a variable.
  • 16:13:12 <artisticMink> NamelessCoder: Gah, above.
  • 16:15:50 <NamelessCoder> you could use v:variable.register.set / .get
  • 16:16:40 <NamelessCoder> or if your child elements are always direct descendants of your parent, the child element can load the parent's details by {record.pid} + v:content.get / flux:form.values
  • 16:18:20 <artisticMink> NamelessCoder: Yes, thanks. That should come in handy.
  • 16:19:18 <jmverges> Claus, where is stored flux data?
  • 16:20:36 <NamelessCoder> jmverges depends on the context, but always in a "flex" type field on the table you're editing
  • 16:20:52 <jmverges> so, if is a fluidcontent
  • 16:20:55 <jmverges> in tt_content?
  • 16:22:15 <batjony> another question guys, lets say i have a flux form where the first field is a select box and when the user choose something from this selectbox - some other logic in the flux form based on the selected value should appear
  • 16:22:21 <batjony> for just an example I use this http://pastebin.com/JACeRbgE
  • 16:22:49 <batjony> where the text field is populated with the selected value
  • 16:23:07 <NamelessCoder> jmverges fluidcontent_core stores its settings in tt_content.content_options. Fluidcontent stores them in tt_content.pi_flexform. Fluidpages stores them in pages.tx_fed_page_flexform and custom plugin implementations usually store them in tt_content.pi_flexform.
  • 16:23:14 <batjony> is it possibile to implement such "dynamic" flux logic ?
  • 16:23:17 <NamelessCoder> this is flexform data still
  • 16:24:15 <jmverges> NamelessCoder, it is nice
  • 16:27:23 <bjo3rn> hi. is there only a 'inline' field for fal? I'd like to select only one single file.
  • 16:27:48 <bjo3rn> I'm still not getting friends with fal :S
  • 16:27:55 <bjo3rn> *becoming
  • 16:28:22 <NamelessCoder> bjo3rn how about input+linkwizard?
  • 16:28:36 <bjo3rn> to select an image?
  • 16:28:41 <NamelessCoder> iirc that one creates sys_file:123 type references that an go into f:image et al
  • 16:28:55 <bjo3rn> hm.
  • 16:29:01 <NamelessCoder> yeah, set activeTab="file" I think it is
  • 16:29:16 <bjo3rn> true, but bad for editors
  • 16:29:36 <bjo3rn> I'd rather drop fal then
  • 16:30:04 <bjo3rn> the images won't be reused in other places of the site in this case anyway
  • 16:30:10 <NamelessCoder> you could do a flux:field.file but that does add a lot more buttons and options
  • 16:30:31 <bjo3rn> this is how I'm used to do it.
  • 16:32:03 <bjo3rn> plus 'create new relation' is not the best label for a button that lets you choose a file :S
  • 16:32:47 <bjo3rn> or can I hide that one?
  • 16:33:19 <bjo3rn> ah, seems so, yes
  • 16:33:27 <bjo3rn> 'enabledControls'
  • 16:37:42 <bjo3rn> hm, not really
  • 16:38:56 <NamelessCoder> maybe EXT:easyfal can be of service?
  • 16:39:50 <bjo3rn> easyfal? let me check.
  • 16:42:07 <bjo3rn> meh, 2 out of 2 hits in 'When not to use' ^^
  • 16:42:14 <NamelessCoder> :/
  • 16:42:37 <bjo3rn> anywho
  • 16:42:52 <bjo3rn> I'll stick to ye olde file field
  • 16:43:47 <NamelessCoder> batjony your logic example is already using exactly the dynamic logic Flux allows
  • 16:52:27 <cbleicker> hi there
  • 16:52:41 <cbleicker> doing my first steps with flux
  • 16:53:08 <cbleicker> what should i do with this one? AdditionalConfiguration.1414852807.php
  • 16:53:40 <NamelessCoder> cbleicker nothing, ideally. It's a migration file used by the EM script of fluidcontent_core
  • 16:54:53 <NamelessCoder> purpose is to allow fluidcontent_core to detect back in history all the versions of AdditionalConfiguration.php which it has written so that it can overwrite any version it wrote but leave any modified files intact (leaving it up to the admin to include any changes in that file)
  • 16:55:32 <cbleicker> so on a totaly fresh installation nothing to do?
  • 16:56:15 <NamelessCoder> except running the EM update script for fluidcontent_core or manually copying the current version of AdditionalConfiguration.php to typo3conf/ ? No, nothing required.
  • 16:56:45 <NamelessCoder> all the EM script does is copy the file if it detects the file can safely be replaced or does not already exist
  • 16:57:03 <cbleicker> ok
  • 16:59:00 <cbleicker> i want to use dev-master of fluidcontent_core
  • 16:59:34 <NamelessCoder> should be safe to do but look out for unannounced changes since it's beta
  • 16:59:36 <cbleicker> currently it marked in ext_emconf as 2.1.99 it seems and i end up in:
  • 16:59:39 <cbleicker> The extension vhs is needed in version 2.1.0 - 2.1.99, but could not be fetched from TER
  • 17:00:30 <NamelessCoder> that's quite odd. Plenty 2.1.* versions exist but of course, the most recent one is 2.2.0 from today
  • 17:00:32 <cbleicker> erm, sorry. master says its 2.2.0 in ext_emconf
  • 17:01:01 <NamelessCoder> no risk in ignoring that constraint
  • 17:01:07 <cbleicker> okay
  • 17:01:12 <cbleicker> thank you
  • 17:01:20 <NamelessCoder> 2.2.0 is merely a formality to switch on 7.0 support ;)
  • 17:11:45 <jmverges> hey guys, how could I get the uid of a CE made with flux?
  • 17:11:50 <jmverges> in fluid
  • 17:17:10 <jmverges> {record.uid}
  • 17:17:12 <jmverges> ?
  • 17:30:58 <qnic> NamelessCoder, hi, do you have a few minutes? I'd like to discuss your proposal for implementing page.resources.fal record sliding in vhs from issue #679.
  • 18:48:54 <cbleicker> need initial help to understand page templating with fluidpages
  • 18:49:22 <cbleicker> page record shows: Data Structure ERROR: No proper configuration!
  • 18:49:44 <cbleicker> is this a fluidpage setting or is this some core stuff?
  • 18:49:57 <cbleicker> i am totaly out of t3 ^^ did to much neos ^^
  • 18:51:27 <cbleicker> frontend ends up in exception that typo3conf/ext/fluidpages/Resources/Private/Templates/Page/Default.html is not found. how to tell fluidpages that the templates are located in my personal site package?
  • 18:54:03 <cbleicker> or do i still need backend layouts?
  • 18:57:42 <qnic> cbleicker, you need to set the backend layout to fluidpages on your root page
  • 18:57:47 <qnic> and then select a page template
  • 18:59:06 <cbleicker> how to set it to fluidpages? where is the relation done?
  • 19:00:25 <cbleicker> i am confused. is this still valid? http://docs.typo3.org/typo3cms/extensions/fluidpages/ because i see classnames without namespacing everywhere
  • 19:02:36 <qnic> https://fluidtypo3.org/documentation/templating-manual/templating/provider-extension/generating-extensions.html
  • 19:02:39 <qnic> this is probably a beter resource
  • 19:03:02 <qnic> https://fluidtypo3.org/documentation/templating-manual/templating/using-templates/selecting-page-templates.html
  • 19:03:24 <cbleicker> okay. am i right that i need my own provider do be able to render my page templates?
  • 19:03:29 <qnic> yes
  • 19:03:33 <qnic> you need a provider extension
  • 19:03:37 <cbleicker> okay
  • 19:03:57 <cbleicker> so for what is fluidpages in this case? just to deliver the abstracts?
  • 19:04:09 <qnic> recent fluidpages versions also require you to set the 'backend-layout' field on the appearances tab of your root page properties to 'Fluidpages'
  • 19:04:25 <qnic> it provides all required infrastructure
  • 19:04:44 <qnic> you only have to provide the concrete site-specific templates in your own extension
  • 19:06:51 <cbleicker> arrr, got it
  • 19:07:31 <cbleicker> so simply disable the default fluidpage ts config in extmgn setup and copy this stuff to my own extension ts wich assigns then my own provider?
  • 19:08:57 <qnic> you shouldn't need any ts for using fluidpages
  • 19:09:37 <qnic> FluidTYPO3\Flux\Core::registerProviderExtensionKey($_EXTKEY, 'Page'); should take care of everything you need for basic pages
  • 19:09:45 <qnic> (in ext_tables.php)
  • 19:11:02 <NamelessCoder> qnic sorry, don't expect I'll have time today
  • 19:11:34 <qnic> NamelessCoder, I'll bug you some other time then
  • 19:12:01 <NamelessCoder> cbleicker if you still use 6.2 you might want to try installing the EXT:site distribution - it creates a basic setup that renders out of the box. We're still not quite ready for 7.x though
  • 19:13:02 <cbleicker> using 6.2 but i want to understand and study it instead of autobuilding stuff ;)
  • 19:13:26 <cbleicker> i will just give builder a try and will take a look what it generates for —pages
  • 19:13:30 <qnic> cbleicker, then you should probably read the complete guide on fluidtypo3.org
  • 19:14:21 <NamelessCoder> oh that's not autobuilding in the common sense of the word ;) it uses EXT:builder to generate the extension - we recommend you do that anyway. All EXT:site really does is load dependencies and insert a working setup (all the stuff you normally do in fresh sites - top page, three sub pages, a TS template, select which FE template to use, etc)
  • 19:14:35 <NamelessCoder> but understanding is always a good thing, no doubt
  • 19:18:08 <cbleicker> uuuuh. now i have the mistake i make :) this one tells the flux core to look for templates in my extension, right?
  • 19:18:10 <cbleicker> \FluidTYPO3\Flux\Core::registerProviderExtensionKey('foo', 'Page');
  • 19:18:50 <NamelessCoder> yep, that tells any feature using Flux to enable the "Page" controller type that your extension has templates for it
  • 19:19:37 <cbleicker> what i thought what it does ist: "register a new provider found in package 'foo' and is called class PageProvider{}"
  • 19:19:52 <cbleicker> something similar like a plugin controller registration
  • 19:20:38 <NamelessCoder> it's similar to registering a plugin - I see the confusion in the method name; the intention was to make it read "register provider-extension key"
  • 19:20:55 <cbleicker> yep :) got it now
  • 19:21:00 <NamelessCoder> because we use the term Provider Extension for "the extension that contains your templates and controllers for ft3 features"
  • 19:21:11 <cbleicker> yes
  • 19:21:19 <cbleicker> now its clear :)
  • 19:21:34 <cbleicker> it was the naming wich confuses me
  • 19:22:43 <NamelessCoder> very valid point - we want to change that by using more naming conventions and detection of classes/files
  • 19:22:59 <cbleicker> registerExtensionKeyForFluxProvider() and i think i would not struggle about this :)
  • 19:23:00 <NamelessCoder> ideally flux et al would "just know" those templates can be used
  • 19:23:45 <cbleicker> :)
  • 19:24:13 <cbleicker> thank you for clearing this and unknot my brain ^^
  • 19:24:47 <NamelessCoder> anytime :)
  • 19:25:33 <NamelessCoder> I have to go but if you run into similar things don't hesitate to make a list of your pitfalls - we can use that info
  • 19:37:15 <cbleicker> ^^ Could not analyse class:vhs\ViewHelpers\Content\RenderViewHelper maybe not loaded or no autoloader
  • 19:41:54 <cbleicker> solution: never copy & paste template code from documentation without a review ;)
  • 19:42:20 <cbleicker> where to report bugs/stories etc?

20141204

  • 08:46:20 <soee> mrboe: ping
  • 08:57:41 <mrboe> hi
  • 09:48:03 <batjony> guys does someone know why multiple checkboxes like <flux:field.select name="pageType" renderMode="checkbox" items="{197 : 'news', 198 : 'events'}" /> does not work ?
  • 09:48:33 <batjony> how can I render multiple checkboxes with flux ?
  • 10:10:00 <batjony> i found the issue, you should always set the argument maxItems > 1
  • 10:10:11 <batjony> otherwise no checkboxes :)
  • 10:43:08 <Akii> I just added a CE on a non default language and a new CE magically appeared on the default language and is now no longer removable nor can be seen in the BE
  • 11:13:25 <bjo3rn> mahlzeit. can I override the button label of inline FAL fields 'Add new relation'?
  • 11:15:14 <drlimbo> good morning
  • 11:15:54 <drlimbo> what are you guys using to create a website search with fluidtypo3?
  • 11:16:11 <drlimbo> i thought about indexed_search or ke_search - but both need an own indexer
  • 11:55:32 <batjony> guys is there a way to access the flux configuration variables from a ContentController ?
  • 11:56:28 <batjony> most likely with a custom Flux Provider
  • 12:03:38 <batjony> i mean that if i have a custom content element "Test" and a flux field "name", how can I access the variable "name" in the ContentController:testAction() ?
  • 13:57:16 <mrboe> hey guys - i have a additional col in the translation view "fluid content area"
  • 13:57:35 <mrboe> this shows all content
  • 13:58:19 <mrboe> working on TER Versions
  • 14:00:22 <mrboe> amybody had that problem?
  • 14:00:45 <mrboe> its on on the "language" view
  • 16:27:01 <jmverges> hey mates, I need some help with Page Configuration and subpages. In my root page I have configured some behaviour for itselft and other for subpages, but subpages are not getting it... what am I doing wrong?
  • 16:29:42 <batjony> Guys if i have a custom content element "Test" and a flux field "name", how can I access the variable "name" in the ContentController:testAction() ?
  • 16:31:11 <bjo3rn> batjony $this->data is an array of all fields
  • 16:36:09 <batjony> bjo3rn: 10x, I remember that someone said also something about custom providers, but most likely is some other case
  • 16:52:22 <NamelessCoder> use the settings. prefix so it merges with typoscript and can be accessed in the standard $this->settings array - https://fluidtypo3.org/documentation/templating-manual/templating/using-variables/typoscript-variables.html
  • 17:19:56 <jmverges> NamelessCoder, what about subpages configuration?
  • 17:25:37 <NamelessCoder> on sub-pages, $this->settings is filled with whatever values were inserted in the subpages configuration. It's all described in the documentation.
  • 17:33:42 <cbleicker> hey guys, the first snippet is a layout example? if so why there is a layout in a layout
  • 17:33:43 <cbleicker> ?
  • 17:33:43 <cbleicker> https://fluidtypo3.org/documentation/templating-manual/templating/creating-templates/content-element.html
  • 17:40:36 <NamelessCoder> f:layout inside Layouts is not required, but it helps to put it there for clarity
  • 17:44:14 <jmverges> but NamelessCoder, I don't understand something. If I configure in root pid something for the page configuration and other thing for the subpages, when I go to edit a subpages, shouldn't I see in subpage configuration the one setted in root subpage configuration? I'm just using flux, no php
  • 17:46:20 <jmverges> I mean, subpages inherits the configuration of the parent page, no the configuration setted in subpages of parent page configuration... what a mess I think that I'm getting a headheache
  • 17:50:12 <NamelessCoder> jmverges only for fields which support actually displaying a default value as determined by the "default" property in the TCEforms array. Internally, inheritance works by detecting and removing any values which are either empty, have the same value as the parent or have been explicitly told not to inherit values.
  • 17:50:48 <NamelessCoder> we absolutely only deliver TCEforms arrays. We do not override the JS that preselects, nor do we control the HTML that constitutes fields.
  • 17:51:47 <NamelessCoder> basically: it it works in a flexform context using TCEforms logic, it works in Flux (or can be brought to work - there are exceptions in some very rarely used properties that we don't currently transfer, see fx most recent flux pull request). Nothing more, nothing less.
  • 17:52:12 <NamelessCoder> Flux is not a substitute for TCEforms, it's an API for it.
  • 17:52:15 <jmverges> let me paste some code
  • 17:53:05 <jmverges> http://pastebin.com/CReriJin
  • 17:53:17 <jmverges> what is wrong?
  • 17:53:35 <NamelessCoder> You override the default value which means you don't care about which value the parent has. Default is respected always.
  • 17:53:43 <jmverges> not for all
  • 17:53:51 <jmverges> I'm interested in the select
  • 17:54:02 <jmverges> not in the checkbox
  • 17:54:09 <NamelessCoder> settings.main.container has a default value
  • 17:54:16 <NamelessCoder> default="container-fluid-no-padding"
  • 17:54:19 <jmverges> shiiiiiitttt
  • 17:54:21 <jmverges> sorry
  • 17:54:24 <NamelessCoder> this field thus can never be inherited
  • 17:54:31 <NamelessCoder> I am a machine.
  • 17:54:37 <jmverges> xDDD
  • 17:54:48 <jmverges> better than a Code Sniffer
  • 17:55:06 <jmverges> so, as I understand
  • 17:55:30 <NamelessCoder> code sniffers would never catch this one ;)
  • 17:55:59 <jmverges> thank you NamelessCoder
  • 17:56:28 <NamelessCoder> yw
  • 17:56:52 <jmverges> other question
  • 17:56:58 <jmverges> I will try to develop a blog
  • 17:57:07 <jmverges> just 2 custom doktypes
  • 17:57:11 <jmverges> one for listing
  • 17:57:14 <jmverges> other for pages
  • 17:57:18 <jmverges> post *
  • 17:58:13 <jmverges> there is some way to hide the page layout selection and set someone by default? or, to not show all page layouts and show only some of thems?
  • 17:58:53 <NamelessCoder> an initial value has to be filled but after that you can exclude the field from access by user group or override the TCA showitems definition for your types
  • 18:01:11 <jmverges> I tried this an is interesting
  • 18:01:19 <jmverges> form4_backend_introspection
  • 18:01:40 <jmverges> let's see if I can hide it with the data that provides
  • 18:02:17 <jmverges> TCEFORM.pages.tx_fed_page_controller_action
  • 18:02:48 <jmverges> so, can I hide it just for a specific doktype
  • 18:03:32 <NamelessCoder> this is all old school typo3 stuff
  • 18:04:05 <NamelessCoder> cbleicker I meant to ask you where you found the bad code example in docs? It may already be fixed but I'd like to make sure.
  • 18:04:47 <jmverges> $GLOBALS['TCA']['pages']['types'][\FluidTYPO3\Fluidpages\Controller\PageControllerInterface::DOKTYPE_RAW]['showitem']
  • 18:06:01 <jmverges> show, how could I remove it NamelessCoder ?
  • 18:06:42 <NamelessCoder> same way you normally manipulate the TCA added by extensions. You unset/override it in your own extension.
  • 18:07:08 <jmverges> okey
  • 18:07:12 <jmverges> let's debug
  • 18:17:28 <jmverges> ok, it is removed
  • 18:17:46 <jmverges> now, how could I set a default one NamelessCoder ?
  • 18:37:05 <jmverges> how could I set a $TCA default value depending of the doktype?
  • 18:43:29 <jmverges> :( I had to close
  • 18:43:34 <jmverges> see you tomorrow mates
  • 18:43:44 <jmverges> or later, how knows.
  • 20:17:47 <cbleicker> NamelessCoder: found it here https://fluidtypo3.org/documentation/templating-manual/templating/creating-templates/content-element.html
  • 20:18:09 <cbleicker> first code snippet
  • 20:21:06 <cbleicker> also here: typo3conf/ext/fluidcontent/Resources/Private/Layouts/Content.html
  • 21:24:41 <cbleicker> need to build up a flux form wich allows to select multiple content elements. maybe by suggest. but i have no idea how to do this
  • 21:34:13 <NamelessCoder> you could perhaps use flux:field.relation size>1 maxItems>1 table=tt_content and optionally have a child of that field, flux:wizard.suggest table=tt_content BUT, I would not recommend using "suggest" on tt_content since it searches only in headers and uid
  • 21:37:09 <cbleicker> searching in headers would be totaly okay for me
  • 21:37:35 <cbleicker> but i dont get any search result :(
  • 21:37:52 <Ghanshyam> Hallo team
  • 21:37:54 <Ghanshyam> https://fluidtypo3.org/viewhelpers/fluid/master/Form/SelectViewHelper.html
  • 21:38:48 <NamelessCoder> cbleicker have you tried setting the various properties of the suggest wizard? I believe by default it is optimized to search in pages so it might need a bit of tweaking to find content
  • 21:39:09 <cbleicker> https://gist.github.com/pumatertion/a6f9d9cf6a0c34245464
  • 21:39:32 <cbleicker> this one does not work. i have no idea, is it the stupid cache, the setup, me?
  • 21:40:29 <Ghanshyam> yeah! somethings missing here, I want to know more attributes about select field
  • 21:40:31 <Ghanshyam> http://wiki.typo3.org/Fluid#f:form.select
  • 21:41:46 <cbleicker> NamelessCoder: but it also does not work for table="pages"
  • 21:42:24 <NamelessCoder> cbleicker try with <flux:wizard.suggest table="tt_content" storagePageUids="{0: 1}" storagePageRecursiveDepth="999" />, optionally override the pid restriction using searchCondition="1=1" (last one is an educated guess because I don't remember it specifically)
  • 21:44:56 <NamelessCoder> - don't even remember how to configure a suggest wizard in tceforms...
  • 21:45:37 <cbleicker> i will quit my job ^^
  • 21:45:57 <cbleicker> NamelessCoder: not chance. also not with pages
  • 21:46:18 <NamelessCoder> let me just defuck this.
  • 21:46:20 <cbleicker> tried to get it runnig with pages. this should work, do you think?
  • 21:46:22 <NamelessCoder> oops, debug.
  • 21:46:26 <cbleicker> hrhr
  • 21:46:45 <cbleicker> defuck matches better ;)
  • 21:47:36 <NamelessCoder> let's see here... fluidbootstraptheme progress element, you look like you need some test fields inside you.
  • 21:49:18 <cbleicker> I am overwhelmed by the quantity of viewhelpers ^^
  • 21:50:15 <NamelessCoder> erh I am terribly sorry to say this but
  • 21:50:18 <NamelessCoder> works on my machine
  • 21:50:29 <NamelessCoder> <flux:field.relation table="tt_content" name="contentrelationtest">
  • 21:50:29 <NamelessCoder> <flux:wizard.suggest table="tt_content" pidList="1" pidDepth="999" />
  • 21:50:29 <NamelessCoder> </flux:field.relation>
  • 21:50:42 <NamelessCoder> I've got a content element named "321", searching for "32" yields that result
  • 21:51:19 <NamelessCoder> cbleicker yeah there are a lot of them to get to know. Are you using the XSD+autocomplete feature? If not, you should!
  • 21:51:45 <NamelessCoder> cbleicker is this a page or content template?
  • 21:51:50 <cbleicker> content
  • 21:51:57 <NamelessCoder> okay, check. This was also a content element.
  • 21:53:26 <NamelessCoder> in the XHR request my search dispatches I am seeing these values: value=32&table=tt_content&field=pi_flexform|data|progressBar|lDEF|contentrelationtest|vDEF&uid=4&pid=1&newRecordRow=
  • 21:53:37 <NamelessCoder> (content element name is "contentrelationtest")
  • 21:54:42 <NamelessCoder> is your element already saved when you attempt searching?
  • 21:55:18 <cbleicker> relation?
  • 21:55:24 <cbleicker> i used select
  • 21:55:27 <NamelessCoder> retried again, this time on a fluidcontent_core element which has a different setup - works there too.
  • 21:55:29 <NamelessCoder> ooooogh
  • 21:55:31 <NamelessCoder> hehe :)
  • 21:55:36 <NamelessCoder> needs a relation ;)
  • 21:56:30 <NamelessCoder> I didn't spot that in your example or I would have said something sooner
  • 21:56:47 <NamelessCoder> the suggest wizard must have a parent form element that has the "table" property
  • 21:57:29 <cbleicker> but anyway, if i use relation with multiple="1" it has no effect :(
  • 21:57:45 <NamelessCoder> requires size>1 and maxItems>1 to become a multiple field
  • 21:58:01 <cbleicker> ah
  • 21:58:06 <NamelessCoder> "multiple" property denotes whether or not the field accepts duplicate values (as per TCA naming which yes, kinda sucks in this case)
  • 21:58:20 <cbleicker> thank you
  • 21:58:23 <cbleicker> will try it
  • 21:58:25 <NamelessCoder> always welcome
  • 21:59:19 <NamelessCoder> now, to find out how much is broken on flux+cms7...
  • 22:02:37 <NamelessCoder> cbleicker spotted this one just now! 2ce44f2 [BUGFIX] Fix suggest wizard for new CE in flexforms in CMS master branch
  • 22:03:05 <NamelessCoder> so there IS something quirky, maybe only cms7+, in content records that haven't been saved.
  • 22:03:28 <cbleicker> having 6.2 ^^
  • 22:03:43 <cbleicker> a "group" type is not availble, right?
  • 22:04:03 <NamelessCoder> it's replaced by .relation and .file to separate those two responsibilities
  • 22:04:59 <cbleicker> i mean thsi type: https://www.dropbox.com/s/9ikjfkhm0kmnr6p/Bildschirmfoto%202014-12-04%20um%2022.03.53.png?dl=0
  • 22:05:28 <cbleicker> damn, i did only flow the last time and forget nearly anything about cms :(
  • 22:05:47 <cbleicker> even dont know tca type names anymore ^^
  • 22:13:13 <NamelessCoder> autocompletion will definitely help out
  • 22:13:40 <NamelessCoder> looks like we're missing a field that renders like the above. flux:field.multiRelation was the intention but I think it never got built...
  • 22:13:53 <NamelessCoder> which is certainly a shame, but fixable in a matter of seconds
  • 22:17:58 <NamelessCoder> running tests..
  • 22:18:42 <cbleicker> i took 5 hours to figure out that i have to ask in the chat and you build it in 5 sek. ^^
  • 22:18:58 <NamelessCoder> bam!
  • 22:19:21 <NamelessCoder> I'll have to ask you to switch to the development branch for this one ;)
  • 22:20:15 <cbleicker> flux or any?
  • 22:21:16 <NamelessCoder> flux should suffice
  • 22:21:51 <cbleicker> got it
  • 22:22:01 <NamelessCoder> there's the XSD in case you're using the autocomplete. Btw, tip is to map the xmlns URL to the typo3conf/ext/flux/Resources/Private/Schema/Flux.xsd file so it updates along with Flux
  • 22:22:03 <cbleicker> so multiRelation is my friend now?
  • 22:22:25 <NamelessCoder> yep, multiRelation is internally a group/internal_type=db
  • 22:22:34 <cbleicker> will give it a try :)
  • 22:23:49 <NamelessCoder> seems to work here including suggest wizard
  • 22:24:12 <NamelessCoder> - with one minor exception: the name of the table is not listed below the select field
  • 22:25:53 <cbleicker> i can select and set something :)
  • 22:26:05 <NamelessCoder> that's a good sign ^^
  • 22:26:08 <cbleicker> but after storing its empty again
  • 22:26:18 <NamelessCoder> hmmmmm.......
  • 22:26:36 <cbleicker> the name of the select is totaly free?
  • 22:26:45 <cbleicker> or is name reflected to a tt_content field?
  • 22:27:47 <NamelessCoder> no js errors...
  • 22:28:09 <cbleicker> i mean, storing the whole record
  • 22:28:12 <NamelessCoder> the "name" is what gets used as fluid variable name - only requirement is it has to be a valid lowerCamelCase name with or without dots
  • 22:28:30 <NamelessCoder> was just thinking out loud while debugging ;)
  • 22:28:37 <NamelessCoder> I can reproduce the problem
  • 22:29:47 <NamelessCoder> the hidden input field gets updated correctly... freaky
  • 22:30:21 <NamelessCoder> nailed it.
  • 22:30:32 <cbleicker> :)
  • 22:30:40 <cbleicker> you mean defucked it! :)
  • 22:30:46 <NamelessCoder> unfucked++
  • 22:30:49 <NamelessCoder> hehe
  • 22:31:08 <NamelessCoder> that missing record type icon should have told me something
  • 22:31:54 <cbleicker> thats funny
  • 22:32:18 <cbleicker> i simply reload without saving and getting the stored record?
  • 22:32:44 <cbleicker> thsi allowed flag does not checked on write but on read???
  • 22:32:48 <NamelessCoder> yeah I think it clears the value during rendering if not allowed
  • 22:32:58 <NamelessCoder> you got me, it does look that way
  • 22:33:12 <NamelessCoder> I would certainly expect a check on write
  • 22:33:41 <cbleicker> but this is a bad? cms bug i think
  • 22:34:13 <NamelessCoder> not sure but the fact that this is a flexform may be related
  • 22:35:23 <NamelessCoder> it gets stripped away on save
  • 22:35:30 <NamelessCoder> I think you had a post reload in there somewhere
  • 22:36:21 <cbleicker> indeed
  • 22:36:41 <cbleicker> think this is ready for master ^^
  • 22:37:27 <NamelessCoder> we're building up to a flux 7.2 release soon but there's a bit of a problem; seems the legacy templateRootPath name was completely dropped in favor of array templateRootPaths so we have to be smart and adapt
  • 22:37:52 <NamelessCoder> I'm investigating now how bad it is
  • 22:41:08 <cbleicker> so there will be no v6.2 release including the new formelement?
  • 22:42:48 <cbleicker> there is a missing use statement in the the viewhelper
  • 22:43:06 <cbleicker> annotaton @return is relative interface
  • 22:44:59 <NamelessCoder> sure sure, there will be a 6.2 compatible release with this component included
  • 22:45:09 <NamelessCoder> we will keep supporting 6.2 until we have a new LTS
  • 22:47:01 <NamelessCoder> there we go
  • 22:49:49 <NamelessCoder> I am on a roll tonight
  • 22:53:47 <NamelessCoder> and that's how you support CMS 7 ^^
  • 22:58:02 <xaver> yeah i fixed the dam opcacheGUI and i think the developer of that tool need to be reassigned as garbage collector in real-life
  • 22:58:19 <cbleicker> i dont have a chance to port this vh to my own package because of this? $className = $this->createComponentClassName($type, 'FluidTYPO3\Flux\Form\Field');
  • 22:59:28 <NamelessCoder> hehe xaver
  • 23:00:00 <xaver> its true, take a look how the config works -_-
  • 23:00:06 <NamelessCoder> cbleicker we check if the generated class exists and if not, we try to use the FQN you specify
  • 23:00:13 <xaver> also the logging stuff is nearly finished
  • 23:00:15 <NamelessCoder> our checks maybe could be smarter there
  • 23:01:58 <cbleicker> wich i specify? this is the SCOPE constant?
  • 23:04:03 <NamelessCoder> cbleicker just the full class name passed as $type should do it - this is the line that resolves the class: $className = TRUE === class_exists($prefix . '\\' . $className) ? $prefix . '\\' . $className : $className; and we supply $prefix.
  • 23:04:27 <cbleicker> year, okay. passed as argument i see
  • 23:04:30 <cbleicker> thank you
  • 23:04:34 <NamelessCoder> currently the prefix is hard, but FQN class name support should work :)
  • 23:04:57 <NamelessCoder> one of those features one uses once maybe per year
  • 23:05:44 <NamelessCoder> if you want to pimp that approach, there's the option to create forms as pure PHP
  • 23:06:06 <NamelessCoder> that way you can be as creative as you want with precomposed Forms and Form Components
  • 23:07:49 <NamelessCoder> there's a tiny bit of that in this gist: https://fluidtypo3.org/library/code-examples.html?tx_fluidshare_display%5Bgist%5D=1&tx_fluidshare_display%5Baction%5D=display&tx_fluidshare_display%5Bcontroller%5D=Gist&cHash=0aad324cc78ca0e8a913a6fefe195e4c
  • 23:10:58 <NamelessCoder> out of curiosity cbleicker can you reveal what you are working on?
  • 23:13:53 <cbleicker> no i cant because of stupid aggrement with the client
  • 23:13:53 <cbleicker> nda ^^
  • 23:13:53 <cbleicker> as smaller the project is, the more nda i get ^^
  • 23:13:56 <cbleicker> but it is a stupid onepager with menues build from content sections
  • 23:14:13 <NamelessCoder> we all know the nda thing :)
  • 23:14:27 <NamelessCoder> I'm under contract to not even state the name of my current client...
  • 23:14:35 <cbleicker> nda sucks :( i cant tell about 90% of my projects ...
  • 23:15:15 <cbleicker> sometimes i feel like a prostitute. "fuck me, but dont tell anyone!"
  • 23:15:23 <NamelessCoder> lol
  • 23:15:44 <NamelessCoder> sadly, that analogy is not entirely wrong :)
  • 23:16:25 <cbleicker> so, if i would do all of this in ts i could build the menu by the pid list i have now. it there a vh wich simply fetches a content record by a given uid?
  • 23:16:44 <NamelessCoder> of course there is
  • 23:16:53 <NamelessCoder> v:content.get + contentElementUids(array $uids)
  • 23:16:56 <cbleicker> found a record vh but it expects a complete row?
  • 23:17:05 <cbleicker> oh
  • 23:19:47 <NamelessCoder> if you only require a single field from said record, you can use v:content.info + field
  • 23:20:42 <NamelessCoder> same .info VH exists for page
  • 23:22:33 <NamelessCoder> you can also do stuff like {v:content.info(uid: contentUid, field: 'header') -> v:or(alternative: 'LLL:contentWithoutTitle')}
  • 23:22:51 <NamelessCoder> since I know that you currently posses a list of UIDs ;)
  • 23:30:27 <cbleicker> doing this now:
  • 23:30:29 <cbleicker> <f:for each="{v:content.get(contentUids:'{menuItems->v:iterator.explode()}', render:false)}" as="singleRecord">
  • 23:30:29 <cbleicker> <f:debug>{singleRecord}</f:debug>
  • 23:30:29 <cbleicker> </f:for>
  • 23:31:06 <NamelessCoder> that should do it
  • 23:31:23 <NamelessCoder> if you only ever require the content UIDs as an array, set transform="array" on the flux:field
  • 23:31:36 <NamelessCoder> that'll explode it good before assigning it to template
  • 23:41:40 <NamelessCoder> for anyone reading: drag-n-drop is broken in CMS 7 if you use the master branch of the typo3 core. But it's not our fault: seems a JS library is a bit broken.
  • 23:49:13 <cbleicker> bugtracker for flux?
  • 23:49:56 <NamelessCoder> https://github.com/FluidTYPO3/flux/issues but don't hesitate to ask here before writing reports - might save time
  • 23:50:23 <NamelessCoder> we keep the list very short so that people can check it with no effort ;)

20141205

  • 00:08:28 <NamelessCoder> I am off - sleep tight! Hope you made good progress on the project
  • 09:17:09 <mrboe> good morning
  • 09:22:43 <mrboe> hey guys - like i wrote yesterday: i got a "Fluid Content Area" in the backend "Language" view. This is not in my template and contains content of my content areas. is this a known bug? FT3 TER + 6.2.7
  • 09:26:57 <mrboe> @bjo3rn
  • 09:37:58 <bjo3rn> mrboe
  • 09:38:20 <mrboe> any idea about the language problem
  • 09:38:28 <bjo3rn> it exists ^^
  • 09:38:38 <mrboe> ok
  • 09:38:59 <mrboe> so the issue is reported?
  • 09:39:26 <bjo3rn> don't know.
  • 09:39:54 <bjo3rn> I just tried myself and I can confirm it
  • 09:40:31 <mrboe> thx
  • 09:45:34 <bjo3rn> mrboe fluidpages#212
  • 09:45:35 <FT3BOT> Issue 212: Colpos 18181 shows up as column in Language mode https://github.com/fluidtypo3/fluidpages/issues/212
  • 09:50:00 <Akii> ha so that's where this column comes from
  • 09:51:54 <mrboe> thank you bjo3rn
  • 10:24:55 <bjo3rn> ehm, dafuq?
  • 10:25:53 <bjo3rn> I just asked a question and now it is gone. what is happening here.
  • 10:25:54 <bjo3rn> did I dream it?
  • 10:26:04 <bjo3rn> ok, so here it is again:
  • 10:26:31 <bjo3rn> guys, did anyone of you mix a provider extension with a 'normal' extension that provides some plugin?
  • 10:26:50 <bjo3rn> any issues with that approach to expect?
  • 10:41:15 <Akii> +1 on that question
  • 10:41:20 <Akii> i'd guess it just works™
  • 10:48:44 <bjo3rn> dangit. got disconnected again
  • 10:48:54 <bjo3rn> I'd expect it to work as well but it's a little too late in my current project for trial and error ^^
  • 10:48:59 <bjo3rn> ach, what the eff. yolo!
  • 10:49:07 <Akii> that's the spirit
  • 10:49:24 <Akii> what could possibly go wrong™
  • 10:50:15 <bjo3rn> (ot) nice nickname: Knecht Rootrecht
  • 10:50:31 <Akii> haha yes
  • 10:57:40 <cbleicker> hi all
  • 10:59:17 <cbleicker> NamelessCoder: you told me to ask to make sure something is a bug before reporting it. Would you expect, that v:format.url.sanitizeString() santinizing umlauts? ü => ue?
  • 10:59:21 <cbleicker> currently its stripped
  • 11:00:37 <bjo3rn> that's a bug
  • 11:01:03 <bjo3rn> no, it is not. strike that ^^
  • 11:01:13 <bjo3rn> the regex is /([^a-z0-9\-]){1,}/i
  • 11:01:35 <bjo3rn> wanna PR that?
  • 11:03:42 <bjo3rn> cbleicker?
  • 11:08:19 <cbleicker> PR?
  • 11:10:36 <bjo3rn> nvm, I'll come up with a pull request (PR) in a minute.
  • 11:24:41 <cbleicker> thank you, bjo3rn
  • 11:25:06 <bjo3rn> don't party yet. someone special has to accept it first ^^
  • 11:25:34 <cbleicker> :)
  • 11:26:45 <cbleicker> maybe somebody can explain why my labels and descriptions not shown? what confuses me: if i install fluidcontent_bootstrap additionaly, there types walking into bootstrap tab and also label and description appears. https://www.dropbox.com/s/7a1ojjbze18e3dd/Bildschirmfoto%202014-12-05%20um%2011.24.50.png?dl=0
  • 11:26:54 <cbleicker> but not without bootstrap package ^^
  • 11:29:30 <jmverges> good morning mates! Friday
  • 11:30:26 <bjo3rn> cbleicker from the empty lines and the missing icon you can tell that there has to be some syntactical error in one of your templates
  • 11:30:57 <bjo3rn> buenas dias jmverges. que tal?
  • 11:31:08 <jmverges> http://thecodinglove.com/post/99645155945/when-they-want-to-assign-me-a-task-on-friday
  • 11:31:08 <bjo3rn> *buenos
  • 11:31:13 <jmverges> va bien bjo3rn
  • 11:32:27 <cbleicker> bjo3rn: but if my templates arent correct … why do the work after installing bootstrap package?
  • 11:32:49 <jmverges> bjo3rn, could you help me with some? I created a custom doktype an I removed the page layout selector for this kind of doktype, know, I need to set a default value for page layout, do you know how to achieve this?
  • 11:33:31 <bjo3rn> hm, no idea, jmverges
  • 11:33:55 <bjo3rn> brb
  • 11:34:45 <jmverges> NamelessCoder?
  • 11:34:56 <jmverges> Claus always knows :P
  • 11:37:10 <soma> cbleicker: looks familiar. try if they show up after you clear all caches in the install tool
  • 11:41:04 <cbleicker> soma: wtf. clearing all cache by install tool works. what is this cache? i already hit any cache button in the backend and also rm -rf typo3temp
  • 11:41:05 <FT3BOT> ¯\_(ツ)_/¯
  • 11:41:44 <soma> cbleicker: not sure, but i also notices hat if you "lcear all system caches" in the BE after that labels go missing again
  • 11:41:58 <soma> also noticed that...
  • 11:42:07 <cbleicker> ^^
  • 11:42:13 <cbleicker> caching sucks ^^
  • 11:44:33 <bjo3rn> this is the mother of all caches
  • 11:44:34 <FT3BOT> Welcome back bjo3rn!
  • 11:45:00 <bjo3rn> tip: enable development environment and you will get that button in the be
  • 11:45:04 <soma> it is a bit unclear to me too what caches exist and what is cleaned by which action. i think clearing in install tool also truncates some database cache tables. but i think without caching typo3 wouldn't be much fun either ;)
  • 11:45:21 <soma> bjo3rn: you mean the flush system caches button?
  • 11:45:28 <bjo3rn> that's correct, soma
  • 11:45:44 <soma> that does something different too
  • 11:46:20 <soma> ^different from the one in install tool
  • 11:46:48 <cbleicker> what is the wizardTab to put my element to typical content?
  • 11:46:49 <bjo3rn> no, those should be the same
  • 11:47:00 <bjo3rn> aha, cbleicker
  • 11:47:07 <bjo3rn> wizardTab is deprecated
  • 11:47:19 <bjo3rn> use options="{group: 'Foo'}"
  • 11:48:04 <soma> bjo3rn: hm. i notices the same problem as cbleicker. if i have FCEs and clear all system caches in BE, then title/description/wizardtab for all FCEs is lost and they are placed under plugins tab. if i then clear caches in install tool these show up again
  • 11:48:35 <soma> and i'm using the new options array already
  • 11:48:46 <jmverges> doesn't nobody know about how to set the defaul Page Layout?
  • 11:49:23 <cbleicker> bjo3rn: {group:'What here to put it in first default group tab?'}
  • 11:51:52 <bjo3rn> cbleicker don't know. 'default' maybe?
  • 11:54:34 <bjo3rn> cbleicker should be 'common'
  • 11:55:18 <bjo3rn> see http://docs.typo3.org/typo3cms/TSconfigReference/PageTsconfig/Mod/Index.html#pagenewcontentelementwizard
  • 11:56:27 <cbleicker> thanks
  • 11:56:47 <bjo3rn> works?
  • 11:59:17 <jmverges> I'm trying this: TCAdefaults.pages.tx_fed_page_controller_action.default=m8thlayout->Layout
  • 11:59:22 <jmverges> and is not working...
  • 11:59:25 <jmverges> fucking'll
  • 11:59:41 <cbleicker> https://www.dropbox.com/s/u69qyceb3dvdrll/Bildschirmfoto%202014-12-05%20um%2011.58.50.png?dl=0
  • 11:59:43 <cbleicker> ^^
  • 11:59:49 <bjo3rn> cool!
  • 12:00:00 <cbleicker> if i put it into common, any core content is gone ;)
  • 12:00:19 <bjo3rn> but it's there ;)
  • 12:01:33 <cbleicker> hrhr :D
  • 12:01:37 <bjo3rn> jmverges is your controller named LayoutController?
  • 12:01:52 <jmverges> yes
  • 12:01:52 <bjo3rn> don't think so
  • 12:01:55 <jmverges> it is
  • 12:02:01 <bjo3rn> and it is working?
  • 12:02:02 <bjo3rn> ??
  • 12:02:06 <jmverges> yes, sure
  • 12:02:21 <jmverges> well, I don't have a controller
  • 12:02:23 <bjo3rn> ehm, shouldn't that be PageController
  • 12:02:30 <jmverges> it is just a .html
  • 12:02:35 <bjo3rn> ah, ok
  • 12:03:05 <bjo3rn> you can look that value to set up from the db, but you did that I guess
  • 12:03:37 <jmverges> what?
  • 12:03:39 <bjo3rn> does your provider extension have a vendor prefix?
  • 12:03:50 <jmverges> uhm, I don't think so
  • 12:04:11 <jmverges> \FluidTYPO3\Flux\Core::registerProviderExtensionKey('m8thlayout', 'Page');
  • 12:04:16 <bjo3rn> ok
  • 12:04:34 <jmverges> should?
  • 12:04:39 <bjo3rn> no
  • 12:05:10 <bjo3rn> I'm not sure if it should be uppercase
  • 12:05:37 <bjo3rn> set the layout manually and have a look in the db table pages, column tx_fed_page_controller_action
  • 12:05:59 <jmverges> on sec
  • 12:06:06 <bjo3rn> cbleicker I guess we'll have to wait for the wise Dane to show up ^^
  • 12:06:37 <bjo3rn> btw: are you the one having so much fun with Neos on Twitter?
  • 12:08:08 <jmverges> m8thlayout->Main, m8thlayout->Layout
  • 12:08:56 <bjo3rn> ok, so that's correct
  • 12:09:02 <jmverges> so I think that I need to overwrite in some way "parent decides"
  • 12:09:21 <bjo3rn> mayhaps
  • 12:10:06 <jmverges> I really don't know how
  • 12:10:28 <jmverges> should be as easy as $TCA['pages']['columns']['tx_fed_page_controller_action']['value'] = 'm8thlayout->Layout';
  • 12:11:26 <bjo3rn> what about tx_fed_page_controller_action_sub?
  • 12:13:59 <jmverges> what about it?
  • 12:15:04 <bjo3rn> wild guess. to set the template for subpages and overriding 'parent decides'
  • 12:15:21 <jmverges> let's try
  • 12:27:52 <jmverges> nothing
  • 12:33:30 <bjo3rn> no clue. wait for Claus.
  • 12:35:45 <jmverges> nor this http://pastebin.com/yvcZZcEV
  • 12:35:56 <jmverges> parent decides
  • 12:35:58 <jmverges> always
  • 13:12:42 <jmverges> hi again
  • 13:12:48 <jmverges> I had to move to other place
  • 13:13:05 <jmverges> bjo3rn, do you see something strange in that pastebin?
  • 13:52:03 <jmverges> hey gbod
  • 13:52:16 <jmverges> what is wrong here? http://pastebin.com/yvcZZcEV
  • 16:51:54 <jmverges> hi thereç
  • 18:09:34 <cbleicker> having a content element wich contains subcontent. but the subcontent is never shown. have no idea why. also fluidcontent_bootstrap content of type jumbotron does not output any content
  • 20:45:10 <papillon6> Hi! I'm using a simple "row-FCE" on a multilanguage site. Do i need to translate the FCE itself or is there any option to use the FCE in all languages, since it does not contain any content to translate...? Right now ALL content (translated content, too) is shown in the FCE for the default-language.

20141206

  • 06:52:34 <jmverges> morning mates
  • 07:14:09 <jmverges> hey, could anybody explain me this https://github.com/FluidTYPO3/fluidpages/commit/28da1127239a00b7fafb87a6317d4930ac3d5e63 ?
  • 10:20:49 <jmverges> at the end I will use database triggers
  • 12:45:19 <cbleicker> hi

20141207

20141208

  • 09:12:58 <jmverges> good morning mates
  • 10:34:19 <drlimbo> good morning
  • 10:34:56 <drlimbo> does anyone already mastered to create a custom indexer for ke_search to index typo3fluid elements?
  • 10:35:12 <drlimbo> or does anyone know an alternative to ke_search?
  • 11:01:34 <t33k> hi - I am interested how do you guy cope with <v:page.breadCrumb and the need to have single record title at the end of breadcrumb ?
  • 11:01:41 <t33k> any good advice ?
  • 12:40:41 <rosieres> Anyone familar with ext:form editor ?
  • 12:52:01 <jmverges> uhm
  • 12:52:20 <jmverges> does anyone know if is possible to configure a Extbase Plugin with flux?
  • 18:21:48 <jmverges> hey folks
  • 18:22:05 <jmverges> does anyone noes if there is no reason for include a class into ext_tables?
  • 18:22:17 <jmverges> instead of have all the code with comments

20141209

  • 09:11:39 <batjony> guys how can I use a view helper in a view helper ?
  • 09:28:36 <bjo3rn> batjony what are you trying to achieve?
  • 09:30:02 <batjony> i want to translate some labels inside my custom view helper
  • 09:30:22 <batjony> i guess i should inject the objectManager ?
  • 09:30:28 <bjo3rn> why not inject the..
  • 09:30:31 <bjo3rn> hehe, yes
  • 09:40:42 <NamelessCoder> the answer is LocalizationUtility
  • 09:54:39 <batjony> NamelessCoder: what is this "LocalizationUtility"
  • 09:55:42 <Xatenev> batjony: using the LocalizationUtility you can access your translation files
  • 09:55:45 <batjony> when i try to call the translate view helper with the objectManager, it throws error Fatal error: Call to a member function getRequest() on a non-object
  • 09:55:59 <Xatenev> for example: LocalizationUtility::translate("key"......)
  • 09:56:15 <batjony> Xatenev: nice 10x
  • 10:00:32 <NamelessCoder> generally speaking, don't ever instanciate another ViewHelper in a ViewHelper. In the case of VHS, all ViewHelpers which make sense as a shared base already have an abstract base class that you can use. Other ViewHelpers are so simple that you simply replicate the function it does - translate, trim, split arrays, format strings, whatever.
  • 10:01:50 <NamelessCoder> and finally, some viewhelpers are simply not designed to ever be used outside Fluid; they require a properly bootstrapped controller context and path setups which are only there if rendered as proper ViewHelperNodes.
  • 10:07:38 <Denyerec> Hey Claus
  • 10:07:40 * Denyerec waves
  • 10:07:59 <NamelessCoder> hey Den!
  • 10:08:39 <Denyerec> You will be relieved to hear I come only with hello's and not problems :)
  • 10:09:27 <NamelessCoder> hehe that's good, for both of us ^^
  • 10:13:31 <Denyerec> ;)
  • 10:13:32 <Denyerec> Is all well ?
  • 10:15:24 <batjony> NamelessCoder: 10x for the view helper's info
  • 10:16:33 <Xatenev> So much 10x
  • 10:16:33 <Xatenev> :p
  • 11:15:21 <Xatenev> Heya peeps
  • 11:15:23 <Xatenev> one question
  • 11:15:32 <Xatenev> I got my own extension to create some kind of content element
  • 11:15:51 <Xatenev> there is the class called contentobjectrenderer which always shows the "Header"
  • 11:15:58 <Xatenev> can i hide the header somehow?
  • 11:16:16 <Xatenev> (I got a header field in the backend which I use somewhere else, I don't want the header to be above the content
  • 11:16:23 <Xatenev> instead I want it to be in a special place which is defined inside my fluid template
  • 11:16:40 <Xatenev> but the contentobjectrenderer is just always rendering the header field at the very top of my element :(
  • 11:18:22 <NamelessCoder> if css_styled_content, you need to either remove the header or add a TS "if" sub-structure. If fluidcontent_core you need to override the Layout template file.
  • 11:21:04 <Xatenev> NamelessCoder: Can't I somehow remove it from the content element in my action?
  • 11:21:13 <Xatenev> Cause im definetly NOT familiar with typoscript :p
  • 11:21:28 <Xatenev> its css_styled_content i think btw
  • 11:25:28 <NamelessCoder> well sorry to say but you're fucked then
  • 11:25:39 <NamelessCoder> css_styled_content means you use TypoScript
  • 11:26:42 <Xatenev> :D
  • 11:26:46 <Xatenev> Well
  • 11:26:58 <Xatenev> How do I add such a ts if substructure?
  • 11:27:01 <Xatenev> cna u give me a hint there?^^
  • 11:27:34 <NamelessCoder> do a search for typo3 css typoscript conditional header
  • 11:27:54 <NamelessCoder> it's a four-five line expression and it depends on your list_type etc.
  • 11:28:12 <Xatenev> I get a lot of results on conditional comments
  • 11:28:14 <Xatenev> Is that what I want?
  • 11:28:21 <Xatenev> Don't think so or?^^
  • 11:29:11 <NamelessCoder> hehe the usual crap when searching for typo3 related info... everything uses generic terms
  • 11:30:20 <NamelessCoder> I think somebody posted a similar code example on fluidtypo3.org
  • 11:30:43 <Xatenev> But in normal content elements
  • 11:30:47 <Xatenev> I got osmething like "Hide header"
  • 11:30:54 <Xatenev> I can choose there from h1 - h6 or hide
  • 11:31:05 <Xatenev> Can't I somehow implement that into my custom CE?
  • 11:31:36 <NamelessCoder> I'm a little hesitant to start supporting css_styled_content setup ;)
  • 11:31:57 <NamelessCoder> the answer is that yes, you can implement this - but it is 100% native TYPO3 in the shape of TCA setup and TypoScript
  • 11:32:30 <Xatenev> :|^^
  • 11:32:51 <Xatenev> Maybe I can simply add a CSS class to the header?
  • 11:32:58 <Xatenev> which I then just put on display:none? ^^
  • 11:33:02 <Xatenev> Its dirty but it would be okay..^^
  • 11:33:03 <NamelessCoder> same situation: you need TypoScript
  • 11:33:12 <NamelessCoder> you're not getting around it as long as you keep using css_styled_content
  • 11:33:26 <Xatenev> Well lets go with ts then .p
  • 11:33:41 <Xatenev> Ive tried using lib.stdheader > already but it doesnt seem to hide the headline
  • 11:33:45 <NamelessCoder> sucks, but that's CSC for you
  • 11:33:53 <Xatenev> from what I know, it should hide every headline
  • 11:34:06 <NamelessCoder> depends on inclusion order among other things
  • 11:35:39 <Xatenev> The problem is, that I dont even know what to google for :D
  • 11:38:59 <NamelessCoder> I'm afraid CSC isn't user friendly in this case, it requires a great amount of TS knowledge and being able to relate it, before you can properly control it
  • 11:40:16 <Xatenev> NamelessCoder: Thats bad for me I guess
  • 11:40:16 <Xatenev> D:
  • 11:40:42 <NamelessCoder> https://fluidtypo3.org/library/code-examples.html?tx_fluidshare_display%5Bgist%5D=14&tx_fluidshare_display%5Baction%5D=display&tx_fluidshare_display%5Bcontroller%5D=Gist&cHash=4f3775e12c6aba6070d8682fb3ead64b is an example that replaces the entire wrapper based on a field's value, maybe that will hint you towards adapting that into lib.stdheader so it makes an empty header if list_type is your plugin
  • 11:51:59 <Xatenev> NamelessCoder: Solved!
  • 11:52:14 <Xatenev> I saw this line:
  • 11:52:28 <Xatenev> tt_content.myext_teaser { 10 = < lib.stdheader
  • 11:52:34 <Xatenev> and then I just wrote
  • 11:52:38 <Xatenev> tt_content.drivefce_teaser.10 >
  • 11:52:42 <Xatenev> which empties the header :)))
  • 11:59:03 <jmverges> hey there folks, good morning all
  • 11:59:13 <jmverges> Just I quick question
  • 12:00:09 <jmverges> I just add to sys_file_reference a categories field
  • 12:00:41 <jmverges> show, now I'm need to get the category selected from each sys_file_reference (images in this case)
  • 12:00:46 <jmverges> how could I do this=?ç
  • 12:06:17 <jmverges> no one?
  • 12:28:24 <braguzz> how can I render tt_content.text.20 without css_styled_content ?
  • 13:17:13 <pedda> hi there
  • 13:17:52 <pedda> if i define some flux settings via typoscript, ho do i label type = select options?
  • 13:18:05 <pedda> fields.myField.type = select
  • 13:18:31 <pedda> fields.myField.items = {key1: 'label 1'} doesn't work
  • 13:18:45 <pedda> is it possible at all ?
  • 13:26:46 <NamelessCoder> pedda the TS has to be a TS array
  • 13:31:41 <pedda> @NamelessCoder labels work now, but i get a FlexFormService Error and the FE remains blank
  • 13:32:27 <pedda> form.fields.myField.items.key1 = Label 1
  • 13:32:38 <pedda> form.fields.myField.items.key2 = Label 2
  • 13:32:52 <pedda> renders a labeled select box in backend with two options, as expected
  • 13:33:41 <pedda> bt then i get an error log message: PHP Fatal error: Cannot create references to/from string offsets nor overloaded objects in .../TYPO3.CMS.6.2.x/typo3/sysext/extbase/Classes/Service/FlexFormService.php on line 48
  • 13:47:00 <pedda> hmm
  • 13:47:18 <pedda> error disappeared probably some caching/faulty flexform issue
  • 13:56:16 <pedda> another question regarding displayCond in a ts based flux form declaration
  • 13:57:23 <pedda> my displayCond looks like this: myField2.displayCond = FIELD:myField:=:key2 but myField2 is dsiplayed even if displayCond is not met
  • 14:26:28 <s-andersen> I need my menu to be special for one specific page. If I make a checkbox in the flux configuration of that page, how do I access the property of that field when building the menu?
  • 14:38:47 <s-andersen> nevermind, Claus has already answered this question elsewhere: http://stackoverflow.com/questions/22489001/access-fluidpage-configuration-in-template
  • 14:43:54 <j6s> Am I correct, that I can not have a variable group for my FCE?
  • 14:44:42 <j6s> (read from my typoscript)
  • 15:04:05 <s-andersen> I'm having trouble using the content elements of the fluidbootstraptheme. Everything is fine in the backend, but it is not rendered in the front-end. Regular elements works fine. Any idea of what could be wrong?
  • 15:09:59 <soee> s-andersen: did not added static template ?
  • 15:12:25 <s-andersen> soee: I have added the static template
  • 15:12:43 <soee> cache cleard ?
  • 15:13:54 <s-andersen> soee: yes
  • 16:31:14 <mrboe> s-andersen: please use latest dev branch
  • 17:54:53 <cbleicker> erm, how to make a difference between translation files in cms? prefix/folder/ substructure in xlf?
  • 18:03:50 <NamelessCoder> cbleicker in which context?
  • 18:06:46 <cbleicker> ehm?
  • 18:08:28 <NamelessCoder> are you trying to change labels for TCA fields? Trying to change which file f:translate will use?
  • 18:08:57 <NamelessCoder> or did I misunderstand you and were you asking how to create each translation?
  • 18:09:22 <NamelessCoder> if its the latter, just copy locallang.xlf to locallang.de.xlf etc. and adapt ;)
  • 18:10:03 <cbleicker> using f:translate and cms always using the locallang.xfl. tried de.locallang.xlf
  • 18:10:08 <cbleicker> no effect
  • 18:10:18 <cbleicker> locallang.de?
  • 18:10:25 <NamelessCoder> rename to locallang.de.xlf and bob's your uncle
  • 18:10:43 <NamelessCoder> (don't forget to nuke the system cache)
  • 18:10:56 <cbleicker> https://github.com/TYPO3-extensions/powermail/blob/master/Resources/Private/Language/de.locallang.xlf ^^
  • 18:11:06 <cbleicker> so thsi is a crap extension? ^^
  • 18:11:15 <NamelessCoder> I can only assume powermail uses full LLL references
  • 18:11:31 <NamelessCoder> or that the translation file is redundant because it uses the translation server
  • 18:11:42 <NamelessCoder> I stand by my suffix info ;)
  • 18:12:02 <cbleicker> locallang.de.xml no effect
  • 18:12:06 <NamelessCoder> xlf
  • 18:12:13 <cbleicker> year
  • 18:12:20 <NamelessCoder> if this is not an xlf, everything goes into the same file
  • 18:12:23 <cbleicker> sorry.
  • 18:12:30 <cbleicker> it is xlf :)
  • 18:12:47 <NamelessCoder> ah ok. in that case, this should be working if your language key is indeed "de" and the language variable gets applied correctly
  • 18:12:55 <NamelessCoder> backend/frontend?
  • 18:12:58 <cbleicker> what does t3 use here? locale_all or internal language?
  • 18:13:11 <NamelessCoder> iirc, config.locale
  • 18:13:22 <NamelessCoder> stripped charset part
  • 18:19:06 <cbleicker> localization utility gets correct language de
  • 18:19:49 <cbleicker> works
  • 18:20:01 <cbleicker> its de.locallang.xlf ^^
  • 18:20:16 <cbleicker> and constants fucks me ^^
  • 18:25:25 <cbleicker> thanks, NamelessCoder
  • 18:38:50 <NamelessCoder> hehe I stand corrected

20141210

  • 09:35:59 <qBic> hey guys ... i have a very odd problem with fluid content elements
  • 09:36:25 <qBic> i already posted a report on github, but didn't get any answer yet
  • 09:36:50 <qBic> if i insert a new fluid content element on the first position everything is fine
  • 09:37:36 <qBic> but if i insert the element somewhere else, i guess sometimes the flux configuration is not found
  • 09:37:52 <qBic> this would be the report on github: https://github.com/FluidTYPO3/fluidcontent/issues/201
  • 10:39:21 <cbleicker> heyho
  • 10:42:02 <cbleicker> response in extbase does not contain any response header infos, right? i need to set the header directly in the controller action?
  • 10:46:55 <Akii> cbleicker: $this->response->addAdditionalHeaderData
  • 10:47:49 <cbleicker> and this will be processed from general page building?
  • 10:48:09 <Akii> yep even works for cached pages
  • 10:52:05 <cbleicker> aha :)
  • 10:52:06 <cbleicker> \TYPO3\CMS\Extbase\Mvc\Web\Response::setStatus
  • 10:52:35 <cbleicker> thanks, akii
  • 10:52:47 <Akii> np
  • 10:58:45 <tdeuling> hi @ all. is there a viewhelper in vhs for rendering a partial from a thirdparty extension?
  • 10:59:32 <qBic> hey guys ... i have a very odd problem with fluid content elements
  • 10:59:32 <qBic> i already posted a report on github, but didn't get any answer yet
  • 10:59:33 <qBic> if i insert a new fluid content element on the first position everything is fine
  • 10:59:33 <qBic> but if i insert the element somewhere else, i guess sometimes the flux configuration is not found
  • 10:59:33 <qBic> this would be the report on github: https://github.com/FluidTYPO3/fluidcontent/issues/201
  • 11:03:16 <NamelessCoder> tdeuling see https://fluidtypo3.org/viewhelpers/vhs/master/Render/TemplateViewHelper.html
  • 11:06:33 <tdeuling> NamelessCoder thanks, that one i've found already :) I thought about a viewhelper like: https://gist.github.com/Teddai/5830257 I think it's prettier to call such a viewhelper by using extensionName and partial..
  • 11:08:11 <tdeuling> wouldn't be it interesting for vhs? I could integrate them and create a pull request..
  • 11:09:14 <NamelessCoder> they do pretty much the same thing
  • 11:10:52 <NamelessCoder> what we could use, is support for rendering a specific section inside v:render.template, and I have no objections against letting v:render.template accept either the template path OR an extensionName+(template|partial=path-starting-from-templates-root)+(section).
  • 11:18:08 <tdeuling> that sounds good. the selection of a special section within a template/partial is absolutely necessary.
  • 11:18:45 <NamelessCoder> definitely; I think it's only missing from both those viewhelpers because they are from the 4.x days
  • 11:21:53 <tdeuling> I could offer some help on that, but I think I couldn't do that in such a good code quality like yours ;)
  • 11:24:09 <NamelessCoder> the first step would be to just get it working inside the class - if you do that and create a PR, we'll go over it together
  • 11:26:46 <qBic> hey @NamelessCoder, do you have any idea what could cause my above mentioned Problem with fluid content elements???
  • 11:26:47 <Guest|35521> I am trying to set up a new page with fluidcontent_core (+page,content,vhs) and tried to create a vanilla mailform, but i can't see any fields to edit in backend. did i miss anything or is the mailform not implemented in fluidcontent_core yet?
  • 11:28:28 <j6s> I am trying to set the group of an FCE via typoscript but it's not working properly. Is the thing I am trying even possible?
  • 11:28:58 <NamelessCoder> qBic unless you're using a custom Provider class and it is set up to be a bit too eager to trigger on content records, no... no idea.
  • 11:31:41 <qBic> well, no ... but maybe this helps: the problem occured updating TYPO3 from 6.1 to 6.2 and updating flux, vhs, fluidpages & fluidcontent to the current github versions
  • 11:33:12 <cbleicker> erm, controller action: $this->controllerContext = NULL ???
  • 11:33:17 <cbleicker> why NULL?
  • 11:36:02 <cbleicker> $this->getControllerContext()->getRequest()->getArguments()->getArgument('foo') should be possible or not?
  • 11:37:21 <cbleicker> this one works: $this->arguments->offsetGet('contact')->getPropertyMappingConfiguration()
  • 11:39:14 <NamelessCoder> $this->arguments is the definition, $this->request holds the request arguments
  • 11:39:39 <NamelessCoder> $this->controllerContext is, iirc, deprecated in favor of getControllerContext() - or vice versa
  • 11:47:41 <Guest|35521> i see you have bigger problems, but could i get a quick answer if the standard mailform is usable now with fluidcontent_core?
  • 11:56:09 <batjony> guys, how can I disable the view from a ContentController action ?
  • 11:56:36 <batjony> return false doestn work
  • 11:56:51 <tdeuling> @NamelessCoder sorry, got a phone call. I'll start it and send you a PR
  • 11:57:33 <NamelessCoder> Guest|35521 if I am remembering it right: the search, login and contact forms all silently depend on css_styled_content which is why fluidcontent_core does not (currently) support them.
  • 11:58:00 <NamelessCoder> tdeuling no rush, I am not really here
  • 11:59:54 <batjony> guys why something like http://pastebin.com/FewDxAL4 still renders the view
  • 12:00:39 <NamelessCoder> batjony return something not-empty
  • 12:01:03 <NamelessCoder> empty return means extbase calls the view->render
  • 12:02:17 <batjony> ya works now, i didnt know it, is there some other way to disable the view instead of return "something"
  • 12:02:34 <batjony> something like $this->getVIew()->setDisabled(true)...
  • 12:03:08 <Guest|35521> ok, thank you
  • 12:05:04 <NamelessCoder> batjony the short answer is no. The long answer is yes, but you have to manipulate the controller class - not the view. The controller renders the view, not the other way around
  • 12:05:38 <NamelessCoder> and you may find yourself overriding a handful of methods, all in the name of trying to avoid returning something not-empty
  • 12:10:16 <Xatenev> Heya
  • 12:10:34 <Xatenev> One question, its not really related to fluid but probbaly somebody of you knows the solution^^
  • 12:10:52 <Xatenev> I am using the normal backend content element "Text & Images". Problem: the images are rendered into the source code with width 0 and height 0
  • 12:10:58 <Xatenev> Maybe somebody got an idea? =)
  • 12:11:12 <Xatenev> It works for all other typo3 projects here...
  • 12:12:16 <Guest|35521> Xatenev do the image tests in install tool work?
  • 12:12:25 <Xatenev> It works for single images
  • 12:12:30 <Xatenev> the normal single image content element
  • 12:12:34 <Xatenev> just not with text & images...
  • 12:14:20 <Guest|35521> Xatenev maybe try a older css_styled_content static template?
  • 12:14:37 <Xatenev> *trying*
  • 12:14:37 <Xatenev> ^^
  • 12:15:06 <Xatenev> not working
  • 12:15:07 <Xatenev> =(^^
  • 12:18:21 <NamelessCoder> DENMARK! FUCK YEAH! http://i.imgur.com/zOKErBJ.jpg
  • 12:18:53 <Guest|35521> so at least its not a problem of typoskript. weird it works for single images
  • 12:20:09 <Guest|35521> would have guessed it would be some kind of ts register stuff.
  • 12:25:31 <Akii> haha
  • 14:52:34 <j6s> May I ask again, if I am right, that I can not read my group name from typoscript?
  • 16:37:15 <mloew> Hi everyone, can someone give me some hints as to why my Fluid Content Elements aren't displayed in the Typo3 Backend?
  • 16:37:40 <mloew> I use <flux:form wizardTab="Content Elements" >
  • 16:38:25 <mloew> Are there any common mistakes I could check for?
  • 16:42:49 <Akii> thats obsolete, read the changes and/or current documentation
  • 16:43:08 <mloew> If I manually chose "Fluid Content" as Content Type I see no types
  • 16:43:26 <mloew> I know it's deprecated... I can't update to the current TER Version as of right now =/
  • 16:43:39 <mloew> I'm on Flux 7.0.0
  • 18:53:28 <cbleicker> counter_number
  • 18:53:33 <cbleicker> counterNumber
  • 20:20:02 <cbleicker> anybody knows this? Exception while property mapping at property path &quot;customers.0&quot;:The target type was no string, but of type &quot;NULL&quot;
  • 20:44:02 <NamelessCoder> cbleicker sounds like a cached reflection of the controller argument not being refreshed
  • 20:44:19 <NamelessCoder> or a custom mapping rule that's not correct
  • 20:48:02 <cbleicker> extending AbstractEntity and it will be converted. without entity its not converted
  • 20:48:09 <cbleicker> watzefug?
  • 20:49:50 <NamelessCoder> only entities can be converted by the default PersistedObjectConverted
  • 20:51:29 <cbleicker> why?
  • 20:51:47 <cbleicker> this is totaly useless if youre working with dto :(
  • 20:54:36 <NamelessCoder> EXT:news solves this by manually mapping the DTO
  • 20:54:39 <NamelessCoder> https://git.typo3.org/TYPO3CMS/Extensions/news.git/blob/HEAD:/Classes/Controller/NewsController.php
  • 20:55:15 <NamelessCoder> I would create a typeconverter or register a genericobjectconverter for that argument
  • 21:45:16 <cbleicker> NamelessCoder: you can convert to simple objects ^^
  • 21:45:49 <cbleicker> ->setTypeConverterOption('\TYPO3\CMS\Extbase\Property\TypeConverter\PersistentObjectConverter', \TYPO3\CMS\Extbase\Property\TypeConverter\PersistentObjectConverter::CONFIGURATION_TARGET_TYPE, 'TYPO3\CMS\Extbase\Persistence\ObjectStorage<Foo\Bar\Domain\Dto\Customer>')
  • 21:46:46 <cbleicker> totaly wired

20141211

  • 09:29:16 <jmverges> good morning room
  • 09:33:56 <cbleicker> good moring
  • 09:34:28 <cbleicker> anybody knows the convention to introduce a domain validator wich matches auto for a model?
  • 09:34:51 <cbleicker> having one in Domain/Validator/FooValidator.php
  • 09:34:56 <cbleicker> but it never matches
  • 09:43:19 <jmverges> no idea
  • 09:43:37 <Akii> http://i.imgur.com/fA186Xf.jpg
  • 10:21:24 <ndee_> does anyone know how to convert an object (result from a repo) from an action controller to JSON?
  • 10:22:40 <ndee_> vhs to the rescue, thanks!
  • 10:28:18 <Akii> ndee_: JsonView
  • 10:37:20 <ndee_> Akii: I only needed a single object to be converted as JSON, used the vhs json.encode viewhelper.
  • 10:38:17 <Akii> nice way of tackling recursion
  • 11:19:47 <steffen-j> I have a question. When using the image-element from fluid content core, is there a way to define dimensions of the image and element margins like with the css_styled_content?
  • 11:29:57 <j6s1> Quick input: at https://fluidtypo3.org/documentation/templating-manual/templating/using-variables/typoscript-variables.html under Solution -> 5 there is an unexpected codeblock started by the ` in won`t
  • 12:38:23 <jmverges> hey folks, is there any way to manage Layouts? I mean I have a extension with 500 layouts, but I only want to be able to select between 10 in the current website
  • 12:38:44 <jmverges> could you be interested in this feature? or is something that could be done and I don't know how?
  • 12:39:39 <jmverges> I think that a few lines in PageLayoutSelector.php could do this
  • 12:39:51 <jmverges> NamelessCoder, bjo3rn, danilobuerger ?
  • 12:40:01 <danilobuerger> ?
  • 12:40:04 <jmverges> yes
  • 12:40:23 <danilobuerger> layout as in page templates?
  • 12:40:55 <jmverges> what?
  • 12:41:14 <danilobuerger> what layouts are you refering to?
  • 12:41:25 <jmverges> PageLayoutSelector is the one in charge of show the available Layouts fluidpages extension
  • 12:42:33 <danilobuerger> so you do mean Page Templates
  • 12:43:12 <braguzz> I have this in my template pippo{v:content.render(column: 0, pageUid: 155)}
  • 12:43:40 <danilobuerger> there was the idea of fluidshare, but dont know how far along that is
  • 12:43:50 <jmverges> Page Layout - this page
  • 12:44:34 <jmverges> so, danilobuerger I think that could be easy to implement some mechanism
  • 12:44:34 <braguzz> it shows pippo but not the content
  • 12:45:04 <danilobuerger> yes jmverges what is called a "Page Layout" for the editor is in actual fact a Page Template
  • 12:45:12 <jmverges> could be just plugin.tx_myplugin.layout.disabled=1
  • 12:45:34 <jmverges> ok, so a Page Template then
  • 12:45:46 <danilobuerger> well sure, go ahead and create a pull request
  • 12:46:04 <jmverges> danilobuerger, I'm asking for advice
  • 12:46:24 <danilobuerger> and that is?
  • 12:46:32 <jmverges> plugin.tx_myplugin.templates.MyAmazing.disabled = 1?
  • 12:46:48 <jmverges> that could be nice? or better other approach instead of typoscript?
  • 12:47:32 <danilobuerger> i guess typoscript will be fine
  • 12:49:23 <jmverges> thank you danilobuerger
  • 12:53:04 <braguzz> argh it shown in every page but not in the page that I want it
  • 12:53:22 <braguzz> is the right place where to ask?
  • 13:02:25 <braguzz> http://www.provincia.livorno.it/musmed/
  • 13:20:43 <jmverges> danilobuerger, there is a parameter called enabled for flux:form
  • 13:21:04 <jmverges> do you know it that value could be setted with typoscript?
  • 13:40:52 <Cash2m> Hi. Could somebody tell me why this does not work as expected? https://gist.github.com/Cash2m/7cf6bcff48398a918c6c
  • 13:41:34 <Cash2m> I expect the two loops to create a 3x3 grid. But some of them have the same name
  • 13:42:43 <Cash2m> http://imgur.com/dj5dX57
  • 14:30:46 <rosieres> Anyone with extbase foo? -> anyone an Idea how to override a class in ext:form without opening a can? The /Classes/View/Form/Additional/ErrorAdditionalElementView.php holds the layout for a field. Which is not the smartest idea. I want to change that wrap and some others, without breaking anything on next update and without own extension.
  • 14:32:37 <Nurbs> Hi! I am following the video "Fluid Powered TYPO3 From Scratch". builder created a page template with "<flux:form id="fluidpage" options="{icon: 'Icons/Page/Standard.gif'}">" and placed an icon in Resources/Public/Icons/Page, but its not showing in the backend because a link to http://mysite/typo3/Icons/Page/Standard.gif is being generated. Do I need another syntax?
  • 14:34:36 <rosieres> Nurbs: try options="{icon: '{f:uri.resource(path: \'your/path/to/file.png\')}'}
  • 14:36:47 <Cash2m> rosieres, did you tried the extbase way of overriding classes?
  • 14:37:08 <Cash2m> http://wiki.typo3.org/Dependency_Injection last paragraph. This sould work for classes too
  • 14:37:40 <Nurbs> rosieres: That works, thank you. Just a bit ugly :-)
  • 14:39:13 <rosieres> Cash2m didn't for ext:form as I did not see any ts mapping at all in it. Thought someone has done it before.
  • 14:39:42 <Akii> how is that class instantiated?
  • 14:44:51 <rosieres> Akii? -> https://git.typo3.org/Packages/TYPO3.CMS.git/blob/177cd38666bb4e7a026c60cdeda252596bf2c587:/typo3/sysext/form/Classes/View/Form/Additional/AdditionalElementView.php
  • 14:47:06 <Akii> well from what I can tell this does not go through extbase hence overwriting injections will not work
  • 14:47:17 <Akii> you can however overwrite what GeneralUtility::makeInstance returns
  • 14:47:41 <rosieres> Isn't that quite nonsense for a field wrapping?
  • 14:47:56 <Akii> you want to overwrite a class without opening a can
  • 14:48:15 <Akii> that'd be how you do it ^^
  • 14:49:16 <rosieres> mhh, damn . . .
  • 14:49:40 <Akii> I like it because you can exchange things in extbase that way
  • 14:49:43 <Akii> :D
  • 14:50:35 <rosieres> but this what I want is something that belongs to fluid IMHO
  • 14:51:30 <rosieres> I don't get the point why the templating engine is not used . .
  • 14:51:49 <Akii> probably performance
  • 14:51:54 <Akii> (jk, no idea)
  • 17:52:46 <pedda> hi there
  • 20:41:56 <JustAPoring_> Huh...
  • 20:42:37 <JustAPoring_> Is there a way to pass a viewhelper used in inline notation (like {v:foo(a:b)} ) something that it will treat like child elements?

20141212

  • 10:42:03 <mrboe> hi guys, could FCEs be disabled via TS
  • 10:44:19 <danilobuerger> mrboe i dont think its currently possible
  • 10:44:23 <danilobuerger> but +1 for a PR
  • 10:46:21 <mrboe> thx danilobuerger - but sadly i dont know how to to that
  • 10:46:58 <danilobuerger> why not?
  • 12:04:51 <jmverges> good morning mates
  • 12:05:09 <jmverges> Day by day I'm more happy with fluidtypo3 :)
  • 12:25:24 <NamelessCoder> the more you know, the better it gets!
  • 12:26:27 <Xatenev> How do i perform an or inside an if condition ?
  • 12:26:38 <Xatenev> in fluid?
  • 12:26:43 <NamelessCoder> you don't, unless you use v:if + stack
  • 12:26:44 <Xatenev> Is that possiblé?
  • 12:26:48 <Xatenev> Gg
  • 12:26:48 <Xatenev> :D
  • 12:27:37 <NamelessCoder> not completely true btw, f:if does support something like "{a} OR {b}" but you cannot make any sort of complex statement in {a} or {b}, only hard values or straight variable references - no viewhelpers
  • 12:28:17 <NamelessCoder> I think... I seem to recall seeing ||, OR, && and AND as valid comparators, but that could be wrong. Better check....
  • 12:28:28 <Xatenev> I will check..^^
  • 12:29:11 <NamelessCoder> nooooope, bad memory
  • 12:29:12 <NamelessCoder> https://git.typo3.org/Packages/TYPO3.CMS.git/blob/HEAD:/typo3/sysext/fluid/Classes/Core/Parser/SyntaxTree/BooleanNode.php
  • 12:29:30 <NamelessCoder> no simple and/or support at all
  • 12:30:06 <Xatenev> gg then
  • 12:30:11 <Xatenev> cause i got one row
  • 12:30:18 <Xatenev> <div class="row">
  • 12:30:18 <Xatenev> <f:if condition="{content_text}">
  • 12:30:18 <Xatenev> <f:format.html parseFuncTSPath="">{content_text}</f:format.html>
  • 12:30:18 <Xatenev> </f:if>
  • 12:30:18 <Xatenev> <f:if condition="{content_image}">
  • 12:30:18 <Xatenev> <f:format.html parseFuncTSPath="">{content_image}</f:format.html>
  • 12:30:19 <Xatenev> </f:if>
  • 12:30:19 <Xatenev> </div>
  • 12:30:20 <Xatenev> for example
  • 12:30:43 <Xatenev> problem: if content text and content image are not filled
  • 12:30:45 <Xatenev> the row is empty
  • 12:30:46 <Xatenev> ^^
  • 12:30:57 <Xatenev> so i wanted to write <f:if condition ="{content_text} or {content_image}"> <div class="row">
  • 12:31:04 <Xatenev> Is there any other way to get this behaviour? :p
  • 12:31:32 <NamelessCoder> with v:if + stack, yes
  • 12:31:39 <Xatenev> with only fluid? :P
  • 12:31:41 <NamelessCoder> nope
  • 12:32:05 <NamelessCoder> surrender to the dark side of VHS
  • 12:34:38 <Xatenev> xD
  • 12:35:08 <NamelessCoder> don't tell ANYONE I said this, but try this: <f:if condition="{content_text}{content_image}">
  • 12:35:15 <NamelessCoder> it is 100% abuse of the booleannode
  • 12:35:24 <NamelessCoder> and it is expensive as a motherfucker
  • 12:35:31 <NamelessCoder> (if your test strings are long)
  • 12:35:39 <Xatenev> How does this work?
  • 12:36:18 <NamelessCoder> it will say TRUE if either of the values are not-empty,not-NULL.
  • 12:36:36 <NamelessCoder> because they get borked out into a string since there's not three segments
  • 12:36:45 <NamelessCoder> and that string is then cast to boolean
  • 12:36:52 <NamelessCoder> anyway, this is just theory
  • 12:36:58 <Xatenev> (Trying) :D
  • 12:37:05 <NamelessCoder> my internal Fluid parser may require a source update
  • 12:37:38 <Xatenev> If this'll work then I love you
  • 12:37:38 <Xatenev> :D
  • 12:37:48 <NamelessCoder> conditional love!
  • 12:37:51 <NamelessCoder> hehe
  • 12:41:55 <NamelessCoder> any luck?
  • 12:43:52 <Xatenev> I will try in ~5 minutes
  • 12:44:06 <Xatenev> have to fix something in a different project fast cause fatal error :o^^
  • 12:44:12 <NamelessCoder> if it fails because of two segments...
  • 12:45:07 <NamelessCoder> use f:alias and map a new variable, giving it the content '{content_text}{content_image}' and use the new variable in the condition
  • 12:45:32 <NamelessCoder> I know for sure that a single variable is cast as boolean, some doubt wether or not two variables will be cast to string then cast to boolean
  • 12:47:18 <Xatenev> just realized my backend layouts arent even working on the testserver
  • 12:47:19 <Xatenev> lul
  • 12:58:56 <Xatenev> NamelessCoder: Might u help me in a typoscript thing? :p
  • 12:59:06 <NamelessCoder> whaaaaaaaat....?
  • 12:59:18 <Xatenev> I will take that as a yes =P
  • 12:59:30 <Xatenev> when you scroll down in this link https://jweiland.net/typo3/allgemeines/backendlayout-einsetzen.html to "Backendlayout mit Frontend verknüpfen"
  • 12:59:33 <NamelessCoder> it was supposed to mean "are you crazy?"
  • 12:59:44 <Xatenev> Yes i am!
  • 12:59:44 <Xatenev> D=
  • 13:00:05 <Xatenev> Cause i dunno how to use variables for the backend layouts =(
  • 13:00:29 <Xatenev> so it works on the testsystem AND on my local environment
  • 13:00:33 <Xatenev> with different ids =(^^
  • 13:01:35 <NamelessCoder> I think your time machine is broken. It went to the past instead of the future
  • 13:01:53 <Xatenev> Dont get that :p
  • 13:02:08 <NamelessCoder> but seriously... there's hundreds of possible reasons why this would work in one site and not another
  • 13:02:21 <Xatenev> I know why
  • 13:02:29 <Xatenev> Its because the backend layout got a different ID
  • 13:02:30 <NamelessCoder> every aspect, page tree composition, other TS templates which may clear TS, copies from other TS, and sooooo on
  • 13:02:32 <Xatenev> on the live server
  • 13:02:41 <Xatenev> than on my local ID
  • 13:02:46 <Xatenev> locla server*
  • 13:02:56 <Xatenev> w/e i gonna go eat, and maybe i get an idea :P
  • 13:03:00 <NamelessCoder> my advise, force your local copy to have the same values if you insist on hardcoding ID references
  • 13:03:16 <NamelessCoder> which you really shouldn't be doing, of course
  • 13:35:09 <jmverges> NamelessCoder,
  • 13:35:16 <jmverges> are you here?
  • 13:39:17 <NamelessCoder> lunch break is over, last day of project - so I'm not available the rest of the day
  • 14:19:39 <Xatenev> Might anybody give me some help with typoscript in private?^^
  • 15:07:04 <mloew> Hi everyone
  • 15:07:33 <mloew> I could use some help with the v:uri.typolink
  • 15:13:17 <rosieres> mloew: Isn't the documentation sufficent on that?
  • 16:20:42 <Bryder> Hi. I'm having a bit of an issue with a flux tree. In the tree I see the record uid instead of the record title. I have following conf: <flux:field.tree name="category" label="Category selector" default="NULL" required="1" size="10" multiple="1" minItems="1" maxItems="123" table="sys_category" parentField="parent" expandAll="1" nonSelectableLevels="0" maxLevels="123" width="123" />
  • 16:21:08 <Bryder> Any idea why I see the UID and not the name?
  • 16:27:05 <Bryder> foreignLabel was missing. Got it working'
  • 16:41:15 <mloew> rosieres: actually, I can't really get my head around the documentation...
  • 16:44:39 <mloew> http://pastebin.com/bUiwgKvQ
  • 16:44:46 <mloew> Thats the FCE I'm using
  • 16:51:40 <NamelessCoder> mloew <v:link.typolink configuration="{parameter: linkTarget}">My LinkText</v:link.typolink> not <v:link.typolink configuration="{parameter: {linkTarget}}">My LinkText</v:link.typolink>
  • 16:53:34 <mloew> oh man!
  • 16:53:40 <mloew> i'm stupid =)
  • 17:36:54 <Barbecue> Hej there! Is it possible to check if the current site is a subsite of a specified one? Something like "this.isSubsiteOfId(123)" ;)

20141213

  • 00:47:59 <rosieres> Anyone in who can assist in xclassing -> \TYPO3\CMS\Form\View\Form\Additional\AdditionalElementView
  • 14:31:21 <geronimoooooo> hey guys, which versions of flux, fluidpages and fluidcontent are the latest compatible ones? i'm using flux 7.1.2 , fluidpages 3.1.2 and fluidcontent 4.1.1 and experiencing some trouble with getting content elements running
  • 14:32:12 <geronimoooooo> no matter what i change in my template, the only field (that was never defined) ist "DEF: The Title"
  • 14:32:28 <geronimoooooo> *is
  • 15:53:04 <NamelessCoder> geronimoooooo you may need to upgrade your core version

20141214

  • 19:49:27 <TYPO3ua> Hello everyone!
  • 19:50:55 <TYPO3ua> I need output list from array, for example:
  • 19:51:57 <TYPO3ua> {array} ... item_2, item_1, item_3, item_2, item_4, item_3
  • 19:52:22 <TYPO3ua> How to do it?
  • 20:25:47 <TYPO3ua> special list with many images ... How to do it?
  • 20:37:56 <TYPO3ua> Can someone help me?

20141215

  • 07:33:37 <jousch> good morning fedextlers and fluxlers
  • 08:33:01 <jousch> I'm wondering why ext:vhs asset files within typo3temp are not deleted on Clearing any cache initiated from the TYPO3 backend (6.2)
  • 08:43:05 <jousch> Is it intended that only the timestamp of the typo3temp/vhs-asset* files is set to 0?
  • 08:54:55 <TYPO3ua> Hello everyone!
  • 08:55:14 <TYPO3ua> I need output special list from array, for example...
  • 08:55:25 <TYPO3ua> ... {array} = many images ...
  • 08:56:19 <TYPO3ua> Special list:
  • 08:56:19 <TYPO3ua> item_2
  • 08:56:19 <TYPO3ua> item_1
  • 08:56:19 <TYPO3ua> item_3
  • 08:56:19 <TYPO3ua> item_2
  • 08:56:20 <TYPO3ua> item_4
  • 08:56:20 <TYPO3ua> Special list: item_2, item_1, item_3, item_2, item_4, item_3 ....
  • 08:56:40 <TYPO3ua> <f:for each="{images}" as="item" key="number" iteration="iteration"> .... </f:for>
  • 08:56:53 <TYPO3ua> How to do it?
  • 08:57:15 <TYPO3ua> Can someone help me?
  • 09:13:17 <mrboe> @TYPO3ua have a look here https://github.com/bootstraptheme-for-typo3/fluidbootstraptheme/blob/development/Resources/Private/Templates/Content/ImageGallery.html
  • 09:17:47 <TYPO3ua> No it is not ...
  • 09:19:15 <TYPO3ua> Look please this list ...
  • 09:20:13 <TYPO3ua> item_1, item_2, item_1, item_3, item_2, item_4, item_3 ...
  • 09:20:32 <mrboe> create the f:for as you worte
  • 09:20:47 <mrboe> and debug "iteration" in it
  • 09:22:56 <TYPO3ua> He output so... item_1, item_2, item_3, item_4, item_5
  • 09:23:06 <TYPO3ua> I need ... so ... item_1, item_2, item_1, item_3, item_2, item_4, item_3 ...
  • 09:25:40 <mrboe> i dont know what you want
  • 09:25:53 <mrboe> iteration only counts
  • 09:27:47 <TYPO3ua> for example ... please
  • 09:30:05 <TYPO3ua> I want list ... item_1, item_2, item_1, item_3, item_2, item_4, item_3 ...
  • 11:14:48 <jousch> are there actual any ways to clear the files via cli or TYPO3 backend in typo3temp which are created by ext.vhs?
  • 11:42:05 <steffen-j> I have a problem. Content-elements are not rendering/showing on my page
  • 11:43:14 <steffen-j> Page elements and special elements are working, but not custom elements and elements from bootstrap
  • 13:42:48 <drlimbo> hi there
  • 13:43:07 <drlimbo> is there a way to get the information - on what Level the actual Page is?
  • 13:44:17 <drlimbo> something like "Get Navigation Level of Page with UID=20"
  • 13:52:19 <drlimbo> maybe Akii knows the correct viewhelper?
  • 13:52:28 <Akii> no
  • 13:56:17 <drlimbo> allright, maybe anyone else?
  • 14:15:34 <drlimbo> Typoscript [treeLevel = 1] was the trick
  • 14:58:02 <steffen-j> If I use the fluid content element nothing shows except of the header, how come?
  • 15:57:22 <mrboe> hey guys, i found a solution how to disable/enable FCE's with TS, but i dont know if this is a good solution. https://gist.github.com/misterboe/0013f30a1ec6edb237fe
  • 15:57:58 <mrboe> what do you think?
  • 16:02:09 <s-andersen> Having trouble getting the fluidbootstraptheme to work with fluid content core. Everything is fine in the backend, but in the frontend it just doesn't show. Any ideas?
  • 16:03:35 <mrboe> @s-andersen we are actually have not tested this, but this will be the next step at at 2015
  • 16:04:19 <s-andersen> mrboe: So the only way to use fluidbootstraptheme is to avoid fluid content core?
  • 16:05:27 <mrboe> i think it should work but actually i can say nothing about it
  • 16:05:50 <mrboe> perhabs @gbod
  • 16:06:49 <mrboe> sorry @s-andersen
  • 16:11:03 <s-andersen> mrboe: I found the problem now, the editor had disabled the Static template because it messed up the template he had created
  • 16:49:43 <NamelessCoder> mrboe we will build an actual feature for this; one which does not only govern this attribute but allows others to be forced through TS as well
  • 16:50:34 <mrboe> ok thank you claus - but for the moment i could use this?
  • 16:59:39 <NamelessCoder> I am not sure it would work entirely like you expect because the resulting metadata generated from the form gets cached
  • 16:59:52 <NamelessCoder> but assuming you're doing this as a global toggle then yep, should work.
  • 17:00:10 <mrboe> thank you

20141216

  • 10:13:06 <j6s> Hello everyone
  • 10:14:15 <Akii> hi
  • 10:14:29 <j6s> Akii is everywhere ^^
  • 10:14:45 * Akii is secretly a bot in all channels
  • 10:15:46 <j6s> Is there a way to dynamically hide and show my content Elements in the backend?
  • 10:16:23 <j6s> We have a Extension with default Content Elements that we use in almost every project, but some only need a subset of those elements
  • 11:35:10 <drlimbo> good morning
  • 11:35:26 <drlimbo> is there a way to load a Plugin (ex. Formhandler) from Fluid?
  • 11:36:04 <drlimbo> i tried something like "lib.testForm < plugin.tx_formhandler_pi1" ... but with "v:variable.typoscript" i only get an array and can't find a way to "parse" the plugin
  • 11:36:18 <drlimbo> someone an idea? maybe NamelessCoder?
  • 11:40:09 <drlimbo> oh Akii maybe has en idea =P
  • 11:40:15 <drlimbo> is there a way to load a Plugin (ex. Formhandler) from Fluid?
  • 11:40:21 <drlimbo> i tried something like "lib.testForm < plugin.tx_formhandler_pi1" ... but with "v:variable.typoscript" i only get an array and can't find a way to "parse" the plugin
  • 12:38:51 <Akii> drlimbo: use the f:cObject VH
  • 12:39:16 <Akii> with temp.yourThing
  • 13:08:22 <drlimbo> oh thanks a lot Akii - ill try
  • 13:32:47 <Defos> Hey, fluidpages/-content aren't compatible with 7.x yet, right?
  • 13:38:51 <Guest|19489> Hi, anyone who can give an inhouse training near Bonn for 1-2 days in January about flux / fluid templating? We want to use it in an interesting project and need to get fit with it.
  • 13:53:38 <Guest|19489> if you are interested mail me at [email protected]
  • 14:33:37 <drlimbo> "f:format.date" is one hour behind (wrong timezone i think) - how can we fix this?
  • 14:37:10 <Xatenev> drlimbo: Not quite sure but it might be that u have to set the timezone for typo3 itself
  • 14:37:11 <Xatenev> something like this:
  • 14:37:34 <Xatenev> $GLOBALS['TYPO3_CONF_VARS']['SYS']['phpTimeZone'] = 'Europe/Berlin'; for example
  • 14:37:41 <Xatenev> there is serverTimeZone aswell
  • 14:37:46 <Xatenev> maybe do some googling on this^^
  • 14:38:56 <drlimbo> oh thansk Xatenev
  • 14:40:05 <Xatenev> drlimbo: If you are german: http://www.typo3.net/forum/thematik/zeige/thema/106541/?show=1
  • 14:40:51 <drlimbo> not "really german" - im from switzerland - but same language =P
  • 14:41:15 <j6s> close enough
  • 14:44:12 <Akii> haha
  • 14:44:17 <Akii> n1
  • 15:02:38 <batjony> guys, is fluidtypo3.org going to be part of typo3 7.0 ?
  • 15:03:57 <Akii> 7 is out already
  • 15:04:02 <batjony> if not - do we expect some conflicts when running fed extenstions in Typo3 7.0 ?
  • 15:04:50 <batjony> i just saw the open letter to the typo3 core guys https://fluidtypo3.org/blog/news/open-letter-call-for-conventions.html
  • 15:05:06 <batjony> so wondering whats the future :)
  • 15:10:54 <soee> batjony: -dev versions should work with 7.0 just fine
  • 15:13:41 <batjony> nice
  • 17:46:40 <braguzz> hi, there is a way to 'insert record' with fluidcontent_core ?
  • 18:03:04 <braguzz> copy and 'past as reference' works with tx_news content ?
  • 21:30:16 <Guest|50174> Hello, have somebody an example how i can read out files from a folder so that people can download the files like a download explorer??

20141217

  • 09:08:32 <jmverges> good morning mates
  • 09:09:32 <jmverges> how are you today?
  • 11:04:15 <drlimbo> its me again with f:format.date viewhelper
  • 11:04:36 <drlimbo> the viewhelper show's the wrong time (+1 hour)
  • 11:04:43 <drlimbo> i forget where to set the correct time
  • 11:06:26 <drlimbo> i set [SYS][phpTimeZone] and [SYS][serverTimeZone]
  • 11:17:23 <drlimbo> [BUGFIX] Date ViewHelper not using configured Timezones
  • 11:17:28 <drlimbo> is this still active?
  • 11:19:39 <drlimbo> i think this is a really ugly solution -> {baby.timeOfBirth -> v:math.subtract(b: 3600) -> f:format.date(format: 'H:i')}
  • 12:14:56 <drlimbo> someone?
  • 12:18:30 <drlimbo> is there a way to parse from DateTime to String? "Cannot cast object of type "DateTime" to string."
  • 12:54:03 <steffen> Hello. I have 3 templates. Is it possible to place the stylesheet and javascript references in one single file or in typoscript somehow to avoid duplicate content? Thank you.
  • 12:58:37 <braguzz> hi {v:content.render(pageUid: 1)} works
  • 12:58:46 <braguzz> {v:content.render(pageUid: 139)} doesnt work
  • 12:58:54 <braguzz> why? arghh
  • 13:07:07 <braguzz> I have a fluid template for homepage (id=1) and one for internal
  • 13:09:59 <braguzz> {v:content.render(pageUid: 139)} works in internal pages (also if I setup the internal pages with home template)
  • 13:10:43 <braguzz> in homepage with homepage template it doesnt work
  • 13:31:16 <ilCerchiari> Hi guys
  • 13:34:02 <ilCerchiari> I'm encountering this exception: Template could not be loaded. I tried "/[...]/typo3conf/ext/fluidpages/Resources/Private/Templates/Page/Default.html" on a migrated TYPO3 (from 4.5 to 6.2) with all the latest fluidtypo3 extension. The odd thing is that I get that exception only if I try to load a page directly from frontend. If I'm logged into be t
  • 13:34:02 <ilCerchiari> he page renders correctly and then also if I load it without be session. Any clue how to solve this?
  • 14:34:37 <ilCerchiari> Doing some trials I think i found the problem, it seems to be some incompatibility, at some level, with extensions workspaces and version... disabling them makes the problem vanish. Just to let you all know.
  • 15:26:10 <drlimbo> hi there
  • 15:26:29 <drlimbo> v:uri.image ignores my "relative=1" and always shows me the absolute url to the image
  • 15:27:06 <drlimbo> "URIs in backend mode are always absolute." what does this mean?
  • 15:27:20 <drlimbo> Akii the king of viewhelper - maybe u have an idea? =P
  • 15:30:24 <drlimbo> ah, or NamelessCoder - because you modified the viewhelper?
  • 21:21:40 <jmverges> hi there mates
  • 21:22:04 <jmverges> I really need help today with performance. Could anyone help me a bit?
  • 21:39:51 <NamelessCoder> what is the problem jmverges?
  • 21:45:06 <jmverges> my site is too slow
  • 21:45:44 <jmverges> reeeeally slow
  • 21:46:04 <jmverges> I just installed nc_staticfilecache
  • 21:46:18 <jmverges> but I'm not seeing it faster
  • 21:46:33 <NamelessCoder> did you read https://fluidtypo3.org/documentation/templating-manual/introduction/fluid-best-practice.html#fluid-performance-concerns?
  • 21:46:45 <NamelessCoder> did you set Production context?
  • 21:46:57 <jmverges> production context is set
  • 21:48:19 <jmverges> how could I know if nc_staticfilecache is working well?
  • 21:48:55 <jmverges> I mean, probably I could increase the performance with best practices and I will, however I need some solution that increases a bit the performance
  • 21:49:04 <NamelessCoder> don't know, but fixing bad performance starts -before- you implement additional hard caches
  • 21:49:33 <NamelessCoder> don't be logged in to the BE while testing this, for example
  • 21:49:52 <jmverges> I'm testing in one browser where I'm not logged
  • 21:50:00 <jmverges> and in the otherone I'm logged
  • 21:50:16 <NamelessCoder> limit the amount of typoscript you use. confirm that your templates are compilable and if they aren't, separate the uncompilable viewhelper usages into partials
  • 21:50:41 <NamelessCoder> seriously, this is a HUUUUGE subject to open up and books have been written about it
  • 21:50:52 <jmverges> I know
  • 21:51:28 <NamelessCoder> there is no silver bullet - you have to be aware of your site's structure and composition in order to determine the bottlenecks
  • 21:54:17 <jmverges> I just installed yesterday cookie extension
  • 21:55:19 <NamelessCoder> we're moving quite far from a fluidtypo3 context ;)
  • 21:55:40 <jmverges> I know, sorry, I'm just worried
  • 21:56:20 <jmverges> NamelessCoder, do you work with Varnish or nc_staticfilecache?
  • 21:56:24 <NamelessCoder> first you have to determine which part of your site is causing bad performance. Setup, templates, records, etc.
  • 21:56:28 <NamelessCoder> Varnish
  • 21:56:47 <jmverges> did you found some problem with it?
  • 21:57:07 <NamelessCoder> uhm, no, not if you set it up correctly...
  • 21:57:31 <jmverges> what is it? the ... sounds like they are some tricks
  • 21:57:37 <jmverges> there are*
  • 21:57:47 <NamelessCoder> of course there are
  • 21:58:24 <NamelessCoder> there are a few articles about Varnish+TYPO3 written by TYPO3 agencies, I recommend studying those
  • 21:58:54 <NamelessCoder> but in general: you should learn Varnish before you just jump in and expect it to solve everything. And still: you should fix the bottlenecks rather than hiding them.
  • 22:00:27 <jmverges> I discovered just now that I had installed cookies extension and it uses USERINT and then pages where not cached with nc_staticfilecache
  • 22:00:33 <jmverges> now, the site flies xd
  • 22:01:03 <NamelessCoder> what I said about locating and fixing the bottleneck still applies
  • 22:01:56 <jmverges> I'm sure, however my situation is that I'm doing a lot of things by my own and I'm working quickly... no unit test, duplications some times...
  • 22:02:17 <NamelessCoder> I know this isn't what you want to hear but in this case you are most definitely doing it wrong
  • 22:02:25 <NamelessCoder> you should never, ever be too busy to do it right
  • 22:02:31 <NamelessCoder> who's stressing you?
  • 22:02:32 <jmverges> I hope to be able refactor all of this on holidays
  • 22:02:55 <jmverges> new company
  • 22:02:58 <jmverges> new position
  • 22:03:12 <jmverges> backend developers debugging with echoes
  • 22:03:24 <jmverges> bosses that doesn't know about TYPO3
  • 22:03:29 <jmverges> nor Agile
  • 22:03:32 <jmverges> nor TDD
  • 22:03:38 <jmverges> ...ç
  • 22:03:44 <jmverges> a lot of work to do
  • 22:04:23 <NamelessCoder> but if you do everything half-right, none of it will give the right impression. Are you trying to do too much at one time?
  • 22:04:58 <jmverges> is not half-right is a bit more better than it, but yes
  • 22:06:02 <jmverges> however Claus, step by step
  • 22:06:05 <jmverges> first of all
  • 22:06:12 <jmverges> I need to introduce TYPO3 in the company
  • 22:06:24 <jmverges> no one is giving a shit for TYPO3

20141218

  • 08:48:22 <batjony_> morning
  • 08:52:30 <batjony_> is there a way view helpers like flux:field.tree to be used outside the backend ?
  • 10:04:21 <batjony_> is there a way view helpers like flux:field.tree to be used outside the backend ?
  • 10:23:39 <jmverges> good morning folks!! it feels like friday
  • 10:33:19 <vizArt> good morning ... friday sounds great :D
  • 14:58:57 <batjony_> is there a way view helpers like flux:field.tree to be used outside the backend ?
  • 15:04:05 <batjony_> NamelessCoder: most likely you are the only one who may know ? :)
  • 15:12:07 <NamelessCoder> Flux writes TCEforms arrays, not HTML.
  • 15:13:40 <batjony_> ok 10x
  • 15:14:50 <batjony_> is there something from VHS which I can use for rendering the sys category tree ?
  • 15:15:01 <batjony_> in the FE
  • 15:15:03 <Guest|16683> Hi
  • 15:15:25 <NamelessCoder> render it manually with recursion if so required
  • 15:15:39 <NamelessCoder> no, there are no ViewHelpers in VHS which render categories
  • 15:16:08 <Guest|16683> Im using Flux 7.0.0 and i need to get a "group" selection field again to select tables. I see the "group" viewhelper got removed and shall be replaced by select,relation,inline or tree but neither of these are "group". How to get this working (cant update to another version)
  • 15:17:11 <Guest|16683> Fluid* not Flux. sorry
  • 15:18:31 <Guest|16683> anyone can help? cant use relation cause i select pages and need the group-like selection
  • 15:21:37 <NamelessCoder> Guest|16683 flux:field.multiRelation will be introduced in Flux 7.2. Until then, you're stuck with flux:field.relation + size + maxItems + table (+multiple)
  • 15:22:46 <Guest|16683> Testing it right now
  • 15:24:35 <Guest|16683> that works indeed but its not the selection i was looking for. Thanks anyways.
  • 15:27:33 <Guest|16683> can i somehow get the page-selection thing into the relation or select viewhelper by configuration?
  • 15:28:34 <NamelessCoder> no, it requires a new component. See https://github.com/FluidTYPO3/flux/commit/f25c708bd0b55a15319a8dc365672be68845e002
  • 15:34:22 <Guest|16683> Okey. Thanks for your time.
  • 15:43:50 <erredeco> Hi there... a little question about Fluid Content Elements
  • 15:44:51 <erredeco> Is it possible to add after each element the feedit "Pencil" icon to let the editors edit it like in the "text w/images" element?
  • 15:49:26 <BenjaminR> Hi guys - not even sure someone still knows me ;/
  • 16:16:06 <erredeco> ?
  • 16:16:59 <Akii> nobody knows you benjaminr
  • 16:17:14 <Akii> ok, chanserv does
  • 16:17:15 <Akii> :)
  • 16:17:17 <BenjaminR> i expected that
  • 16:17:19 <BenjaminR> :)
  • 16:17:26 <Akii> so you've got that going for you, which is nice
  • 16:18:25 <Akii> so you've been away? :D
  • 16:19:11 <BenjaminR> no.
  • 16:20:44 <BenjaminR> not for people who care :)
  • 16:22:07 <Akii> well you're back now, that's what matters right? ^^
  • 16:23:38 <BenjaminR> i hope so :)
  • 16:39:15 <erredeco> plz, would someone kindly answer me, if it is not a problem?
  • 16:43:14 <BenjaminR> erredeco please repeat your question
  • 16:45:37 <erredeco> Is it possible to add after each element the feedit "Pencil" icon to let the editors edit it like in the "text w/images" element?
  • 16:45:55 <erredeco> I'm talking about Flexible Content Elements
  • 16:45:57 <erredeco> sry
  • 16:47:52 <BenjaminR> oh i am sorry but i never implemented feedit in typo3
  • 16:59:13 <mloew> Hi everyone!
  • 16:59:48 <mloew> I'm using fluidcontent_core and can't seem to get it to render my custom fces within my provider (skin_) extension. Anyone know why?
  • 17:04:26 <BenjaminR> Did you add the content renderer definition in LocalConfiguration?
  • 17:07:09 <BenjaminR> ['FE']['contentRenderingTemplates'] = array('fluidcontentcore/Configuration/TypoScript/',)
  • 17:07:41 <mloew> I don't think so
  • 17:08:16 <mloew> is there a way to add that without manually changing localconfiguration?
  • 17:08:58 <BenjaminR> adding it to additionalconfiguration :)
  • 17:09:23 <BenjaminR> https://github.com/FluidTYPO3/fluidcontent_core/blob/development/Migrations/Configuration/AdditionalConfiguration.1414852807.php
  • 17:18:15 <BenjaminR> mloew - you need to add that to localconfiguration or additionalconfiguration. there is no other way i am used to
  • 17:21:15 <mloew> okay, thank you very much =) I realised, I can add that line to my ext_tables.php to get it to override the value!
  • 17:22:02 <BenjaminR> great its solved for you

20141219

  • 09:24:47 <jmverges> good morning mates!
  • 09:27:13 <jmverges> I need help: I'm doing cache with varnish. So, with a simple vcl I'm getting it cached and the age is changing. However, with the default one provided by ext:varnish (patched for varnish version 4.0) age is always 0. So my concern now is to now if the problem is in some typo3 setting or in the default.vcl file.
  • 10:51:18 <ndee_> hey guys, I'm using <flux:field.controllerActions actions="{Course: 'spotlight', Course: 'list'}" /> in my plugin configuration but there's no select in the plugin itself. Anything I'm missing?
  • 12:41:58 <MrWhy> Hi there...
  • 12:43:16 <MrWhy> just a question... i´m new to fedext... i´m trying to render a content element... i´ve set up a page and all... simple text fields are rendered but no content templates
  • 12:43:44 <MrWhy> i´ve used the example in the library
  • 12:44:14 <MrWhy> but there is no output for the Content Templates
  • 12:54:58 <MrWhy> typical t3 elements are rendered fine but not in the FCE´s
  • 13:07:25 <mrboe> @MrWhy a good way to start is to use EXT:builder to create a provider extension
  • 13:07:46 <mrboe> this brings a page and a content template with it
  • 13:08:40 <MrWhy> mrboe yeah i started with this...
  • 13:08:52 <mrboe> the EXT:fluidboostraptheme brings some examples how FCEs can be build
  • 13:08:53 <mrboe> https://github.com/bootstraptheme-for-typo3/fluidbootstraptheme
  • 13:09:09 <mrboe> have a look in there
  • 13:10:06 <mrboe> if you create new FCE's you had to clear all caches that they are shown
  • 13:10:14 <mrboe> also clear typo3temp
  • 13:10:32 <mrboe> installtool Y clear cache
  • 13:11:03 <MrWhy> ahhh ok thank you i willl have a look
  • 14:18:58 <MrWhy> hmm i don´t get it... in my opinion i´m doing nothing wrong... If i add a headline to the fce it is rendered, but the subelements not
  • 14:55:12 <MrWhy> only content elements aren´t rendered... all other types are rendered fine... event the Example.html isn´t rendered...
  • 14:55:56 <MrWhy> In the backend they are rendered
  • 14:57:38 <MrWhy> in the Pagetemplate i´m using v:content.render column="0". Do i have to use something other?
  • 15:18:06 <mrboe> @MrWhy can you post you template
  • 16:10:28 <MrWhy> mrboe sure
  • 16:10:38 <MrWhy> https://gist.github.com/951a28dfcad3f414cd1c.git
  • 16:56:36 <mloew> Hey there!
  • 16:56:40 <mloew> Hey there!
  • 16:59:59 <mloew> Is there a way that I can include the fluidcontent_core Header partial into my own fce?
  • 17:00:27 <mloew> basically the way it is used in many of the Fluid Styled Content Elements but just within my own extension
  • 17:01:46 <mloew> <f:render partial="Properties/Header" arguments="{_all}" />
  • 17:02:15 <mloew> Simply adding this obviously doesn't work because the relative path is not working. Using an absolute path doesn't work either though
  • 17:05:56 <mloew> and copying the entire properties folder doesn't help either...
  • 21:51:25 <TYPO3ua> Hello everyone!
  • 21:52:38 <TYPO3ua> How get array files from folder?
  • 21:54:12 <TYPO3ua> <flux:field.select name="selectFolderCSS" items="{here array files from folder}" size="4" minItems="0" maxItems="100" multiple="1" />
  • 21:54:41 <TYPO3ua> Can someone help me?
  • 22:47:42 <Outdoorsman> Anyone around still?
  • 22:52:49 <Outdoorsman> NamelessCoder: TYPO3 6.2 seems requires cache to be cleared for every source update even minor source updates like from 6.2.8 to 6.2.9. How do you or anyone else handle this when you have many sites sharing the same source?
  • 22:56:05 <Outdoorsman> Is there a Fluid way of clearing cache properly in 6.2 or do I have to manually do rm -f typo3temp/Cache/Code/cache_core/* for each site... and is this the only directory that needs to be cleared?
  • 22:57:12 <Outdoorsman> This is the closest I came to finding documentation on what to clear so far... http://docs.typo3.org/typo3cms/InstallationGuide/singlehtml/Index.html#remove-temporary-cache-files
  • 23:00:33 <TYPO3ua> Can someone help me?
  • 23:08:00 <Outdoorsman> what's up

20141220

  • 22:34:53 <MrWhy> Hi .... could anybody explain me, how the content rendering is working? I have set up Page Templates, which are working fine. But if I try to add a FCE in a page column the FCE will not be rendered. "Normal" Typo3 elements rendering fine in my pages...
  • 22:35:23 <MrWhy> I ´ve set up the whole thing with the builder ext
  • 22:36:46 <MrWhy> I have already read some stackoverflow cases, which have the same problem but there is no solving answer...
  • 22:41:39 <MrWhy> here is a gist to my files
  • 22:41:40 <MrWhy> https://gist.github.com/anonymous/951a28dfcad3f414cd1c

20141221

  • 21:20:23 <Outdoorsman> Hi
  • 21:39:34 <Outdoorsman> Does anyone know how to properly clear TYPO3 CMS cache from the command line?
  • 21:44:17 <NamelessCoder> hi Charles - it depends how much of the cache you want to clear
  • 21:45:48 <NamelessCoder> https://github.com/helhum/typo3_console should help a lot though
  • 21:55:38 <Outdoorsman> Here's the scenario... when I update the TYPO3 CMS source from 6.2.8 to 6.2.9 it now requires a clearing of the cache... TYPO3 CMS 4.x didn't require this. I need a way to clear cache for all sites using 6.2.x source so I don't have to log into each one and manually clear cache.
  • 21:56:48 <NamelessCoder> if all else fails: write a tiny script that deletes everything from typo3temp recursively and runs TRUNCATE TABLE on all cf_* tables
  • 21:57:48 <Outdoorsman> I have a script already but it was causing sites to go "all white" because I wasn't deleting the right things and couldn't find documentation on what it should be.
  • 21:58:23 <NamelessCoder> most likely because of not truncating the class reflection table in particular
  • 21:58:42 <Outdoorsman> So when updating source... I should:
  • 21:59:13 <Outdoorsman> 1. Delete the content of EVERY directory in the typo3temp folder but not the folders themselves so I don't have to recreate them
  • 21:59:24 <NamelessCoder> delete the folders as well
  • 21:59:41 <NamelessCoder> if you properly clear all cf_* and cache_* tables those are written automatically
  • 21:59:48 <Outdoorsman> but when I do that it seems to complain in the INSTALL tool that the folders don't exist.
  • 22:00:11 <NamelessCoder> cache_pages needs to be cleared for those to be written (request routing does not try to use cache)
  • 22:00:16 <Outdoorsman> I've never deleted anything from MySQL manually though. let me look that up.
  • 22:01:29 <Outdoorsman> So let's start over:
  • 22:01:39 <Outdoorsman> 1. rm -rf typo3temp/*
  • 22:05:30 <Outdoorsman> 2. SELECT concat('TRUNCATE TABLE `', TABLE_NAME, '`;')
  • 22:05:30 <Outdoorsman> FROM INFORMATION_SCHEMA.TABLES
  • 22:05:30 <Outdoorsman> WHERE TABLE_NAME LIKE 'cf_%' AND TABLE_SCHEMA = 'the_desired_database'
  • 22:05:52 <Outdoorsman> ****
  • 22:06:59 <Outdoorsman> I sure wish there was a way to use command line to do this sort of thing.
  • 22:08:02 <NamelessCoder> there is a way to use the CLI for that but it involves piping and parsing
  • 22:08:39 <Outdoorsman> To guarantee that only the appropriate tables are cleared I have to also write something to parse the TYPO3 config file to find the TYPO3 database being used.
  • 22:09:13 <NamelessCoder> I don't know how typo3_console does it, but there is a chance it avoids the class reflection caches in the clear cache command and would work
  • 22:09:43 <Outdoorsman> I believe this functionality is avilable via CLI in TYPO3 NEOS.
  • 22:11:07 <NamelessCoder> probably true, but it uses a completely different way of loading classes
  • 22:12:01 <NamelessCoder> try typo3_console from the link - maybe it "just works"
  • 22:12:19 <Outdoorsman> What is this? http://stackoverflow.com/questions/15357844/how-to-clear-the-cache-in-typo3-from-an-external-script
  • 22:12:48 <NamelessCoder> focus please :)
  • 22:12:55 <Outdoorsman> ha ha
  • 22:12:58 <NamelessCoder> this solution also loads TYPO3 classes
  • 22:13:21 <NamelessCoder> you've got me, there's no need to stackexchange in this case ;)
  • 22:14:04 <NamelessCoder> I'll check typo3_console source
  • 22:15:03 <NamelessCoder> it uses the cache... may work still because of manual bootstrapping of typo3 in cli commands
  • 22:16:15 <Outdoorsman> I am still looking for the commands you can run in typo3_console
  • 22:16:25 <NamelessCoder> follow the install description
  • 22:16:31 <NamelessCoder> then run ./typo3cms
  • 22:17:05 <Outdoorsman> So I'll get the details from the command line ehhh
  • 22:17:20 <Outdoorsman> Here's goes...
  • 22:23:53 <NamelessCoder> any joy?
  • 22:29:00 <NamelessCoder> gotta go - but essentially, if typo3_console won't work then you need that manual script. The key is to clear those cache_ and cf_ tables at the same time as you remove the temp files

20141222

  • 00:59:04 <Outdoorsman> I'm trying to use typo3_console so I can easily do a CLI clearing of all cache but it's not really seeming to work for me.
  • 01:09:38 <Outdoorsman> I do "./typo3cms cache:flush" followed by "./typo3cms cache:warmup" and get "Segmentation fault (core dumped)"
  • 10:11:47 <ndee_> when I don't see any flux debug although enabled in the EM, what could the culprit be? I set the context in my 6.2.9 installation to Development.
  • 10:12:06 <ndee_> flux and fluidpages is in the development branch
  • 11:01:28 <Defos> Hey there. Can I use pre-defined FCEs inside Page Templates? e.g. flux:field.input inside a flux:grid.column ?
  • 11:24:14 <Thms> Hi everyone. I am trrying to debug a typo3 extension.
  • 11:24:45 <Thms> FELogin seem not to be creating any cookie. Hence, after login, if I go to another page I permanently loose my
  • 11:24:52 <Thms> logged in status.
  • 11:25:04 <Thms> Is anyone on here able to help please ?
  • 11:25:24 <Thms> I have browsed various bugs on the forge and seen some workarounds but none of them is working
  • 11:50:29 <ndee_> inherit - If TRUE, the value for this particular field is inherited - if inheritance is enabled by the ConfigurationProvider <--that's the doc for flux:field.file. I created a class ctw_template/Classes/Provider/PageProvider.php and set the property protected $inherit = true; but my files don't get inherited. Is there something else that I'm missing?
  • 13:48:25 <MrWhy> hi...
  • 13:50:17 <MrWhy> i still don´t get the content Templates rendered. I´ve also tried the fluidbootstrap. The page templates get rendered fine... A gist to the templates: https://gist.github.com/anonymous/951a28dfcad3f414cd1c Hopefully someone can help.
  • 13:51:40 <MrWhy> I´m using Typo3 6.2.9 with the latest extension versions
  • 14:10:34 <Denyere> Anyone here use PHPStorm ? Just wondering if anyone has upgraded frpm 7.x to 8.x ?
  • 15:13:36 <mrboe> @MrWhy your namespace is not right
  • 15:14:52 <mrboe> @Denyere im on 8
  • 15:15:07 <MrWhy> @mrboe thx for answering... but how is it meant to be?
  • 15:15:43 <mrboe> https://github.com/bootstraptheme-for-typo3/fluidbootstraptheme/blob/development/Resources/Private/Templates/Content/Accordion.html
  • 15:16:18 <MrWhy> so i have to use the xmlns attributes?
  • 15:16:24 <mrboe> yes
  • 15:16:37 <mrboe> if you work with latest TER
  • 15:16:47 <MrWhy> ahh ok... i will try it... yep i do
  • 15:17:49 <mrboe> here you see a 2Col Conteiner
  • 15:17:49 <mrboe> https://github.com/bootstraptheme-for-typo3/fluidbootstraptheme/blob/development/Resources/Private/Templates/Content/TwoColumn.html
  • 15:19:33 <MrWhy> yes i have seen this yesterday... but i haven´t realized the namespace thing. I thought it would work because it is working with the page templates
  • 15:19:58 <mrboe> you have to switch it everywhere
  • 15:20:06 <MrWhy> ok
  • 15:53:21 <MrWhy> @mrboe now i changed everywhere the namespace declarations and cleared all caches but there is still no output for the content element... any idea?
  • 15:55:07 <mrboe> have you debuged it?
  • 15:55:51 <mrboe> <f:debug>{layout}<f:debug>
  • 15:56:06 <MrWhy> ahh not yet...
  • 15:56:12 <mrboe> debug FE and BE
  • 15:56:32 <mrboe> so you can see if the container gets the values
  • 15:58:20 <mrboe> because i think "layout" gives something like 25/75
  • 15:58:35 <mrboe> and so your condition is not right
  • 15:59:17 <xaver> hi
  • 15:59:30 <MrWhy> but at the moment i just try to get an output with an static example FCE
  • 15:59:46 <MrWhy> without any conditions
  • 16:01:29 <MrWhy> the second file in the gist
  • 16:05:16 <mrboe> and you have a layout:content
  • 16:05:33 <MrWhy> jepp
  • 16:06:02 <MrWhy> I have layout called Content
  • 16:06:24 <mrboe> and this is registerd in sxt_tables
  • 16:06:31 <mrboe> ext_tables
  • 16:07:24 <MrWhy> yes with registerProviderExtensionKey
  • 16:07:36 <MrWhy> like the Page Layout
  • 16:07:51 <mrboe> and you can see it it BE?
  • 16:07:53 <mrboe> the FCE
  • 16:07:57 <MrWhy> Yes
  • 16:08:13 <mrboe> and your ext is in you template
  • 16:08:21 <MrWhy> yes
  • 16:09:02 <mrboe> so.. im out ;)
  • 16:09:29 <MrWhy> all renderings with the page Layout are working fine... The Backend shows my FCE an could work with them, but i don´t get a rendering on the FE
  • 16:10:01 <mrboe> what EXT do you have installed
  • 16:10:15 <MrWhy> Typo3 ContentTypes working as expected in my Page Layouts but the FCE doesn´t
  • 16:10:34 <MrWhy> i´ve created one on my own with the builder ext
  • 16:10:47 <mrboe> yes, what elese
  • 16:10:49 <MrWhy> but i also tried fluidbootstrap
  • 16:11:15 <MrWhy> with the same behavior
  • 16:11:40 <mrboe> vhs / flux / fluidpages / fluidcontent
  • 16:13:04 <MrWhy> ahh ... fluidcontent_core
  • 16:13:10 <MrWhy> fluidpages
  • 16:13:15 <MrWhy> vhs
  • 16:13:25 <MrWhy> flux
  • 16:13:38 <MrWhy> fluidcontent
  • 16:13:59 <ste101> Hello, I got a problem with vhs asset style. I found this issue https://github.com/FluidTYPO3/vhs/issues/655 but I'm not able to get it working.
  • 16:14:18 <MrWhy> thats it
  • 16:15:02 <ste101> This is my code: <v:asset.style name="inlineCSS" fluid="true">#page-2 { background-image: url('/{projekt.bildStartseite.originalResource.publicUrl}'); } </v:asset.style>. Could some point me out how to set the CDATA the right way?
  • 16:15:48 <mrboe> @ste101 use <f:format.raw>{mystyle}</f:format.raw>
  • 16:16:21 <MrWhy> <v:asset.style name="inlineCSS" fluid="true"><![CDATA[#page-2 { background-image: url('/{projekt.bildStartseite.originalResource.publicUrl}'); } ]]></v:asset.style>
  • 16:21:22 <ste101> Thanks @ mrboe and mrwhy but both are not working. format.row shows nothing. The second renders this #page-2 { background-image: url('/{projekt.bildStartseite.originalResource.publicUrl}'); }. No replacement. I'm using vhs 2.2.0
  • 16:22:36 <MrWhy> for mrboes version you need to import the fluid namespace i guess...
  • 16:26:48 <MrWhy> @ste101 is it possible that you use the VH in a wrong way? I think you have to use the content attribute...
  • 16:36:29 <ste101> @MrWhy Thanks for your hint. This is working: <v:asset.style name="inlineCSS2" fluid="true" content="#page-2 <![CDATA[{]]>background-image: url('/{projekt.bildStartseite.originalResource.publicUrl}'); <![CDATA[}]]>" />
  • 16:37:07 <MrWhy> you´re welcome
  • 16:38:25 <ste101> Does the asset behavior chance? The 'fluid parsing' example from this site is also not working: https://worksonmymachine.org/blog/asset-handling-with-fluidtypo3
  • 16:40:06 <MrWhy> do you have imported the fluid ns?
  • 16:46:16 <ste101> I can use fluid viewhelper. Is it that what you mean?
  • 17:55:17 <MrWhy> has anybody had empty divs from fce?

20141223

20141224

  • 11:02:53 <benjamin_654> HoHoHo - Happy X-Mas everyone!
  • 13:52:32 <NamelessCoder> Weeeeee wiiiiish you a merry jiiiiiinglyyyy, we wiiish you a merry jiiiingly... https://www.youtube.com/watch?v=X_msA7xQ4Ig
  • 13:52:33 <FT3BOT1> YouTube: invader zim - gir's merry jingly song (23s, 62,394 views, 338 thumbs up, 3 thumbs down)

20141225

20141226

20141227

  • 13:25:53 <benjamin_654> hello
  • 13:26:20 <benjamin_654> i am having some problems registering a fluidcontent provider
  • 13:27:12 <benjamin_654> i registered it in ext_localconf, ext_tables and with typoscript
  • 13:27:23 <benjamin_654> this is the gist: https://gist.github.com/BenjaminBeck/ae785fc254064668369e
  • 13:28:07 <benjamin_654> but now i have double values in the fluidcontent type dropdown - does someone see a error?
  • 13:31:53 <benjamin_654> of course .. i just found a error .. the ts is wrong ..

20141228

  • 18:16:54 <Nurbs> Hi! Is it possible to access fluidpages settings from TS? I would like to render e.g. settings.pageClass in <body class="..."> using page.bodyTagCObject instead of using <div class="{settings.pageClass}">
  • 18:17:23 <Nurbs> With settings.pageClass being defined similar to this example: https://fluidtypo3.org/documentation/templating-manual/templating/creating-templates/page-template.html
  • 18:33:35 <NamelessCoder_> Nurbs I think you can reference values stored in flexform data fields using a special typoscript syntax; check the official typo3 documentation for how to assign a TEXT ts object's value property to contain the value of current record, and then the documentation on syntax for referencing a specific value when the field value you are reading is stored in a flexform.
  • 18:45:31 <Nurbs> I see. This means reading from tx_fed_page_flexform or tx_fed_page_flexform_sub using XPATH, I suppose; somewhat complicated by having to handle inheritance within the page tree. Maybe tomorrow, but thansk :)
  • 20:14:12 <TYPO3ua> Hello, all!
  • 20:14:26 <TYPO3ua> I have code:
  • 20:14:43 <TYPO3ua> <f:for each="{javascript}" as="script" iteration="iteration">
  • 20:14:45 <TYPO3ua> <v:asset name="0" external="0" allowMoveToFooter="0" fluid="1" rewrite="0" standalone="1" variables="{_all}">
  • 20:14:52 <TYPO3ua> <script type="text/javascript" src="{script.js.file}"></script>
  • 20:14:58 <TYPO3ua> </v:asset>
  • 20:15:04 <TYPO3ua> </f:for>
  • 20:15:11 <TYPO3ua> Output: Nothing
  • 20:15:22 <TYPO3ua> What is wrong and why?
  • 20:15:47 <TYPO3ua> Can someone help me?
  • 20:17:46 <TYPO3ua> When I do so:
  • 20:18:06 <TYPO3ua> <f:debug><script type="text/javascript" src="{script.js.file}"></script></f:debug>
  • 20:18:15 <TYPO3ua> Output:
  • 20:18:47 <TYPO3ua> Extbase Variable Dump '<script type="text/javascript" src="files/site/js/jquery-1 .11.0.min.js"></script>' (81 chars)
  • 20:19:11 <TYPO3ua> Extbase Variable Dump '<script type="text/javascript" src="files/site/js/html5shi v.js"></script>' (73 chars)
  • 20:19:54 <TYPO3ua> and two items empty
  • 20:20:09 <TYPO3ua> Extbase Variable Dump '<script type="text/javascript" src=""></script& gt;' (47 chars)
  • 20:20:23 <TYPO3ua> Extbase Variable Dump '<script type="text/javascript" src=""></script& gt;' (47 chars)
  • 20:20:44 <TYPO3ua> Can someone help me?
  • 20:39:57 <TYPO3ua> anybody here?
  • 20:40:27 <TYPO3ua> Can someone help me?

20141229

  • 10:27:48 <jmverges> good morning mates
  • 10:34:10 <Jazz> Good morning everyone! I'm using flux:field.text as rte for one of my content elements and Realurl for my site. But links I add via the mentioned ce do not get rendered by realurl. Any hints on what I might be doing wrong?
  • 10:58:58 <jmverges> do you have configured properly realurl typoscript?
  • 10:59:22 <jmverges> config.baseURL = http://mysite.com/
  • 11:07:46 <Guest|62207> Hello
  • 11:08:00 <Guest|62207> I need your help
  • 11:08:20 <Guest|62207> i have blank space in my html dom
  • 11:08:31 <Guest|62207> before html tag
  • 11:08:41 <Guest|62207> when i use fluid template
  • 11:09:01 <Guest|62207> how to remove it ?
  • 11:11:06 <Jazz> yes, baseURL is set. realurl is working for the whole page except for my flux field.
  • 12:02:15 <totolehero> hello ?
  • 12:38:36 <braguzz> still looking for a way to get cal ext running with fluifcontent_core and without css_styled
  • 12:42:10 <Nurbs> NamelessCoder_: Instead of configuring the body tag in TS I just used config.disableBodyTag = 1 and rendered <body id="{page.uid}" class="{settings.pageClass}"> in my Fluid template. Not as interesting, but way easier.
  • 12:49:12 <braguzz> there is a way to render an image via TS with fluidcontent_core ?
  • 12:50:06 <braguzz> or, pleasse, someone tell me that 'you cant use the ext cal' right now.
  • 12:50:33 <braguzz> so I stop to think at it! ;)
  • 12:55:15 <soma> this might be related: when using fluidcontent_core other extensions like fluidcontent_bootstrap have no output in the frontend anymore
  • 12:56:57 <braguzz> so no way! arghhh
  • 12:57:47 <soma> not sure, i'm still experimenting with fluidcontent_core
  • 12:58:27 <braguzz> no please dont tell me not sure!! ;)
  • 13:02:26 <soma> hey, found the answer to your question: https://github.com/FluidTYPO3/fluidcontent_core/issues/121 ;)
  • 13:03:56 <braguzz> hihi thanks
  • 13:05:29 <braguzz> next question is: how many extensions use cc_styled and I cant use? :(
  • 13:06:25 <braguzz> so I cant render an image without css_styled_content
  • 13:19:41 <braguzz> it seems impossible
  • 13:54:30 <Nurbs> I am trying to use v:page.menu in a layout, but only the v:page.menu-tag is being rendered. Do I need to use {namespace v=...}? Is it possible to use xmlns:v="..." given that there is no wrapping element?

20141230

  • 11:40:05 <bjo3rn> hi. someone here with realurl skills?
  • 12:00:16 <bjo3rn> nvm
  • 12:49:10 <Nurbs> In a page template's Configuration I'm using <flux:field.select name="settings.foo" items="{x: 'X'}"/> Is there some way to provide internationalized versions of 'X' through configuration, that is not by using the verbose LLL:EXT syntax?
  • 12:57:45 <Nurbs> items="{disabled:'LLL:EXT:mytemplate/Resources/Private/Language/locallang.xlf:flux.standardpage.fields.settings.didYouKnow.disabled',...}" works, but is very verbose.
  • 14:09:23 <braguzz> fluid expert here?
  • 14:10:03 <braguzz> ;)
  • 14:21:00 <braguzz> I've debug a variable http://www.provincia.livorno.it/musmed/service/calendar/fluid/fluid-list/?tx_cal_controller%5Bview%5D=event&tx_cal_controller%5Btype%5D=tx_cal_phpicalendar&tx_cal_controller%5Buid%5D=1&tx_cal_controller%5Byear%5D=2015&tx_cal_controller%5Bmonth%5D=1&tx_cal_controller%5Bday%5D=15&cHash=9b5a6f358374701082bf4069f39be8c4
  • 14:21:44 <braguzz> I'd like to find soneting related to images, but I have no skill ... :(
  • 14:22:36 <braguzz> I find everything title, description, time, ecc..
  • 14:22:48 <braguzz> but nothing about images
  • 14:23:32 <braguzz> image is an array where I found # of images that I put inside a single event
  • 14:45:03 <NamelessCoder_> braguzz see https://fluidtypo3.org/library/code-examples.html?tx_fluidshare_display%5Bgist%5D=5&tx_fluidshare_display%5Baction%5D=display&tx_fluidshare_display%5Bcontroller%5D=Gist&cHash=e403004449572e5ede2dd38d6d268f99
  • 15:45:11 <braguzz> mmm
  • 15:46:46 <braguzz> the key is v:content.resources.fal
  • 15:48:46 <braguzz> but I cant find a way to set it up in right way
  • 15:53:59 <braguzz> in table sys_file_reference there are some records
  • 15:54:26 <braguzz> that in 'tablenames' has tx_cal_event, but
  • 15:54:29 <braguzz> .. ?
  • 16:13:30 <braguzz> aaaaa I GOT IT!
  • 16:23:42 <braguzz> seems impossible

20141231

  • 08:36:47 <ndee> Hi guys, builder tells me that a "Template contains uncompilable ViewHelpers", is there a way to find out which viewhelpers that exactly are?
  • 08:47:57 <bjo3rn> ndee switch/case is one I know to be uncompilable.
  • 08:48:39 <ndee> @bjo3rn: is there a list of uncompilable viewhelpers somewhere? What are the characteristics of un uncompilable viewhelper?
  • 08:49:31 <ndee> be back in around 10-15
  • 08:50:56 <ndee> if ($viewHelper instanceof \TYPO3\CMS\Fluid\Core\ViewHelper\Facets\ChildNodeAccessInterface && !($viewHelper instanceof \TYPO3\CMS\Fluid\Core\ViewHelper\Facets\CompilableInterface)) {
  • 08:50:57 <ndee> $state->setCompilable(FALSE);
  • 08:50:57 <ndee> }
  • 08:51:07 <ndee> this is it I guess
  • 09:12:47 <ndee> re
  • 09:27:41 <ndee> I found the following VHs which implement the ChildNodeAccessInterface: v:debug, v:security.allow, v:security.deny, v:switch, neither the template nor the layout contains any of those viewhelpers. I'm using the <flux:widget.grid /> in the preview so it seems as <flux:widget.grid /> makes the template not cachable.
  • 10:09:49 <braguzz> how to loop for a first x items af array in a fluid template?