IRC logs

20140411

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

IRC log range: 20140411*

20140411

  • 06:01:05 <randomresult> good morning
  • 06:19:02 <aPollO2k> good mornung randomresult
  • 06:19:16 <aPollO2k> guten morgen
  • 06:19:25 <randomresult> :) moin moin
  • 06:19:51 <aPollO2k> silence
  • 06:20:31 <aPollO2k> only the fans from servers are hearable
  • 06:20:38 <aPollO2k> and the birds outside
  • 06:31:37 <randomresult> and my cat watching them
  • 06:31:58 <randomresult> sry. trying to get my automatic deployment to work...
  • 08:14:34 <BenjaminR> GOOD MORNING FluidTYPO3
  • 09:11:24 <alexander_dick> good morning!
  • 09:13:15 <alexander_dick> I'm wondering if it is possible to have the page configuration inherited from the main page - this was possible earlier but now it won't work
  • 09:13:56 <alexander_dick> I have a frontpage and a subpage. on the subpage I want common settings to be inherited from the frontpage layout
  • 09:21:03 <alexander_dick> now I have included the same "base" settings for every page layout. have to configure it twice therefore. http://i.imgur.com/3EUFxqC.jpg
  • 09:21:29 <alexander_dick> @NamelessCoder
  • 09:22:17 <BenjaminR> alexander i dont have a tipp regarding this because it should work but id like to ask something different: is it likely that these settings (pids, ga etc) change depending on page?
  • 09:22:29 <BenjaminR> or do they rarely change
  • 09:26:26 <alexander_dick> they do not change
  • 09:26:52 <alexander_dick> I have some specific settings for the subpage layout but all other settings should be inherited
  • 09:27:03 <BenjaminR> since these values are stored in flexforms most times it is better to place settings that are not likely to change to typoscript constants
  • 09:27:50 <BenjaminR> and since typoscript settings are inherited and assigned to the page template and fce automatically this would result in the same behaviour inside the template
  • 09:28:47 <BenjaminR> assigning plugin.tx_yourproviderext.settings.topMenuRootPid in ts setup would make it available in template as {settings.topMenuRootPid} automatically
  • 09:28:54 <BenjaminR> just another tip :)
  • 09:31:33 <danilobuerger> BenjaminR i am in a world of hurt now... same as you
  • 09:31:43 <BenjaminR> oO
  • 09:31:44 <alexander_dick> alright then I will migrate these settings to typoscript
  • 09:31:54 <danilobuerger> had a case insensitive storage moving to case sensitive
  • 09:31:58 <BenjaminR> NOOOOO
  • 09:32:03 <danilobuerger> yeah :-(
  • 09:32:03 <BenjaminR> youre joking
  • 09:32:06 <alexander_dick> thx! But it's weird because this worked in earlier versions
  • 09:32:09 <danilobuerger> nope not joking
  • 09:32:23 <BenjaminR> oh man - all the best :(
  • 09:32:42 <danilobuerger> well its nothing with the file system... just the DB
  • 09:32:50 <danilobuerger> and that only contains 129 entries in sys_file
  • 09:32:55 <danilobuerger> might as well do it per hand
  • 09:33:47 <BenjaminR> i see - at least light somewhere :)
  • 09:35:10 <BenjaminR> SELECT CONCAT(UPPER(SUBSTRING(name, 1, 1)), LOWER(SUBSTRING(name FROM 2))) AS properName
  • 09:35:11 <BenjaminR> :D
  • 09:35:29 <BenjaminR> but its not that easy i guess :)
  • 09:39:27 <danilobuerger> well i am worried about the hashes
  • 09:39:35 <danilobuerger> sys_file has hashes on the identifier
  • 09:39:44 <danilobuerger> dont know if that can be recalculated
  • 09:55:04 <danilobuerger> BenjaminR muhaha, sql + regex is king
  • 09:56:36 <BenjaminR> :D
  • 09:56:40 <BenjaminR> show it to me :)
  • 09:57:46 <BenjaminR> when i am grown up i will be a coder too
  • 09:58:53 <danilobuerger> 1) you change storage to case sensitive 2) remember last uid in sys_file 3) go to filelist module and click through all folders, this will regenerate sys_file but with different uids 4) execute select a.uid, b.uid from sys_file as a, sys_file as b where a.identifier = LOWER(b.identifier) AND a.uid != b.uid AND a.uid < ####YOUR LAST UID FROM 2)#### 5) regex the result with /([0-9]+)\t([0-9]+)/delete from sys_file where uid=$1; update
  • 09:58:53 <danilobuerger> sys_file set uid=$1 where uid=$2;/ 6) execute those new sql statements 7) done
  • 09:59:46 <BenjaminR> break :P
  • 09:59:48 <BenjaminR> *freak
  • 10:00:04 <BenjaminR> good one
  • 10:01:45 <danilobuerger> fast ^^
  • 10:05:02 <BenjaminR> yap a lot faster than i solved my issue ^^
  • 10:09:39 <alexander_dick> one more question :)
  • 10:10:15 <alexander_dick> is it possible to change the layout "programmatically" from within an extension?
  • 10:11:15 <alexander_dick> I want to show a list view and the single view on the same page. The single view should have a different layout though
  • 10:12:06 <BenjaminR> Thats a question for our seniors :)
  • 10:12:26 <BenjaminR> Calling NamelessCoder or danilobuerger
  • 10:14:32 <danilobuerger> does yoru single view have a different template than the list view?
  • 10:15:25 <danilobuerger> alexander_dick
  • 10:15:28 <alexander_dick> yes
  • 10:15:36 <alexander_dick> Subpage
  • 10:15:48 <alexander_dick> whereas the list view shoud have the template SubpageFullWidth
  • 10:15:53 <danilobuerger> gist one of them please
  • 10:15:59 <alexander_dick> I tried overriding $GLOBALS['TSFE']->page['tx_fed_page_controller_action'] = 'foo->Subpage';
  • 10:16:04 <danilobuerger> nono far simpler
  • 10:16:08 <danilobuerger> just gist one of your templates
  • 10:16:16 <alexander_dick> but this happens of course too late in the content
  • 10:16:34 <alexander_dick> do you mean my page template?
  • 10:16:42 <danilobuerger> fx SubpageFullWidth
  • 10:17:20 <alexander_dick> https://gist.github.com/anonymous/28cb73c7ac9ca5000b5f
  • 10:17:30 <danilobuerger> look at Line 3
  • 10:17:34 <danilobuerger> that determines the layout
  • 10:17:48 <danilobuerger> currently you use the layout "Page"
  • 10:17:53 <danilobuerger> just put something different there
  • 10:18:15 <alexander_dick> hmm
  • 10:18:29 <alexander_dick> and how do I switch between Subpage and SubpageFullWidth then?
  • 10:18:33 <BenjaminR> But its about the page template not the layout?
  • 10:18:44 <alexander_dick> yes the page template
  • 10:19:17 <alexander_dick> should be different when I'm in the content's single view
  • 10:19:41 <alexander_dick> so I'm looking for a way to switch it from inside the extension that creates the singleview
  • 10:20:35 <danilobuerger> ah thats somethign totally different... you said before that you wanted to switch the "Layout"
  • 10:21:43 <danilobuerger> so its the same page ?
  • 10:21:59 <alexander_dick> sorry
  • 10:22:03 <BenjaminR> alexander_dick: you see - the seniors speak a different language ;)
  • 10:22:05 <alexander_dick> yes it's the same page
  • 10:23:13 <danilobuerger> alexander_dick you cant change the page template like that.. what you will have todo is move the stuff in the rendering section (often called "Content") to a partial... then check via f:if which of the two partials you want to display
  • 10:24:31 <BenjaminR> danilobuerger - what about a pageprovider which checks for a TCA value that the extension sets and switchs according to that value the action?
  • 10:24:58 <danilobuerger> yes BenjaminR but thats far more work than just having 2 little partials and 1 f:if
  • 10:25:15 <BenjaminR> maybe yes :)
  • 10:26:17 <alexander_dick> I will try this out
  • 10:26:46 <alexander_dick> the only difference between the Subpage and SubpageFullWidth is that the SubpageFullWidth has no sidebar
  • 10:27:03 <alexander_dick> I make a third template
  • 10:27:10 <alexander_dick> with an if condition
  • 10:27:30 <BenjaminR> if (TRUE === isset($GLOBALS['TCA']['tx_fluidpages']['mythirdpartyextensionWhateverKey']['overwrittenAction']) { $this->$overwrittenAction(); }
  • 10:27:41 <BenjaminR> that was the idea
  • 10:27:59 <BenjaminR> in initializeAction() fx
  • 10:28:18 <BenjaminR> without mythirdpartyextesnionswhateverkey itw ould be more generic too
  • 10:28:31 <BenjaminR> you you can set this tca value on whatever extension and your pageprovider switchs the template
  • 10:30:08 <alexander_dick> cool
  • 10:33:53 <alexander_dick> I try the if condition first
  • 10:34:17 <BenjaminR> this is a) not ready to use and b) the f:if could be better
  • 10:34:36 <BenjaminR> and this is intended to use in a pageprovider extexnsion
  • 10:34:53 <BenjaminR> *pagecontroller in your provider extesnion
  • 10:42:42 <alexander_dick> https://gist.github.com/anonymous/d362efe02430480fd56f
  • 10:42:45 <alexander_dick> works great :)
  • 10:46:01 <BenjaminR> danilobuerger - is there are something like v:page.info for content elements? something to resolve current content element. what for? want to query record title in a thrid party plugin
  • 10:46:36 <danilobuerger> no idea
  • 10:47:43 <floxx> flux 6.0.2: <flux:flexform.container name="welcome1" label="Welcome">
  • 10:47:52 <floxx> label isn't schown in backend. any idea why?
  • 10:48:14 <floxx> i meant shown… :-D
  • 10:49:34 <floxx> (at least you know now where i'm coming from)
  • 10:50:41 <alexander_dick> @daniloburger is that what you meant? see my gist
  • 10:53:17 <alexander_dick> https://gist.github.com/anonymous/1ad32cb50dba959a1314
  • 11:08:01 <floxx> according to my previous question: found the bugreport here https://github.com/FluidTYPO3/flux/issues/444
  • 11:34:41 <Guest|73114> Hey guys any solution for the performance problem with typo3 6.x
  • 11:35:04 <Guest|73114> i have rendering times about 18 secs on a AWS...
  • 11:35:40 <Guest|73114> i really love fluid but all customers are unhappy with the perfomance and I may decide to close using fluid... please help me
  • 11:39:06 <Guest|73114> any solution for template cache?
  • 11:40:46 <danilobuerger> Guest|73114 fluid is FAAAAAR faster than typoscript... so its probably that you are doing something wrong
  • 11:41:17 <danilobuerger> you should try to find that bottle neck and fix it instead of searching for ways to better cache
  • 11:42:11 <Guest|73114> if have one navigation some fluid rows, images etc on the site and its so slow
  • 11:42:29 <Guest|73114> appends it on the code which i am generating?
  • 11:43:05 <Guest|73114> i built a complete fluid ext which generates a bootstrap website, there are many conditions etc
  • 11:43:09 <Guest|73114> could be that a problem?
  • 11:54:59 <shaggz> hey guys
  • 12:21:11 <Momodedf> Hello !
  • 12:40:18 <Momodedf> is there anyone ?
  • 12:53:36 <Guest|73114> does the viewhelper cache help to get a better performance???
  • 12:57:33 <danilobuerger> Guest|73114 you can use EXT:builder to check your templates
  • 13:04:07 <Momodedf> I've just updated my website to flux 7 and i can no longer use flux:flexform.field.group to add a tt_content list
  • 13:04:15 <Momodedf> is there a workaround ?
  • 13:21:16 <shaggz> Hey guys, I always get this error if I clear the cache. PHP Warning: scandir(): (errno 13): Permission denied in .../typo3_src-6.1.7/typo3/sysext/core/Classes/Utility/GeneralUtility.php line 2748. I'm using fluidcontent 3.1.0, fluidpages 2.1.0, flux 6.0.2 I know there are newer versions, but at the moment I only want to fix this issue. I debugged i
  • 13:21:17 <shaggz> t and saw that scandir(/) is called. That's obviously not correct. Does anybody know what I'm doing wrong?
  • 13:35:56 <NamelessCoder> shaggz did you change *any* template, layout or partial root path to "/" ?
  • 13:38:25 <NamelessCoder> shaggz maybe you can debug typo3conf/ext/fluidpages/Classes/Service/PageService.php:299 - this is the *only* place in any fluidtypo3 extension where scandir() is used.
  • 13:38:50 <NamelessCoder> (a stack trace would help a great deal)
  • 13:39:26 <shaggz> Hi Nameless, i paste the stack trace
  • 13:39:27 <NamelessCoder> Momodedf this page should explain everything: http://fluidtypo3.org/documentation/templating-manual/appendix/migration/from-flux-6x.html :)
  • 13:39:37 <NamelessCoder> pastebin, don't paste here ;)
  • 13:40:23 <shaggz> for sure but i prefer gist, but should be the same right?
  • 13:41:00 <NamelessCoder> absolutely, any paste-site will do
  • 13:43:24 <NamelessCoder> Momodedf there is additional select/group field specific info here: http://fluidtypo3.org/blog/news/flux-forms-revisited.html - scroll down to the section called "Breaking changes"
  • 13:45:24 <NamelessCoder> Momodedf basically you should now use flux:form.relation - and you should not need to change anything except the namespace (as described on the first url) and the tag name of your current "group" field to become flux:form.relation, arguments are the same.
  • 13:52:25 <Guest|73114> we have severe problems with fluid rendering speed. Are there any insights using advanced caching mechanismns like ESI?
  • 13:54:07 <NamelessCoder> Guest|73114 if your server has a slow filesystem, uses a networked database server, has no opcode caching and (worst of all) runs TYPO3 versions below 6.2 you *will* see bottlenecks in I/O.
  • 13:55:12 <NamelessCoder> in addition Fluid can be hard on filesystems which do not support proper memory caching of files
  • 13:58:50 <Momodedf> Hi NameslessCoder thanks for your help, actualy i've seen those articles and alreat tried with a relation, but it make me a full list of my website's tt_content and I'ld like to use a wizard to select them
  • 13:59:28 <Guest|73114> We use 6.2 on a extreme performant Ubuntu Rootie with APC, memcached (local as well as AWS Elasticache tested). The filesystem is EBS-backed, but i have to do some research on memory caching of files ...
  • 13:59:34 <NamelessCoder> Momodedf you may be missing "size" attribute set >1 to make the field a two-pane one with selector on the right and selected values on the left
  • 14:00:38 <Momodedf> I have a two-pane already, but I would like a wizard with pagetree like it used to
  • 14:00:38 <NamelessCoder> Momodedf internally the flux:field.relation viewhelper still creates a "group" type TCEforms field, it just needs the proper attributes (this particular field type has a lot of different displays depending on size, multiple and maxItems properties)
  • 14:01:02 <NamelessCoder> if the "group" field could do that before, the "relation" field can do it now ;)
  • 14:23:11 <misiak> Hi, is there any ft3_empty extensions for FLUX 7? Thnx.
  • 14:53:01 <Momodedf> is there any way to add a pagetree wizard to flux relations ?
  • 15:08:29 <Torstenn> Hi there, i'm using typo3 6.1.7 and fluidcontent, if i create a fluidcontent element with a flux:form.content i can put a plugin into that content element, all works find
  • 15:08:32 <Torstenn> *fine
  • 15:09:02 <Torstenn> but if i move the content Element to anote fluidcontentelement (in a section too) the colPos ist set to "0" instead of -42 it was before
  • 15:09:10 <Torstenn> any idea how i can change it?
  • 15:16:00 <Torstenn> no ideas anyone? i think this must be a known problem ;)
  • 15:32:25 <Momodedf> i've tried renderMode="tree" on field.relation but I got TCA Tree configuration is invalid: "treeConfig" array is missing :(
  • 15:33:58 <Torstenn> define treeConfig in TCA
  • 15:34:26 <Torstenn> http://docs.typo3.org/typo3cms/TCAReference/Reference/Columns/Select/Index.html#treeconfig
  • 15:35:10 <Momodedf> there is no treeConfig attribute in field.relation
  • 15:36:25 <NamelessCoder> Torstenn / Momodedf - see http://fluidtypo3.org/viewhelpers/flux/master/Flexform/Field/TreeViewHelper.html
  • 15:36:31 <Guest|90779> Hello!
  • 15:37:55 <Momodedf> yes I've seen it NamelessCode but i dont want to make relation to pages but to tt_content on those pages
  • 15:38:46 <Guest|90779> Maybe someone can help me please? I've set up some containers on page templates to add teasers to a page... that's working quite well - but now it comes to localisation... how is it possible to localize the fluxform and it's fields? (i mean not the labels, i mean how can i localize the contents of the fields?) Thank you!
  • 15:39:00 <NamelessCoder> you asked about how to create a field with renderMode=tree, flux:field.tree is how you do that
  • 15:40:03 <NamelessCoder> Guest|90779 this is an open feature request, see https://github.com/FluidTYPO3/flux/issues/506
  • 15:40:40 <Momodedf> NamelessCoder that's because I'm lost with my tt_content container type ... maybe I'm on a wrong way to do it ..
  • 15:40:59 <Guest|90779> Oh no! I thought I've almost finished the development... :-(
  • 15:41:22 <Guest|90779> But thanks for your answer....
  • 15:41:40 <NamelessCoder> it is possible to manually add the tx_fed_page_flexform field to page overlay (and extend DB schema)
  • 15:43:22 <shaggz> Hey nameless I don't have the stack trace at the moment but I can say that it is noch fluidpages. If I remove fluid content the error is gone. Its the get_dirs function in GeneralUtility.
  • 15:43:44 <shaggz> Does that help in a way? It seems that fluidcontent triggers it somewhere
  • 15:44:49 <Guest|90779> Was this answer (tx_fed_page_flexform) for me?
  • 15:45:50 <NamelessCoder> Guest|90779 yes, that one was for you
  • 15:47:55 <NamelessCoder> shaggz it's likely that you either have not included the static TS to set templateRootPath for your provider extension or another extension containing FCEs. Or that the static TS simply contains no view paths.
  • 15:48:14 <NamelessCoder> shaggz for more debugging check typo3conf/ext/fluidcontent/Classes/Service/ConfigurationService.php:253
  • 15:51:25 <shaggz> from which version do you speak nameless?
  • 15:51:47 <NamelessCoder> development branch
  • 15:52:20 <BenjaminR> haha i like :D (no one else recognized it i guess)
  • 15:53:24 <shaggz> In the past I updated all your extension but didn't get it work so I'm still working with 3.1.0
  • 15:53:39 <shaggz> (fluidcontent)
  • 15:54:07 <shaggz> Is that a big problem? Then I have to try it again with the update
  • 15:56:58 <NamelessCoder> shaggz to confirm that you're not experiencing an old bug yes, you should try the development branches
  • 15:58:37 <shaggz> Normally I do, but this time not because I experienced problems after the update. But you're right. I update it and tell you if the problem is gone
  • 15:58:51 <shaggz> Thanks
  • 15:59:07 <NamelessCoder> yw :)
  • 16:01:54 <Momodedf> weel i guess i'm going to get back to 6.x flux ext thats looks like a dead end for me, thanks you for the help
  • 16:02:11 <shaggz> To confirm that I'm right, I should update all fluidtypo3 extensions
  • 16:02:30 <shaggz> So I should upgrade to flux 7.0
  • 16:02:42 <shaggz> and the other extension also to the latest version
  • 16:03:09 <Guest|90779> Nameless, thank you for your help - i added "tx_fed_page_flexform" to the install tool overlayfields.... and i extended pages_language_overlay with tx_fed_page_flexform... that should be ok, should'n it?
  • 16:03:35 <NamelessCoder> Guest|90779 yes that should be it.
  • 16:04:15 <NamelessCoder> shaggz replace your extension directories for flux, fluidcontent (and fluidpages) with git repositories checked out on the development branch. See http://fluidtypo3.org/blog/news/62-install-script.html for the necessary commands
  • 16:05:23 <shaggz> Thanks for the link but there we have a problem. I can not update to 6.2 because 2 Extensions that I have to use are only working until 6.1
  • 16:06:07 <NamelessCoder> you don't need to upgrade, you just need to see the git clone commands ;)
  • 16:07:04 <shaggz> I just looked at the code, sorry wanted to say that the clone commands should work
  • 16:07:07 <shaggz> Thank nameless
  • 16:07:09 <shaggz> :)
  • 16:08:46 <NamelessCoder> and that's all from me today in the chat - time to do some actual work ;) have a nice weekend guys!
  • 16:08:54 <Guest|90779> hmm i think there must be something else... maybe i have to change the tca showfields?
  • 16:08:57 <Guest|90779> ohh sorry
  • 16:45:25 <Outdoorsman> Is it possible to make a "Text with Image" content element from CSS_STYLED_CONTENT responsive?
  • 16:56:04 <Outdoorsman> @NamelessCoder randomresult mrboe or others... It would be nice to make css_styled_content or fluidcontent_core integrate with fluidbootstraptheme such that you could easily just select if you wanted an image to be responsive from within "Text with Image". Would this be too complicated or even possible?
  • 17:04:49 <Torstenn> Hi, ive a question to fluidcontent, if i insert a plugin into a fluidcontent section all works fine, but if i move the plugin between two sections the colPos is changed from -42 to 0 which results in a double representation in BE and FE, any ideas?
  • 20:11:37 <robsonrobi> good evening.
  • 20:12:07 <robsonrobi> may be someone can help me with flux and <flux:field.inline.fal ?
  • 20:13:03 <robsonrobi> when i try to add a new reference i always get the error wrong configuration in table tt_content
  • 20:13:34 <robsonrobi> https://www.filepicker.io/api/file/1QkkaG00QDuL2WeMG9bs
  • 20:17:33 <robsonrobi> okay, leaving the enabledcontrols empty fixes the problem..
  • 20:22:19 <BenjaminR> maybe you supplied it not as it is expected