IRC logs

20140301

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

IRC log range: 20140301*

20140301

  • 12:43:13 <pedda> hi there
  • 13:02:34 <TYPO3ua> Hello, All!
  • 13:05:44 <TYPO3ua> I have question, ...
  • 13:09:19 <TYPO3ua> How to Get a section from another file no partials???
  • 13:21:52 <NamelessCoder> TYPO3ua see https://fedext.net/viewhelpers/vhs/master/Render/TemplateViewHelper.html - but beware, it only lets you render template files, not sections. Maybe you can reorganise your templates to make that work, fx rendering a shared partial template without sections from within the two templates?
  • 13:24:22 <TYPO3ua> A real-life example, can I? please ...
  • 13:25:00 <NamelessCoder> <v:render.template
  • 13:25:00 <NamelessCoder> file="EXT:foo/Resources/Templates/Action/Show.html"
  • 13:25:00 <NamelessCoder> variables="{object: customLoadedObject}"
  • 13:25:00 <NamelessCoder> paths="{v:var.typoscript(path: 'plugin.tx_foo.view')}" />
  • 13:25:18 <NamelessCoder> if that Show.html file contains no sections, then this example will work
  • 13:35:44 <TYPO3ua> I need the same section ... I need only one of sections
  • 13:47:02 <NamelessCoder> in that case you should move the contents of that section into a partial and use the approach above, that way you can render it the way you like
  • 17:34:23 <pedda> claus? stil around?
  • 17:34:35 <pedda> *still