IRC logs

20140417

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

IRC log range: 20140417*

20140417

  • 08:36:13 <soee> good morning
  • 08:36:34 <soee> whats the proper way to translate labels in flux ? using f:translate ?
  • 09:19:24 <xaver> hi
  • 09:20:28 <xaver> i crated a ext (extbase) and can't drop it into a grid (row with 2 cols). After a refresh the content is always back in main "area"
  • 09:42:02 <soee> xaver: on flux - dev ?
  • 09:42:19 <xaver> soee: flux stable 6.2 typo3
  • 09:42:45 <xaver> i get no error in Log - my first idea was a error in query
  • 09:42:56 <soee> xaver: strange, works for me, there are small issues when copy/paste but i can put elements easily
  • 09:43:40 <xaver> all other elements work, only my own ext (no special things) fails
  • 09:44:37 <soee> ah the custom one
  • 09:45:39 <soee> xaver: and for small test - install some other third party extension with plugin and try to add this plugin
  • 09:54:19 <xaver> soee: UPDATE tt_content SET l18n_diffsource='a:1:{s:6:\"colPos\";N;}',tstamp='1397721146',t3ver_stage='0' WHERE uid=446 - this is the only update query on tt_content in the query log
  • 09:54:34 <xaver> no flux col update
  • 09:54:37 <xaver> Oo
  • 09:58:18 <soee> xaver: maybe try with the -dev version, there were some important bug fixes
  • 10:59:03 <soee> gusy the v:page.link renders title attribute for you ?
  • 11:05:30 <BenjaminR> yes soee
  • 11:05:55 <BenjaminR> there also is a titleAs attribute so you could use title in tag
  • 11:06:47 <randomresult> soee that problem with copying should be solved in dev version
  • 11:06:52 <randomresult> at least works for me
  • 11:06:59 <soee> xaver: ^^
  • 11:07:03 <randomresult> there was a bug danilobuerger fixed
  • 11:07:06 <soee> BenjaminR: with simple usage like <v:page.link pageUid="{pageUid}" /> ?
  • 11:07:43 <BenjaminR> should - but if you ask i guess it doesnt
  • 11:08:22 <soee> :)
  • 11:09:01 <soee> danilobuerger: only flux has xlif file and was added to translation server, other extensions are using old files
  • 11:10:28 <soee> is it hard/easy to migrate to xlif ?
  • 11:13:55 <danilobuerger> no its very easy, takes about 5 minutes
  • 11:14:11 <danilobuerger> but somebody has todo it before its put on the translation server
  • 11:14:54 <danilobuerger> xavier wrote a post on it: http://xavier.perseguers.ch/en/tutorials/typo3/articles/managing-localization-files.html
  • 11:15:13 <danilobuerger> you are welcome to migrate it soee and submit a pull request
  • 11:15:26 <BenjaminR> would be great yes!
  • 11:16:07 <danilobuerger> and remember we only need the xlif file for english, the rest will be on the translation server, take the file in flux as an example
  • 11:16:25 <soee> danilobuerger: sure later at home
  • 11:16:28 <soee> BenjaminR: https://github.com/FluidTYPO3/vhs/blob/development/Classes/ViewHelpers/Page/LinkViewHelper.php#L99
  • 11:17:14 <soee> and this unQuoteFilenames() function: Explode a string (normally a list of filenames) with whitespaces by considering quotes in that string. This is mostly needed by the imageMagickCommand function above.
  • 11:17:36 <soee> so it explodes pageUid ?
  • 11:17:47 <BenjaminR> no pageUid is a own argument
  • 11:17:56 <BenjaminR> wait
  • 11:18:23 <BenjaminR> ah i think this is if pageUid value comes from link generator in backend
  • 11:18:40 <BenjaminR> because there can be values like 3 - title - test=test
  • 11:18:58 <BenjaminR> better tell us how it behaves for you
  • 11:19:00 <soee> ah yes the condition for numeriuc value: if (FALSE === is_numeric($pageUid)) {
  • 11:19:20 <soee> BenjaminR: well it does not render title attribute
  • 11:19:33 <BenjaminR> title attribute?
  • 11:19:37 <BenjaminR> title="" you mean?
  • 11:19:44 <BenjaminR> or <a>title</a>
  • 11:20:32 <soee> attribute not value so: title=""
  • 11:22:21 <soee> BenjaminR: https://github.com/FluidTYPO3/vhs/blob/development/Classes/ViewHelpers/Page/LinkViewHelper.php#L184
  • 11:22:38 <soee> and the if (FALSE === empty($record[$titleFieldName])) { ?
  • 11:23:51 <soee> shouldnt be: if (!empty($record[$titleFieldName])) { .. } ?
  • 11:24:54 <soee> ah no
  • 11:24:56 <BenjaminR> yap you are right - VH doesnt add that attribute
  • 11:25:11 <BenjaminR> see see it on linkconfig what would be needed to have title attribute
  • 11:25:18 <BenjaminR> addAttribute has to be called
  • 11:26:01 <BenjaminR> so one would have to check after $title is avaiable if FALSE === tag->hasAttribute then tag addAttribute title
  • 11:27:13 <BenjaminR> AND check for TRUE === empty($this->arguments['title']
  • 11:27:30 <BenjaminR> because this extends fluid abstracttagviewhelper so you could add attribute title yourself
  • 11:28:00 <BenjaminR> isnt used here most times because you want to get the title by the vh but we be save if one wants to overwrite
  • 11:48:15 <soee> BenjaminR: what would be desired behaviour it title=""
  • 11:48:44 <soee> empty($this->arguments['title']) will return TRUE right
  • 11:48:46 <BenjaminR> if tag attribute is not yet set and this arguments title not supplied then title should be page title
  • 11:49:16 <BenjaminR> be aware of that tag attribte can be set form link config
  • 11:49:24 <BenjaminR> *from
  • 11:49:55 <BenjaminR> we would like to have conditions like TRUE === empty() or FALSE === is_array and so on
  • 11:50:27 <BenjaminR> see here: https://github.com/FluidTYPO3/vhs/commit/52bd6e41ccfef3d8193b350153912a9716e6a087
  • 12:06:35 <soee> danilobuerger: new line at teh end of xlif file is required ?
  • 12:06:42 <soee> https://github.com/soee/fluidpages/compare/migrate_to_xliff_files?expand=1
  • 12:18:26 <BenjaminR> soee: newline - everywhere
  • 12:19:03 <soee> in xml/xliff also ?
  • 12:22:50 <danilobuerger> everywhere
  • 12:22:54 <danilobuerger> BenjaminR is CGL master
  • 12:25:45 <cedricziel> at the end of the xliff file?
  • 12:25:51 <cedricziel> uO
  • 13:58:13 <soee> when do you guys plan to release updates to TER ?
  • 14:07:13 <Jeff_Tollwerk> @NamelessCoder Hi Claus, I'm an employee of Joschi Kuphal at Tollwerk and I'm currently setting up a brand new TYPO3 6.2.0 Page. Fluid pages are working, but we can't see the FCE tab. We created a new content element extension with example FCEs from the documentation but they won't show. In Debug-Mode it says that the files exist. If we use the lis
  • 14:07:14 <Jeff_Tollwerk> t-tool we can actually create a new Fluid Content Element but it says that there are no content types available.
  • 14:08:00 <mrboe> @Jeff_Tollwerk you had to delete temp folder
  • 14:08:18 <mrboe> in the temp folder there is a .FED.... file
  • 14:08:33 <mrboe> wich is not removed my rm -rf
  • 14:09:50 <Jeff_Tollwerk> We now this bug from and older typo3 page so we checked but it seems that the .FED-temp-file is not the problem anymore. we can't find it and we also emptied the whole temp-folder multiple times.
  • 14:10:59 <soee> Jeff_Tollwerk: does the FCE has configured wizard tab name ?
  • 14:16:16 <danilobuerger> soee we release updates to TER whenever something is done and tested,
  • 14:20:08 <soee> danilobuerger: ok, thank you
  • 14:40:56 <Jeff_Tollwerk> no there's no wizard tab name in the FCE. but we used the example FCE from the documentation and I don't think it is necessary, isn't it?
  • 14:41:13 <Jeff_Tollwerk> I just added wizardTab-name but it still doesn't show up.
  • 14:42:01 <Jeff_Tollwerk> I didn't add wizardTab-name in an older installation and the custom tab-name always was "FCE"
  • 14:42:07 <randomresult> cleared cache? in installtool?
  • 14:42:36 <randomresult> are u using the dev-versions or TER?
  • 14:46:20 <Jeff_Tollwerk> We're using the TER version
  • 14:52:19 <soee> Jeff_Tollwerk: works fine for me - the TER version, on current project i have 3 custom CE and they show up in Wizard
  • 14:57:56 <xaver> randomresult: soee thx - it is the normal development branch or?
  • 15:07:41 <xaver> Content area of parent - has in column1 - INVALID VALUE ... column2 works and column1 is not slectable in a column2 element
  • 15:22:07 <cedricziel> Ohai Jeff_Tollwerk. when all is right-the fluidcontent_bootstrap should show you some FCE's. can you test-install it please?
  • 15:24:01 <Jeff_Tollwerk> allright I will try it
  • 15:27:29 <cedricziel> btw, if you generated it with the bower generator joshi wrote; chances are there's something fishy
  • 15:32:54 <Jeff_Tollwerk> No i installted it via TER
  • 15:33:13 <Jeff_Tollwerk> No content element tab with fluidcontent_bootstrap to be found.
  • 15:37:27 <Jeff_Tollwerk> Flux Debug shows that the Templates are found.
  • 16:02:55 <Jeff_Tollwerk> Ok! The problem was that I had activated the extension Uncache from the beginning...
  • 16:03:01 <Jeff_Tollwerk> Deinstalled it and now everything works fine
  • 16:03:23 <cedricziel> aha
  • 16:03:35 <cedricziel> nice to know ;)
  • 17:10:56 <xaver> cedricziel: any idear why i get [ INVALID VALUE ("column1") ]
  • 17:11:05 <xaver> and col 2 in row element works
  • 18:04:39 <Denyerec> randomresult ?
  • 18:04:51 <Denyerec> Pretty sure someone here linked me to a two column element I rather liked.
  • 18:04:54 <Denyerec> And I can't think who it was.
  • 18:11:33 <Denyerec> hey soee
  • 18:12:20 <Denyerec> cedricziel - what's the project with the fluid content elements called
  • 18:12:24 <Denyerec> the one you want to replace CSC with
  • 18:21:08 <Denyerec> Anyone know randomresult's git name ?
  • 18:24:38 <Torsten> Hey, I'm still unable to drag / drop or copy / paste and CE inside a flux grid... anyone working on that?
  • 18:29:08 * Denyerec prods danilobuerger
  • 18:30:04 <danilobuerger> hm?
  • 18:30:28 <Denyerec> Hey man
  • 18:30:36 <danilobuerger> hey
  • 18:30:38 <danilobuerger> whats up?
  • 18:31:23 <Denyerec> I was looking for a prebuilt "columns" CE
  • 18:31:36 <Denyerec> and wondered if one existed and if so, in which project I might look
  • 18:31:49 <Denyerec> I looked in fluidcontent_bootstrap but was not successful
  • 18:32:05 <Denyerec> And I#m sure someone in here was talking about one, but I THINK it was randomresult_afk or bjo3rn
  • 18:32:08 <Denyerec> I just don't remember.
  • 18:32:14 <danilobuerger> something like a fluid row
  • 18:32:17 <Denyerec> Been in the sun for a week and almost forgot my name ;)
  • 18:32:26 <danilobuerger> should be in one of that bootstrap packages
  • 18:32:54 <Denyerec> AHHhh
  • 18:32:56 <Denyerec> fluidrow!
  • 18:33:03 <Denyerec> Silly me looking for "columns"
  • 18:33:04 <Denyerec> :/
  • 18:33:37 <Denyerec> on a CE, what's the "Value" section for ?
  • 18:56:17 <Denyerec> danilobuerger if I take the "fluidrow" element from fluidcontent_bootstrap I get a "commaseparateditems" arguement is not registered.
  • 18:56:27 <Denyerec> Am I to suspect my version of fluidcontent_bootstrap is too old ?
  • 18:56:44 <danilobuerger> yeah, just use "items" instead
  • 18:58:53 <Denyerec> even looking at the latest it seems odd
  • 18:58:53 <Denyerec> wait
  • 18:58:57 <Denyerec> I#m in bjorn's forks
  • 19:20:43 <Denyerec> danilobuerger I've added entries to the LLL for two CEs successfully
  • 19:20:55 <Denyerec> however this third one, when I go to add the CE to a page its title and desc are missing
  • 19:21:05 <Denyerec> Even tho I'm pretty sure I've used the id of the flexform
  • 19:21:21 <Denyerec> Are there any obvious facepalms to watch out for here ?
  • 19:25:07 <Denyerec> None of the labels seem to render, either.
  • 19:25:15 <Denyerec> (On my form fields)
  • 19:34:20 <Denyerec> I just don't seema ble to get the LLL labels to pick up :/
  • 19:34:38 <Denyerec> Oh, there they are...
  • 20:11:40 <randomresult> Denyerec still there?