Documentation
Library
Community
Donate
Blog
IRC logs
Community
Activity feeds
Mentions
Support Chat
IRC logs
IRC logs
20140510
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: 20140510*
20140510
12:36:56
<randomresult> someone around working with composer?
14:24:11
<benjamin_654> randomresult_afk: i did
14:26:24
<benjamin_654> randomresult_afk: all you need is in your ext_localeconf.php: $extPath = t3lib_div::getFileAbsFileName('typo3conf/ext/'.$_EXTKEY.'/');
14:26:25
<benjamin_654> require_once($extPath."Composer/vendor/autoload.php");
17:58:29
<Erredeco> Hi. Need help with the option "deferred" of <v:page.menu>
18:27:12
<Denyerec> What kinda help
18:28:29
<Denyerec> I think you use it so you can trigger menus only within conditionals
18:28:48
<Denyerec> But that's only an inference from reading the manual, I can't desribe an example case as I don't see where I'd use it.
18:37:32
<Erredeco> Hi Denyerec... I saw this example https://worksonmymachine.org/blog/a-guide-to-menu-rendering-with-fluidtypo3
18:38:35
<Erredeco> but there is something wrong... for example, I'd like to add some parameters like levels="1" linkCurrent="0" entryLevel="1"
18:38:48
<Erredeco> but it does not seem to work correctly
18:41:20
<Erredeco> I'll try to explain myself: I started with a very very simple setup:
18:41:22
<Erredeco> <v:page.menu deferred="TRUE">
18:41:23
<Erredeco> <f:if condition="{menu}">
18:41:23
<Erredeco> <nav class="small-4 medium-4 large-4 columns">
18:41:23
<Erredeco> <v:page.menu.deferred />
18:41:23
<Erredeco> </nav>
18:41:23
<Erredeco> </f:if>
18:41:24
<Erredeco> </v:page.menu>
18:44:14
<Erredeco> as I said: how to add for example entryLevel="1"?
18:44:47
<Erredeco> if I add it to <v:page.menu deferred="TRUE"> nothing is rendered;
18:44:55
<Erredeco> if I add it to <v:page.menu.deferred /> it is ignored
19:07:27
<Denyerec> Hmm.
19:14:59
<Erredeco> sorry...my mistake
19:15:24
<Erredeco> this configuration:
19:15:25
<Erredeco> <v:page.menu deferred="1" levels="1" linkCurrent="0" entryLevel="1" >
19:15:25
<Erredeco> <f:if condition="{menu}">
19:15:25
<Erredeco> <nav class="small-4 medium-4 large-4 columns">
19:15:25
<Erredeco> <v:page.menu.deferred />
19:15:25
<Erredeco> </nav>
19:15:26
<Erredeco> </f:if>
19:15:26
<Erredeco> </v:page.menu>
19:15:27
<Erredeco> works
19:15:47
<Erredeco> but... here is another weird behavior
19:16:05
<Erredeco> if I write:
19:16:06
<Erredeco> <v:page.menu deferred="1" levels="1" linkCurrent="0" entryLevel="1" >
19:16:06
<Erredeco> <f:if condition="{menu}">
19:16:06
<Erredeco> <nav class="small-4 medium-4 large-4 columns">
19:16:06
<Erredeco> <v:page.menu.deferred />
19:16:06
<Erredeco> </nav>
19:16:07
<Erredeco> </f:if>
19:16:07
<Erredeco> <div>Lorem Ipsum</div>
19:16:08
<Erredeco> </v:page.menu>
19:17:23
<Erredeco> I expect that when no menu is rendered, the lorem ipsum is instead at least always rendered...but it is not! :S
19:18:11
<Denyerec> Do you have all the debug turned on ?
19:18:26
<Denyerec> Do you need to defer the menu ?
19:21:34
<Erredeco> how do I turn on the debug?
19:22:13
<Erredeco> I was thinking... about the previous example...if there is no page on level 1
19:22:23
<Erredeco> then nothing is rendered at all
19:23:58
<Erredeco> but if it is so, then the example here https://worksonmymachine.org/blog/a-guide-to-menu-rendering-with-fluidtypo3
19:24:02
<Erredeco> is wrong
19:24:10
<Erredeco> well about your second question:
19:24:24
<Erredeco> I want to render a different HTML if there is no menu
19:29:11
<Denyerec> Ahh ok.
19:29:22
<Denyerec> In which case yes, you want the deferred ;)
19:31:18
<Erredeco> :)
19:31:50
* Denyerec prods danilobuerger
19:33:00
<Erredeco> yeah, but I'm not able to get it work as I want lol
19:34:04
<Erredeco> I'd like to achieve something like:
19:34:08
<Erredeco> If there is a menu:
19:34:09
<Erredeco> <div class="menu">
19:34:10
<Erredeco> <v:page.menu.deferred />
19:34:10
<Erredeco> </div>
19:34:10
<Erredeco> <div class="content">
19:34:10
<Erredeco> <v:content.render column="0" />
19:34:10
<Erredeco> </div>
19:34:23
<Erredeco> if there is no menu:
19:34:24
<Erredeco> <div class="content-full">
19:34:24
<Erredeco> <v:content.render column="0" />
19:34:24
<Erredeco> </div>
21:21:42
<bjo3rn> Denyerec Erredeco was right ;)
21:40:29
<bjo3rn> randomresult sleepwalking?
22:54:53
<Denyerec> bjo3rn - well yes, he needed the deferred menu
22:54:56
<Denyerec> but he couldn't get it working ?
22:58:35
<cedricziel> wtf? watch Eurovision? nope...