IRC logs

20141118

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

IRC log range: 20141118*

20141118

  • 08:45:01 <jmverges> good morning mates
  • 08:51:47 <Momodedf> hello
  • 08:52:33 <vizArt> mooorning ^^
  • 09:07:26 <jmverges> I'm having some weird behaviour with RTE
  • 09:08:20 <jmverges> I'm inserting <span class="icon-facebook"></span> and I cannot select it or is hard to delete
  • 09:10:33 <soee> i dont think its fedext related issue :)
  • 09:10:41 <soee> probably something with RTE configuration
  • 09:13:19 <jmverges> sorry soee , is righ
  • 09:13:36 <jmverges> you are right, is not a fedext, however this room is always active :P
  • 10:40:08 <rosieres> v:content.render does not let me access certain fields -> <v:content.render limit="8" pageUid="{settings.footerContentUid}" as="ce">
  • 10:40:10 <rosieres> <f:for each="{ce}" as="element">{element.bodytext}<f:debug>{element.bodytext}</f:debug></f:for>
  • 10:40:12 <rosieres> </v:content.render> {element} gives me full item {element.bodytext} is NULL -> is that wanted?
  • 10:40:17 <rosieres> Any idea?
  • 10:45:27 <jmverges> what about the colPos?
  • 10:45:48 <jmverges> you need the columun
  • 10:45:48 <rosieres> is not a requiredAttribute
  • 10:45:53 <jmverges> uhm
  • 10:45:59 <jmverges> try it
  • 10:46:05 <jmverges> As I understad
  • 10:46:12 <jmverges> you have a Page for the footer
  • 10:46:18 <jmverges> right?
  • 10:46:42 <jmverges> I'm working in an approach for "overlay" pages
  • 10:47:15 <jmverges> <v:content.render column="11" pageUid="{settings.layoutPage}"/>
  • 10:48:12 <jmverges> hey mates, I need to create a Custom form element, however https://fluidtypo3.org/documentation/templating-manual/advanced-provider-extensions/custom-form-objects/creating-components.html is empty
  • 10:48:34 <jmverges> soee, gbod , NamelessCoder , anyone? some example code
  • 10:49:47 <gbod> jmverges: Stop these direct mentions!
  • 10:50:38 <jmverges> sorry
  • 10:51:35 <rosieres> funnily if column is set I do not get ANY output while the content is definately on colPos0
  • 10:53:29 <jmverges> rosieres, I don't know. try with flux:content.render
  • 10:53:56 <jmverges> rosieres, the column is part of the layout or is part of some FCE?
  • 11:02:00 <jmverges> so, doesn't anyone know about custom flux fields?
  • 11:02:20 <rosieres> jmverges: no fce
  • 11:03:47 <jmverges> so is a page column
  • 11:04:06 <jmverges> did you try flux:content.render ?
  • 11:04:45 <jmverges> just to discard
  • 11:05:49 <jmverges> could you paste the output of {element}
  • 11:07:20 <rosieres> afk
  • 11:20:41 <rosieres> jmverges: AFAIS flux.content.render is not ment for FE
  • 11:20:42 <FT3BOT> Welcome back rosieres!
  • 11:27:23 <rosieres> jmverges: btw: {element} output is the complete content element .. . no need to paste
  • 11:27:41 <jmverges> so, I don't know how could I help you
  • 11:28:27 <jmverges> <f:debug is returning null for bodytext, isn't it?
  • 11:29:34 <jmverges> http://pastebin.com/tu3ftqPq
  • 11:30:03 <jmverges> I'm using that for a FCE, and the other line for pagecontent
  • 11:33:38 <Xatenev1> was the maxthreadsize lal
  • 11:33:44 <Xatenev1> ops w/c
  • 12:15:59 <jmverges> how could I add a stylesheet to BE with a userFunc? Is it possible?
  • 12:34:44 <rosieres> jmverges: for own FCE or RTE?
  • 12:35:11 <rosieres> jmverges: for own FCE or RTE?
  • 12:36:27 <jmverges> own FCE
  • 12:36:34 <jmverges> I'm doing a hook
  • 12:36:56 <rosieres> afk
  • 14:06:43 <batjony> guys, lets say i have a menu: Home, About, Contact, Test and the page Test has two sub pages Test1 and Test2
  • 14:07:34 <batjony> when i try to render the menu with: v:page.menu levels="2" i see the sub pages(Test1 and Test2) only when I click on page Test
  • 14:07:46 <batjony> in the rest cases the sub pages are not visible in the menu
  • 14:08:19 <batjony> is there a way to display all sub pages no metter where the user currently is ?
  • 14:10:27 <batjony> of course in case when I use the automatic menu rendering (so without as="menu" and the manual rendering)
  • 14:13:49 <rosieres> batjony: expandAll
  • 14:13:49 <FT3BOT> Welcome back rosieres!
  • 14:14:23 <hans_> hi there !
  • 14:14:45 <hans_> how can is set the "target" attribut in a v:page.menu ?
  • 14:14:58 <hans_> i got some normal pages and one external link
  • 14:15:09 <hans_> there the target="_blank" should be set!
  • 14:17:27 <rosieres> hans_ useShortcutTarget should do it . .. if not do an inline if on doktype
  • 14:18:58 <rosieres> batjony && hans_ -> https://fluidtypo3.org/viewhelpers/vhs/master/Page/MenuViewHelper.html
  • 14:28:53 <hans_> hm, ok
  • 14:28:59 <hans_> i got this iteration: <f:for each="{menu}" as="mainPage" iteration="iteration">
  • 14:29:40 <hans_> and then i debug the mainPage-Objects there is a target => _blank
  • 14:29:50 <hans_> so i used: target="{mainPage.target}"
  • 14:30:03 <hans_> but there is nothing in die html
  • 14:30:47 <rosieres> hans_ paste a gist?
  • 14:33:15 <hans_> https://gist.github.com/anonymous/c464d950830e8a9ac2f9
  • 14:34:08 <hans_> rosieres:
  • 14:34:15 <hans_> rosieres: sry, it´s working!
  • 14:34:21 <hans_> got the worng tpl!
  • 14:34:24 <hans_> :-/
  • 14:35:22 <hans_> rosieres: thx for the support ! :-)
  • 14:35:27 <hans_> it´s done!
  • 14:40:13 <rosieres> hans_ if you look into MainPage.target with debug you should see it is empty . . . so you make an if confition on url field
  • 14:40:57 <rosieres> hans_ ql: just crosschecked. Bute here target is empty :-)
  • 15:00:43 <rosieres> I am in a partial. Is it possible to pass an argument to access content elements fiels? If I pass {_all} there is an record array but this is the original page array. And my <v:content.render limit="8" pageUid="{settings.footerContentUid}" as="ce">
  • 15:00:45 <rosieres> <f:debug title="all">{_all}</f:debug>
  • 15:00:47 <rosieres> <f:for each="{ce}" as="element">{ce}</f:for>
  • 15:00:49 <rosieres> </v:content.render> ce array has only two strings with the copmlete content item . . . I want to extract bodytext
  • 15:02:53 <rosieres> Is explode the right way? But how?
  • 15:08:11 <braguzz1> hi some months ago I made few sites with 6.1 and speciality ext
  • 15:08:27 <braguzz1> evrything is working fine
  • 15:08:46 <braguzz1> but I had some problems to pass to 6.2 and twboot 3
  • 15:09:03 <rosieres> OK. It's time: Obi NamelessCoder Kenobi. Padawan needs advice.
  • 15:09:15 <braguzz1> now I have to start two more sites
  • 15:10:05 <braguzz1> and I'd like to know where the world is walking
  • 15:10:20 <rosieres> braguzz1: ??
  • 15:10:45 <braguzz1> sorry I admit to have been cryptic
  • 15:11:09 <braguzz1> Is some months that I dont look at typo3, speciality, ecc..
  • 15:12:13 <braguzz1> and I like to have some advice
  • 15:12:33 <rosieres> come to the point
  • 15:12:36 <braguzz1> fluidtypo3 is fully compatibile with speciality ext?
  • 15:13:23 <braguzz1> in my experience with speciality and 6.1
  • 15:13:55 <braguzz1> everything is working but I have had many problems to upgrade to 6.2
  • 15:14:23 <rosieres> braguzz1: https://github.com/Ecodev/typo3-cms-speciality-distribution is you friend -> watch iddsue tracker and commits .... then you are up to date. I've never used it as I do homebrew
  • 15:15:41 <braguzz1> mmm there are many issues. someone use it?
  • 15:19:50 <rosieres> braguzz: https://github.com/bootstraptheme-for-typo3/fbtpackage seems to be common and maintained
  • 15:23:41 <braguzz1> mmm thanks I'll take a look, thanks again
  • 15:23:58 <jmverges> does anybody know how could I get in FLUX a link selector?
  • 15:24:42 <jmverges> I see, wizar
  • 15:25:38 <rosieres> jmverges: must be nested in a field e.g.
  • 15:26:06 <jmverges> nice, so nice
  • 16:21:00 <jmverges> what is wrong with this: <v:tag name="{settings.iconElement.tag}" class="{settings.iconElement.class} {settings.iconElement.size}"></v:tag>?
  • 16:30:12 <jmverges> any one?
  • 16:30:43 <rosieres> jmverges: What do you expect AND what do you get ? -> Be precise in your definitions
  • 16:31:02 <jmverges> I get nothing
  • 16:31:17 <jmverges> I spect a span with class icon-fire
  • 16:31:47 <jmverges> both parameters printed individually returns the expected values
  • 16:36:04 <jmverges> rosieres, ?
  • 16:37:18 <rosieres> this is what it is used in other cases. Perhaps you start with entering string values - if your ouput is ok move to variable inserts <f:debug>{settings}</f:debug> is a goo friend
  • 16:37:24 <rosieres> https://github.com/FluidTYPO3/fluidtypo3org/blob/master/Resources/Private/Layouts/Default.html
  • 16:38:48 <jmverges> settings are fine
  • 16:39:31 <jmverges> is not as complex as that example
  • 16:39:35 <rosieres> enter stings instead of the variables to see if the tag gets rendered
  • 16:39:37 <jmverges> I used it in other place
  • 16:43:50 <jmverges> is because the content of the tag content is empty
  • 16:44:02 <jmverges> hideIfEmpty="0"
  • 16:44:39 <jmverges> is not working
  • 16:49:25 <rosieres> afk
  • 16:49:56 <jmverges> I found a bug :)
  • 17:43:57 <NamelessCoder> jmverges you forgot to report the bug you found
  • 17:44:09 <jmverges> I'm on it
  • 17:44:43 <jmverges> I have to do a fork to commit right?
  • 17:45:40 <xaver> jmverges: you tried the vm?
  • 17:46:03 <jmverges> no, sorry I will do it today
  • 17:46:48 <Xatenev1> jmverges: Fork > Commit > Pull request to merge your solution into the original source
  • 17:52:14 <jmverges> NamelessCoder, I did a pr
  • 17:52:29 <jmverges> I like the bots :)
  • 17:55:07 <xaver> jmverges: you need to change your commitmessage and not the PR mesage
  • 17:55:07 <NamelessCoder> jmverges do TRUE === (boolean) $this->arguments['hideIfEmpty']
  • 17:55:20 <jmverges> shit, now I have to revert and all that stuff right?
  • 17:56:26 <xaver> no git commit --amend to edit a commit and git push -f
  • 17:56:28 <Akii> git commit -a --amend after you done
  • 17:56:38 <Akii> you're
  • 17:57:18 <xaver> -a is all files if some changed stuff shouldn't be in commit you need to add the changes with git add
  • 17:58:22 <Akii> yipyip
  • 17:58:25 <xaver> any use only one commit - not 2 commits
  • 17:58:51 <Akii> also empty returns only boolean - no need to cast
  • 17:59:13 <NamelessCoder> yeah but don't use empty() to check the value of a boolean parameter
  • 17:59:22 <NamelessCoder> it reverses the logic
  • 17:59:44 <jmverges> I delete the fork
  • 17:59:47 <jmverges> I will do it again
  • 17:59:50 <xaver> no
  • 17:59:54 <Akii> lol
  • 17:59:56 <xaver> git reset --soft HEAD^
  • 18:00:14 <Akii> that's what I did after I first crashed the xserver
  • 18:00:21 <xaver> git commit --amend -a # if you changed nothing else
  • 18:00:23 <xaver> git push -f
  • 18:03:24 <jmverges> is too late, sorry :( I felt nervous
  • 18:49:07 <jmverges> now... at the end. I'm not used to work with PR..
  • 18:49:24 <jmverges> NamelessCoder, I hope it is well no
  • 18:49:26 <jmverges> now
  • 18:50:05 <jmverges> xaver, I'm restarting in Windows the other computer
  • 20:27:20 <rosieres> It try to get a certrain field of a content element. I am doing it within a partial section, which is called with all arguments for testing. Namespaces Are declared in Partial, Layout and Page. I only get an array with strings, not a subarray or something like that. -> {v:content.get( limit:"8",pageUid:"{settings.footerContentUid}" -> v:variable.set(name="content")} a hint from cedric was to try something like {v:content.get( limit:"8",p
  • 20:27:20 <FT3BOT> Welcome back rosieres!
  • 20:27:22 <rosieres> ageUid:"{settings.footerContentUid}" -> v:variable.set(name="content")} -> but unfortunately this is only throws as plain output. Any suggestions?
  • 20:27:55 <rosieres> http://pastebin.com/GyhczvHv
  • 20:28:52 <rosieres> Pastebin is what I was trying .... the inline vh from above is what cedricziel mentioned
  • 21:20:37 <jmverges> my first pr accepted! good night all. See you tomorrow
  • 22:43:30 <xaver> rosieres: : not =