IRC logs

20140721

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

IRC log range: 20140721*

20140721

  • 10:54:13 <floxx> gencha: is this your repo https://github.com/oliversalzburg/typo3scripts ?
  • 10:57:36 <featdd> good morning
  • 10:59:59 <mrboe> hey - any idea how to render a colum only if it contains content
  • 11:01:58 <featdd> hm would have to think about how to check if theres content available
  • 11:03:14 <featdd> have to take a look into the code
  • 11:04:53 <Guest|88637> hi all... is there a possibility to get a GET-parameter in fluid-template?
  • 11:06:34 <featdd> Guest|88637: you have to pass it through in the controller
  • 11:06:45 <featdd> $this->request->getArgument('variable');
  • 11:07:15 <Guest|88637> hmpf :( thank you
  • 11:09:13 <featdd> why you want to access a get parameter directly in the template?
  • 11:09:57 <featdd> shouldnt extbase handle this for you? :-P
  • 11:10:16 <Guest|88637> look, i have an extension which shows me some authors and i can access the detail page for the selected author
  • 11:10:34 <Guest|88637> its an own extension, not accessible in the TER
  • 11:10:51 <Guest|88637> inside the detailpage i have the variable shopproducts
  • 11:11:03 <Guest|88637> which is only a textfield with some skus
  • 11:11:32 <Guest|88637> these SKUs i want to give to my userfunc in php which connects to the shop db and get the results of the SKUs
  • 11:12:08 <Guest|88637> typo3 and magento are in different databases
  • 11:12:54 <featdd> hm isn't there any api extension existing or something to connect them?
  • 11:13:27 <Guest|88637> sure magento has an api, but i dont want to use it, i have all functions i want to use already done
  • 11:13:47 <Guest|88637> just need to get the current shown author id and send it to my userfunc
  • 11:14:09 <Guest|88637> ehm the selected authors shopproducts-field, not author id
  • 11:14:42 <featdd> is the magento api bad?
  • 11:15:30 <Guest|88637> for magentos api i have to create an access user with password... i already have too much users for this project ;) nobody could manage them all ;)
  • 11:16:13 <Guest|88637> the other way, i dont know if its possible, is to get the author-id from typoscript after my extension was loaded with the current author
  • 11:16:20 <ad_on_is> i have a question about <v:render.request
  • 11:16:50 <ad_on_is> <v:render.request action="list" controller="Publication" extensionName="MyExt" pluginName="Publication" vendorName="MyVendor" arguments="{person: person}" />
  • 11:17:01 <gencha_> floxx: yes it is
  • 11:17:28 <ad_on_is> public function listAction(\MyVendor\MyExt\Domain\Model\Person $person) {
  • 11:17:43 <ad_on_is> why is $person NULL
  • 11:17:45 <ad_on_is> ?
  • 11:17:59 <Guest|88637> my last idea is to get the data with jquery :D but i dont like it :P
  • 11:19:31 <Romm> Hey there, in case someone does have some time to help a lost soul... http://forum.typo3.org/index.php/m/715387/#msg_715387 :)
  • 11:19:44 <featdd> hm dont understand it completely yet but sounds to me like you're making it unecessary complicated
  • 11:21:28 <featdd> if you render the author id on a template it has to available in a variable on the template
  • 11:22:13 <Guest|88637> i have two databases, typo3 and magento, in typo3 i have authors with a shopproducts field, if this field is filled, i want to call a userfunc to get magento shop results by inserted shopproduct-skus
  • 11:22:48 <Guest|88637> it is available, but how can i call a typo3-userfunc from the template?
  • 11:23:34 <featdd> then I think you shouldnt render the shopproducts field on the template, an fetch the products in the controller
  • 11:25:16 <featdd> may write some service who gets the authors products and deliver them as a model to the controller, which can be rendered smoothly :-)
  • 11:27:43 <Guest|88637> hmm maybe its the better way to handle it
  • 11:28:57 <Guest|88637> thank you, i will try to code it :D
  • 11:30:18 <ad_on_is> can someone please explain me how to use <v:render.request correctly with arguments and how to access the arguments in my controller?
  • 11:31:38 <featdd> Guest|88637: you're welcome
  • 11:38:07 <featdd> mrboe: wouldn't remove a coloumn destroy layouts in most cases?
  • 11:40:06 <mrboe> not if you have head slider
  • 11:40:10 <mrboe> or something like that
  • 11:41:02 <featdd> hm, I'll make an issue to that and think about it later ok?
  • 11:41:27 <Cash2m> Holla! Can flux add my plugins to the "new content-element" wizard?
  • 11:43:40 <ad_on_is> you lucky one, i currently have something like that open right now
  • 11:43:49 <ad_on_is> use this (creating pastebin)
  • 11:43:56 <ad_on_is> @Cash2m
  • 11:45:47 <ad_on_is> @Cash2m: nice and simple way to add a plugin into new elements, with typoscript
  • 11:45:48 <ad_on_is> http://pastebin.com/MH7DTz4M
  • 11:46:24 <ad_on_is> so you don't have to fiddle around with php-stuff
  • 11:48:32 <mrboe> @featdd dont need that in FBT
  • 11:48:46 <mrboe> i aksed that for private use
  • 11:50:09 <Cash2m> Ah nice! This will be my fallback. But <flux:form/> has a wizardTab argument. In FCE it works, but in my plugin it's simply ignored
  • 11:50:25 <ad_on_is> ah, no that's not working
  • 11:50:31 <ad_on_is> afaik
  • 11:50:57 <ad_on_is> it only works for fce
  • 11:51:40 <Cash2m> Okay.. Sounds like I'll be digging in the code now. :D brb
  • 11:58:56 <Cash2m> @ad_on_is yup. you we're right :( https://github.com/FluidTYPO3/fluidcontent/blob/development/Classes/Service/ConfigurationService.php#L278
  • 11:58:56 <FT3BOT> Welcome back Cash2m!
  • 11:59:38 <Cash2m> but why isn't this handled by flux?
  • 12:04:45 <NamelessCoder> wizardTab is only supported on FCEs
  • 12:05:32 <NamelessCoder> for plugins you have the existing way of setting this value
  • 12:07:36 <Cash2m> Any chance this will be handled by flux in the near future?
  • 12:10:06 <NamelessCoder> since we plan on removing the wizardTab argument - no, not likely. What's your objection to using the traditional way?
  • 12:15:00 <Cash2m> There is non. But since the argument is there i thought it can be used in flux. That would be a cool feature, because flux can render the preview and the flexform but creating the element can't be configured.
  • 12:16:10 <NamelessCoder> yeah, one reason for removing the wizardTab argument is exactly that it has no place to be on the flux:form tag since it only works for fluidcontent
  • 12:16:44 <NamelessCoder> well, you still cannot define the plugin itself. You still need ext_localconf.php instructions and those can contain the desired wizardTab, icon, label etc.
  • 12:19:08 <Cash2m> yup. correct. Nevermind, writing the flexforms is easy enugh with flux. I will get over the 10 lines PHP code ;)
  • 14:08:18 <soee> how can i merge dev branch with master both localy and remte ?
  • 14:08:20 <soee> *remote
  • 14:15:18 <mrboe> you onl had to merge local
  • 14:15:23 <mrboe> then push it
  • 14:15:30 <mrboe> and make a pull on the remote
  • 14:17:21 <soee> seems to work fine :) thanks mrboe
  • 14:17:26 <soee> gitlab ftw :)
  • 14:18:28 <mrboe> i use jira and stash
  • 14:18:36 <mrboe> thats also very nice
  • 14:18:51 <soee> mrboe: what are they >?
  • 14:19:27 <mrboe> https://www.atlassian.com/de/software/jira?_mid=52f32644367a9c75204b5d06d6e2e61d&gclid=CKvmgOux1r8CFW-WtAodwhEA1g
  • 14:19:50 <mrboe> jira is a project managment tool
  • 14:19:54 <mrboe> for coding
  • 14:20:24 <mrboe> and stash is a github "server" which is integrated
  • 14:20:44 <soee> ah yeah, TYPO3 NEOS is using it
  • 14:21:27 <mrboe> so if you mace a commit and you write down the issue id you can see the cahnges in the projectmanagement
  • 14:25:40 <soee> mrboe: does it work with gitlab ?
  • 14:26:19 <mrboe> there is no need of gitlab
  • 14:26:25 <mrboe> https://www.atlassian.com/software/stash
  • 14:26:45 <mrboe> if you use "stash" as additional module for jira
  • 14:27:36 <soee> looks nice :)
  • 14:40:40 <cedricziel> mrboe: are you using bamboo as well?
  • 14:41:55 <mrboe> no @cedricziel
  • 14:42:11 <Cash2m> is Stash the self-hosted version of Bitbucket?
  • 14:42:42 <cedricziel> not exactly, stash is only repo management-it doesnt come wth issues
  • 14:51:05 <airware> Hi, I've cloned flux 7.1.0 from github, cleaned all caching in T3
  • 14:51:34 <airware> trying to use the ExtensionManager I get the following error:
  • 14:52:04 <airware> The package "fluidcontent" depends on "flux-developmentflux-development" which is not present in the system.
  • 14:52:51 <airware> grepping for flux-development in typo3conf/ext got no result..
  • 14:56:34 <soee> on what T3 version ?
  • 14:56:42 <soee> fluidcotnent has dependency set to flux 'flux' => '7.0.0-7.1.99',
  • 15:08:11 <Cash2m> The whole atlassian products are interesting. Anyone using them for your company?
  • 15:36:31 <airware> im using t3 6.2.2, fluidcontent and vhs are from ter..
  • 16:17:26 <featdd> mrboe: got a solution for your columns problem?
  • 16:17:56 <mrboe> @papillon6 https://github.com/bootstraptheme-for-typo3/fluidbootstraptheme/blob/development/Resources/Private/Templates/Content/ImageGallery.html
  • 16:18:25 <papillon6> mrboe: Thanx!
  • 18:55:32 <moger_xx> hey there. this is an extbase question, i hope thats ok. i have products m:n categories. sorting of products happens in relation to the category (sorting is stored in mm_table). now i want to find products by category, sorted by their relation to it. anyone know an example how to do that in the repository?
  • 18:56:58 <moger_xx> of course i know how to retrieve products by category. but i don't get it how to make extbase use the mm-table based sorting for it.
  • 19:33:53 <jost> hi
  • 20:18:17 <Cash2m> Because I fail 99% of the PRs because of code-style is there a way to run the travis build locally?
  • 20:19:58 <Cash2m> vhs has an ant buildfile but it doesn't seem to be maintained?