IRC logs

20160602

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

IRC log range: 20160602*

20160602

  • 06:50:04 <drlimbo> is there a way to use a TypoScript Variable in my Flexforms foreign_table_where? i tried around with ###PAGE_TSCONFIG_ID### but i can't set that dynamically
  • 07:45:04 <drlimbo> are variables like {$plugin.tx_myext...} not available in Page TSConfig? maybe cweiske?
  • 07:46:16 <cweiske> tsconfig != pagetsconfig
  • 07:46:19 <cweiske> totally separate
  • 08:02:21 <drlimbo> i thought this won't work cweiske =(
  • 08:03:04 <drlimbo> how i can get my PID (from typoscript) to only show related records in Flexform foreign_table_where cweiske?
  • 08:03:15 <drlimbo> there must be a solution =(
  • 08:13:22 <NamelessCoder> specify your use case properly (how are they "related"? What is the relation between parent record and PID?) then check the official TYPO3 TCA docs about special markers you can use in foreign_table_where and other fields. If the marker you imagine should exist does not exist, it is very likely you should be reconsidering your use case; attempting to build the PID clause using other markers like REC field values.
  • 08:15:46 <drlimbo> thanks NamelessCoder, i have a Multi-Site-Setup in Typo3 and in every Template i have the "Storage PID" for my Blog-Extension defined as Typoscript Variable
  • 08:16:56 <drlimbo> in the Extensions Frontend Plugin, i'd like to show all Categories (from defined Storage PID) to Filter Records - without a Filter i would show all Categories over all Sites
  • 08:17:50 <NamelessCoder> well... v:variable.typoscript can read it and be part of the value of foreign_table_where, but it only really makes sense to put in TS if you're putting it in the extbase persistence configuration array and you will probably experience issues with TS resolving in backend because it won't detect the right top page PID in all cases.
  • 08:17:50 <drlimbo> i tried around with ###PAGE_TSCONFIG_ID### but in Page TS Config i can't access my {$plugin.tx_myext...var} where the Storage PID is defined
  • 08:18:05 <NamelessCoder> as cweiske said those are completely different things
  • 08:18:19 <NamelessCoder> same engine, completely unrelated applications
  • 08:18:34 <drlimbo> yes! and i have used my Storage PID Variable in Extbase Persistent Settings
  • 08:19:13 <NamelessCoder> it sounds to me like you need to rethink this one, like I said try to create another implementation with other markers that don't involve TS because I have almost no doubt you'll end up with a failure at some point, due to TS resolving.
  • 08:19:31 <drlimbo> i can use viewhelpers in the flexform.xml?
  • 08:20:07 <NamelessCoder> if it is a flux template yes. If it isn't then you should have asked this question in the official typo3 channel because time is quite precious!
  • 08:20:13 <drlimbo> i'd like to set the persistent storage only once per Siteroot, and i thought this is the best idea
  • 08:21:11 <drlimbo> mh, im not sure =P its an extbase extension with a frontend plugin where i added addPiFlexFormValue
  • 08:21:27 <NamelessCoder> usually you would choose a common storage folder for that
  • 08:22:00 <NamelessCoder> well then not Flux related, forget everything about viewhelpers - and maybe ask around in #typo3 where they know more about those markers than I do ;)
  • 08:22:25 <drlimbo> oh bad =P
  • 08:23:08 <drlimbo> but thanks for your help
  • 08:29:00 <NamelessCoder> you're welcome
  • 17:33:37 <Guest|97975> Hello
  • 17:34:54 <Guest|97975> typo3 6.0 is very buggy why
  • 17:37:27 <Guest|97975> i need a sql query from tx_news with all records from 1 author