Documentation
Library
Community
Donate
Blog
IRC logs
Community
Activity feeds
Mentions
Support Chat
IRC logs
IRC logs
20160321
Logs from channel #fedext on freenode - our official support channel.
2016-10
2016-09
2016-08
2016-07
2016-06
2016-05
2016-04
2016-03
2016-02
2016-01
2015-12
2015-11
2015-10
2015-09
2015-08
2015-07
2015-06
2015-05
2015-04
2015-03
2015-02
2015-01
2014-12
2014-11
2014-10
2014-09
2014-08
2014-07
2014-06
2014-05
2014-04
2014-03
2014-02
2014-01
2013-12
2013-11
IRC log range: 20160321*
20160321
05:54:11
<mddz> hi there
05:54:58
<mddz> is it possible to access a page template backend variable from a content element template?
06:00:51
<cweiske> only if you pass the variable to it
06:01:00
<cweiske> wait
06:01:33
<cweiske> yes, I'd try passing the variable to <v:content.render> in the page template
06:01:41
<cweiske> (but I did not try to do this yet)
06:03:54
<mddz> ah, I see, I will try that :)
06:04:34
<cweiske> hm, that will not work
06:04:38
<cweiske> https://fluidtypo3.org/viewhelpers/vhs/master/Content/RenderViewHelper.html does not accept variables
06:07:37
<cweiske> mddz, maybe you can use https://fluidtypo3.org/viewhelpers/vhs/master/Variable/Register/SetViewHelper.html
06:21:56
<mddz> hmm, that looks interesting cweiske
06:22:13
<mddz> how would I access $GLOBALS["TSFE"]->register['myVar'] from a content element template? jus {myVar}?
06:22:17
<mddz> just*
06:27:00
<cweiske> no, with v:variable.register.get
07:25:48
<mddz> cweiske: if v:variable.register.get works, it should be in the output of <f:debug>{_all}</f:debug>, shouln't it?
07:26:35
<mddz> I tried {v:variable.register.set(value: [{helloWorld}], name: 'hello')} but it doenst seem to work
07:27:24
<mddz> where helloWorld is defined by <flux:field.input name="helloWorld" required="true" /> in the same template
07:28:15
<mddz> does v:variable.register.set need to be in a special section like Configuration or elsewhere?
07:32:52
<mddz> hmm ok, it does work with a hardcoded value, but I can't get my page backend variable into it
07:35:09
<mddz> ok, nevermind, I just put the register.set viewhelper into the Content section
07:35:16
<mddz> thanks for your help :)
07:48:12
<cweiske> mddz, no, it should not be in _all
07:52:01
<mddz> ah, I see. That was confusing me, but I got it working now. It even works as a condition in an f:if viewhelper
07:53:18
<cweiske> _all only contains variables directly available in the current template
07:53:25
<cweiske> the register is outside that scope
07:53:38
<cweiske> which is why you need separate view helpers to access them
10:36:09
<drlimbo> good afternoon
10:36:19
<drlimbo> does anybody already tried my_user_management ext?