IRC logs

20131209

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

IRC log range: 20131209*

20131209

  • 02:40:28 <soee_> Are there some VH or services that help to build ajax functionalities on page ?
  • 08:31:30 <mrboe> good morning
  • 09:44:26 <randomresult> so quiet in here
  • 09:53:25 <Guest|878> Hi there. Is there any possibility to make a table content element with flux? thanks.
  • 10:34:22 <danilobuerger> Guest|878 yes, take a look at this to get you started: https://github.com/FluidTYPO3/fluidcontent_bootstrap/blob/master/Resources/Private/Templates/Content/FluidRow.html
  • 10:36:11 <randomresult> moin danilobuerger
  • 10:36:17 <danilobuerger> hey
  • 10:46:35 <danilobuerger> randomresult i fixed your section label problem
  • 10:46:47 <randomresult> wow... how?
  • 10:47:20 <danilobuerger> i am creating a pull request
  • 10:47:30 <danilobuerger> will tell you in a few minutes... would be awesome if you can test it
  • 10:47:40 <randomresult> pull request to?
  • 10:47:42 <randomresult> flux?
  • 10:47:46 <randomresult> or my gist?
  • 10:47:56 <danilobuerger> flux
  • 10:47:59 <randomresult> no, it wasnt a gist
  • 10:48:34 <FT3BOT> Issue 382: [BUGFIX] Added section label https://github.com/fluidtypo3/flux/issues/382
  • 10:48:35 <FT3BOT> Issue 382: [BUGFIX] Added section label https://github.com/fluidtypo3/flux/issues/382
  • 10:48:36 <randomresult> cool but i cant pull it right now because im using 6.1 and the git-master is on 6.2dev
  • 10:48:53 <danilobuerger> randomresult its a 1 LOC change.. you can even do that manually
  • 10:49:00 <danilobuerger> take a look at the PR
  • 10:49:38 <danilobuerger> if it works for you, please comment in the PR
  • 10:49:49 <randomresult> i will change it manually
  • 10:49:52 <randomresult> wait. i check
  • 10:51:58 <Guest|878> danilobuerger thx for your reply. I got this already but I need a table FCE <table></table> but I have no Idea to do that in flux
  • 10:53:02 <randomresult> @danilobuerger works for me - will comment in pullrequest
  • 10:54:28 <danilobuerger> Guest|878 everything in <f:section name="Main">...</f:section> will get rendered, so you need to make your changes here...
  • 10:58:33 <randomresult> @danilobuerger works. thx.
  • 11:07:01 <randomresult> well but my frontend does not work at all.. this is because im working with the latest git-master and t3 6.1.5? i get the following error in the frontend: #1301648167: The requested page didn't have a proper connection to the tree-root!<br /><br />() (More information)
  • 11:07:54 <randomresult> Service unavailabelException in Sites/example.dev/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php
  • 11:13:32 <cedricziel> Guest|878: This is of course possible. But tables are always weird. i propose you try one of the standard elements if possible in any way
  • 11:19:08 <randomresult> good morning cedricziel
  • 11:19:29 <cedricziel> hi randomresult :)
  • 11:19:52 <randomresult> man, that documentation is made from nerd for nerds
  • 11:21:36 <cedricziel> good or bad ^^
  • 11:22:13 <randomresult> for me? bad. for nerds: good
  • 11:22:15 <randomresult> :)
  • 11:22:32 <randomresult> but maybe its because my english is not the best
  • 11:41:27 <FT3BOT> Issue 383: [BUGFIX] Flux namespace https://github.com/fluidtypo3/flux/issues/383
  • 11:41:28 <FT3BOT> Issue 383: [BUGFIX] Flux namespace https://github.com/fluidtypo3/flux/issues/383
  • 11:42:12 <FT3BOT> Issue 383: [BUGFIX] Flux namespace https://github.com/fluidtypo3/flux/issues/383
  • 11:42:13 <FT3BOT> Issue 383: [BUGFIX] Flux namespace https://github.com/fluidtypo3/flux/issues/383
  • 11:42:49 <FT3BOT> Issue 382: [BUGFIX] Added section label https://github.com/fluidtypo3/flux/issues/382
  • 11:42:50 <FT3BOT> Issue 382: [BUGFIX] Added section label https://github.com/fluidtypo3/flux/issues/382
  • 12:34:31 <FT3BOT> Issue 384: [BUGFIX] Namespaces https://github.com/fluidtypo3/flux/issues/384
  • 12:34:32 <FT3BOT> Issue 384: [BUGFIX] Namespaces https://github.com/fluidtypo3/flux/issues/384
  • 12:42:24 <FT3BOT> Issue 384: [BUGFIX] Namespaces https://github.com/fluidtypo3/flux/issues/384
  • 12:42:25 <FT3BOT> Issue 384: [BUGFIX] Namespaces https://github.com/fluidtypo3/flux/issues/384
  • 12:52:32 <FT3BOT> Issue 385: [BUGFIX] Namespaces https://github.com/fluidtypo3/flux/issues/385
  • 12:52:33 <FT3BOT> Issue 385: [BUGFIX] Namespaces https://github.com/fluidtypo3/flux/issues/385
  • 13:02:24 <FT3BOT> Issue 385: [BUGFIX] Namespaces https://github.com/fluidtypo3/flux/issues/385
  • 13:02:26 <FT3BOT> Issue 385: [BUGFIX] Namespaces https://github.com/fluidtypo3/flux/issues/385
  • 14:28:36 <daKmoR> hey guys I was just wondering is it possible to add FAL Images to fluidpages for a headerimage?
  • 14:29:47 <daKmoR> with inheritance for subpages so I don't have to define it on every page...
  • 14:35:04 <danilobuerger> yes
  • 14:35:11 <danilobuerger> daKmoR flux:flexform.field.inline.fal
  • 14:36:22 <danilobuerger> to render -> v:resource.image
  • 14:45:01 <daKmoR> danilobuerger: ok, I can set it in the backend now...
  • 14:45:19 <daKmoR> do you have an example for v:resource.image?
  • 14:46:03 <daKmoR> I only get the id of the fall resource... with the name of the inline.fal object
  • 14:46:39 <danilobuerger> fx <v:resource.image identifier="{product.detailImages -> v:iterator.extract(key: 'uid') -> v:iterator.first()}" treatIdAsReference="1" maxWidth="238" />
  • 14:51:06 <daKmoR> danilobuerger: hmmm :/
  • 14:51:19 <daKmoR> <f:debug>{settings.header}</f:debug> // '1' (1 chars)
  • 14:51:23 <daKmoR> <f:debug>{settings.header -> v:iterator.extract(key: 'uid')}</f:debug> // NULL
  • 14:51:45 <danilobuerger> daKmoR please gist your whole template
  • 14:52:21 <daKmoR> danilobuerger: https://gist.github.com/daKmoR/7872530
  • 14:54:08 <danilobuerger> daKmoR you need to transform your field...
  • 14:54:44 <daKmoR> danilobuerger: transform?
  • 14:55:51 <MindSpark> hello, I'd like to use the menuviewhelper to render a json representation of the hierarchy
  • 14:55:58 <MindSpark> how do I achieve that?
  • 15:03:02 <bjo3rn> MindSpark you can render the menu manually into anything you like. in case you need all record data you could even make it a no-brainer but I assume you want a simple representation?
  • 15:03:48 <MindSpark> bjo3rn: yes, which Class do I have to include and which function?
  • 15:04:03 <MindSpark> sorry bjo3rn, I am here :)
  • 15:04:15 <bjo3rn> tired after five minutes?
  • 15:04:28 <MindSpark> bjo3rn: lol, not tired, anxious
  • 15:04:46 <MindSpark> very anxious. meeting a deadline these days and I need to get done
  • 15:04:47 <danilobuerger> daKmoR seems to be broken atm, i am looking into it
  • 15:04:58 <bjo3rn> ok
  • 15:05:14 <MindSpark> bjo3rn: so which class do I use?
  • 15:05:24 <bjo3rn> use <v:page.menu></v:page.menu> and iterate over the variable {menu} inside the tag
  • 15:05:55 <daKmoR> danilobuerger: oh too bad :/
  • 15:06:31 <bjo3rn> like <v:page.menu pageUid="1" levels="3"><f:for each="{menu}" as="item">...</f:for> </v:page.menu>
  • 15:06:59 <MindSpark> bjo3rn: ah ok, I was thinking about instantiating the object in my controller
  • 15:07:05 <MindSpark> I might need to call it via ajax
  • 15:07:34 <bjo3rn> yes, you can leave that up to a simple template
  • 15:08:18 <bjo3rn> vhs is all viewhelpers
  • 15:08:55 <bjo3rn> ...but tbh I like the idea of having this as a service :)
  • 15:09:02 <MindSpark> bjo3rn: how do I return a view from the controller? Or how do I render the vieew from inside a controller and output it?
  • 15:09:50 <bjo3rn> this might help http://forge.typo3.org/projects/typo3v4-mvc/wiki/How_to_use_the_Fluid_Standalone_view_to_render_template_based_emails
  • 15:10:01 <MindSpark> great, thanks!
  • 15:10:30 <bjo3rn> your welcome, hth
  • 15:12:20 <danilobuerger> daKmoR this was working one week ago, and i need it to work, so expect a fix soon
  • 15:15:37 <MindSpark> bjo3rn: isn't there a simple function anywhere that gets the hierarchy as an array?
  • 15:16:10 <bjo3rn> PageSelectService::getMenu()
  • 15:16:14 <bjo3rn> (in vhs)
  • 15:16:24 <bjo3rn> and PageSelectService::getRootline()
  • 15:16:42 <daKmoR> danilobuerger: {v:page.resources.fal()} seems to work... although it's something "different" it's well fitted for my case :)
  • 15:17:41 <bjo3rn> MindSpark it's a wrapper for t3lib_pageSelect::getMenu()
  • 15:17:58 <MindSpark> bjo3rn: how do I call it from 6.1?
  • 15:18:17 <MindSpark> like if I wanted to get the entire hierarchy from the root level\
  • 15:18:24 <MindSpark> or from a certain page
  • 15:20:51 <bjo3rn> you could inject the service from vhs and call getRootline($pageUid) which would return an array of pids
  • 15:21:15 <bjo3rn> wait, that's just the rootline.
  • 15:21:51 <bjo3rn> for the complete hierarchy you'd call getMenu($pageUid) and would have to do some recursion
  • 15:22:17 <MindSpark> bjo3rn: which class? and which namespace? Is this a static function?
  • 15:22:34 <MindSpark> t3lib_pageSelect::getMenu() ?
  • 15:22:48 <MindSpark> just like that? even if I am on 6.1?
  • 15:23:16 <danilobuerger> daKmoR yes, that will take the page media
  • 15:24:15 <bjo3rn> MindSpark no, that's 4.7 style. it's not namespaced yet but shuold be easy to look up.
  • 15:25:00 <bjo3rn> MindSpark \TYPO3\CMS\Frontend\Page\PageRepository
  • 15:25:21 <MindSpark> bjo3rn: thanks, how do I find something like that? look up getMenu in the api?
  • 15:25:33 <bjo3rn> use an IDE like PHPStorm ;)
  • 15:27:04 <MindSpark> bjo3rn: I tried that. the problem with PHPStorm is that it doesn't synchronize easily with sshfs or samba… :/
  • 15:27:10 <MindSpark> I am developing on a remote server
  • 15:31:36 <bjo3rn> MindSpark you can of course use the search on api.typo3.org as the method names rarely change.
  • 15:33:25 <MindSpark> bjo3rn: yes, that's what I am doing now, how do I get the children though? I don't see a children variable
  • 15:33:28 <MindSpark> or getter
  • 15:35:44 <bjo3rn> MindSpark iterate over the first level and look for
  • 15:36:02 <bjo3rn> 'hasSubPages' in the returned records
  • 15:36:34 <bjo3rn> see vhs' AbstractMenuViewHelper.php:503
  • 15:40:15 <MindSpark> just grepped the typo3 filesystem and couldn't find a file called that
  • 15:40:25 <MindSpark> do I have to install it?
  • 15:43:30 <bjo3rn> which one?
  • 15:44:15 <MindSpark> bjo3rn: ah, I should use getMenu, not getPage :)
  • 15:44:22 <MindSpark> my bad!
  • 15:57:00 <MindSpark> bjo3rn: ok, can you maybe explain to me how to inject the vhs into my template?
  • 16:00:49 <bjo3rn> install the extension, declare the namespace with {namespace v=Tx_Vhs_ViewHelpers} and you're set.
  • 16:18:30 <mrboe> hi guys, i have a problem with a link field /working an t3 6.1.6 with git master (one week old) http://pastebin.com/kefFEZr0
  • 16:18:58 <mrboe> the <flux:flexform.field.wizard.link /> isn't shown im BE
  • 16:23:09 <randomresult> maybe u need to wrap it with an inputfield
  • 16:23:20 <randomresult> <flux:flexform.field.input name="target" label="Ziel Seite (*optional)">
  • 16:23:21 <randomresult> <flux:flexform.field.wizard.link title="Bitte eine Zielseite auswählen" activeTab="page"/>
  • 16:23:21 <randomresult> </flux:flexform.field.input>
  • 16:23:26 <randomresult> ups... sorry
  • 16:24:00 <randomresult> http://pastebin.com/Q3njWMZt
  • 16:24:08 <randomresult> mrboe try this one
  • 16:24:48 <mrboe> thanks randomresult it works
  • 19:29:48 <LittleOneill> hello :)
  • 19:30:22 <LittleOneill> could some1 help me with a small problem?
  • 19:31:12 <LittleOneill> i am using flux:flexform.field.wizard.link to enter a link but when using it, all i get is the id of the page linked instead of the complete link
  • 19:35:00 <LittleOneill> this is how i used it, https://gist.github.com/anonymous/7877973
  • 19:36:51 <bjo3rn> LittleOneill this is how it works. you'll have to use some other viewhelper to turn that id into an url or a link tag
  • 19:37:58 <LittleOneill> hmm yes, i am looking now but cannot figure out which link
  • 19:38:13 <LittleOneill> which viewhelper sry
  • 19:39:09 <bjo3rn> you should use v:page.link from the vhs pakage to include all other parameters from the wizard
  • 19:40:01 <bjo3rn> <v:page.link pageUid="{blink}">My Link</v:page.link>
  • 19:41:40 <LittleOneill> hmm i am actually trying to render the link in a div with data-href={myLink}
  • 19:42:28 <LittleOneill> for the Facebook social share button
  • 19:42:43 <LittleOneill> <div data-href="{myLink}"
  • 19:42:52 <LittleOneill> is it even possible to achieve this? :D
  • 19:43:21 <bjo3rn> sure. use <f:page.uri pageUid="{blink}" /> ;)
  • 19:43:33 <bjo3rn> sorry, f:uri.page
  • 19:44:36 <LittleOneill> ok, i will try now :)
  • 19:44:37 <LittleOneill> 10x :)
  • 19:45:14 <bjo3rn> yw :)
  • 20:12:24 <randomresult> good evening
  • 20:16:03 <mrboe> hello randomresult
  • 20:46:13 <danilobuerger> randomresult
  • 20:46:20 <randomresult> jupp
  • 20:46:44 <danilobuerger> has anybody said something about flux#380 yet?
  • 20:46:46 <FT3BOT> Issue 380: [Task] Documentation about how to use locallang.xlf https://github.com/fluidtypo3/flux/issues/380
  • 20:48:01 <randomresult> well cedric had a look at it
  • 20:48:31 <danilobuerger> and?
  • 20:49:00 <randomresult> we both agreed that it is a good beginning. and that there is alway room for improvement - but its better than nothing
  • 20:49:14 <randomresult> maybe someone should proof that it works like that
  • 20:49:17 <randomresult> :)
  • 20:49:39 <danilobuerger> alright
  • 20:50:08 <randomresult> i think its a good beginning and i dont mind to change it the way you think it should be
  • 20:50:31 <randomresult> so just tell me what you (the team) think and i will rewrite it if needed
  • 20:51:51 <danilobuerger> i am just going over the syntax atm
  • 20:52:10 <randomresult> i need to know what your goal is... so i can go on writing little things for you
  • 20:52:41 <randomresult> it would be great to contribute that way... cause php is not my strength at all
  • 20:52:55 <randomresult> and with this... i can help a bit
  • 20:56:19 <danilobuerger> alright i added some comments
  • 20:56:29 <randomresult> mom
  • 20:59:14 <randomresult> i will go by every comment . thx for the input
  • 20:59:27 <randomresult> what u mean with prefix settings? where?
  • 20:59:55 <danilobuerger> name="settings.includenavi"
  • 21:00:26 <Guest|97650> Hey guys, I have the ID of the page, how do I return the URI?
  • 21:00:31 <danilobuerger> dont ask me why though… NamelessCoder told me thats convention
  • 21:00:52 <randomresult> but where esle
  • 21:01:04 <randomresult> comment same as line 39...
  • 21:01:12 <bjo3rn> Guest|97650 use <f:uri.page pageUid="{uid}" />
  • 21:01:15 <randomresult> in 42?
  • 21:01:30 <randomresult> when do i use setting?
  • 21:01:50 <danilobuerger> name="settings.content"
  • 21:02:06 <randomresult> always when using name?
  • 21:02:13 <randomresult> so for sheets also?
  • 21:02:17 <Guest|97650> bjo3rn: that returns a complete <a href..... />, but I need only the URI, any idea?
  • 21:02:34 <bjo3rn> Guest|97650 f:uri.page returns the uri, not the tag
  • 21:02:35 <danilobuerger> randomresult sheets i am unsure… i need to get that explanation again from NamelessCoder :-)
  • 21:02:44 <randomresult> puh...
  • 21:02:45 <randomresult> ok
  • 21:03:03 <Guest|97650> bjo3rn: thank you, for some reason i missed this before
  • 21:03:08 <bjo3rn> the prefix settings is used to allow overriding those values with ts iirc
  • 21:03:13 <bjo3rn> yw, Guest|97650
  • 21:03:14 <Guest|97650> by the way nice work guys, really nice work
  • 21:03:20 <danilobuerger> bjo3rn aha!!!
  • 21:03:33 <Guest|97650> thanks for your commitment !
  • 21:03:48 <bjo3rn> aha as in irony, danilobuerger ?
  • 21:03:52 <randomresult> @bjo3rn so i use it in every name?
  • 21:03:55 <danilobuerger> no as in awesome
  • 21:04:01 <bjo3rn> hehe
  • 21:04:30 <bjo3rn> I think so, but not sure tbh
  • 21:04:47 <randomresult> but this does not change the way i treat them in the languagefile right?
  • 21:05:05 <randomresult> and what means iirc?
  • 21:05:11 <bjo3rn> no, it's just prepended to the key
  • 21:05:21 <bjo3rn> iirc => if I remember correctly ;)
  • 21:05:26 <randomresult> ok.
  • 21:05:55 <randomresult> and wwhat are double backticks?
  • 21:06:04 <danilobuerger> ``
  • 21:06:09 <danilobuerger> backtick = `
  • 21:06:12 <randomresult> ok...
  • 21:06:13 <danilobuerger> double backtick ``
  • 21:06:19 <danilobuerger> triple backticks = ```
  • 21:06:23 <bjo3rn> tick tock
  • 21:06:28 <danilobuerger> :-)
  • 21:06:34 <randomresult> hell... ok. thats easy. will make it tomorow -
  • 21:07:02 <randomresult> @danilobuerger what do u think about that file... is it good enough ?
  • 21:07:07 <randomresult> should i change something?
  • 21:07:07 <bjo3rn> randomresult doc writing is really appreciated, thanks
  • 21:07:22 <danilobuerger> i havent really read it yet, first syntax :-)
  • 21:07:29 <randomresult> ok.
  • 21:07:36 <danilobuerger> i will read it though
  • 21:07:37 <randomresult> then i will change that asap
  • 21:07:52 <randomresult> i will force push it?
  • 21:08:46 <randomresult> or do i commit it new and ... i will change it and ask cedric
  • 21:09:04 <bjo3rn> amend and force push I say
  • 21:09:09 <danilobuerger> yeah
  • 21:09:16 <danilobuerger> force it real good
  • 21:09:20 <bjo3rn> force is always a solution!
  • 21:09:26 <randomresult> i will check if sourctree is able to do that
  • 21:09:27 <danilobuerger> ship it
  • 21:09:27 <FT3BOT> http://28.media.tumblr.com/tumblr_lybw63nzPp1r5bvcto1_500.jpg
  • 21:09:37 <danilobuerger> randomresult use Tower :-)
  • 21:09:37 <randomresult> otherwise ... i will use the shell :)
  • 21:09:55 <randomresult> well i love sourcetree... but i downloaded tower
  • 21:09:57 <bjo3rn> oh yes, listen to danilobuerger
  • 21:10:12 <randomresult> did you guys tried sourcetree?
  • 21:10:18 <bjo3rn> yes
  • 21:10:23 <danilobuerger> no i was bullied into tower by bjo3rn and NamelessCoder
  • 21:10:27 <bjo3rn> hehe
  • 21:10:28 <randomresult> it was the first gui for git i felt good with
  • 21:10:51 <randomresult> but tower is on my desktop ... so i will give it a try
  • 21:10:55 <bjo3rn> I think the ui sucks. too many buttons/knobs, not intuitive
  • 21:11:10 <danilobuerger> +1 bjo3rn
  • 21:11:16 <randomresult> ok. i will check.. .another 49 euros ...
  • 21:11:18 <bjo3rn> but ymmv
  • 21:11:33 <bjo3rn> (to keep up with the acronyms)
  • 21:12:03 <randomresult> so, i will leave now. see u all tomorow when forcepusheamendewithtower
  • 21:12:09 <danilobuerger> :-)
  • 21:12:13 <randomresult> good night
  • 21:12:18 <danilobuerger> bye, you too
  • 21:12:23 <bjo3rn> cya
  • 21:12:25 <bjo3rn> ;)
  • 21:12:42 <randomresult> @danilobuerger if u want me to change something - comments are always welcome!
  • 21:12:59 <randomresult> good night
  • 21:13:03 <danilobuerger> yup
  • 21:18:40 <danilobuerger> btw randomresult_afk since you are the l18n master now, you could migrate all .xml to .xlf in ft3 :-)
  • 22:08:21 <mrboe> good night guys