Regarding this thread : XF 2.3 - .is-selected, how to?
I want to do the same kind of menu but with page nodes, i tried this but it does not work...
HTML:
I dumped vars and
I'm surely missing something.
Thanks for any help.
Читать далее...
I want to do the same kind of menu but with page nodes, i tried this but it does not work...
HTML:
<a href="/-/podcasts/" class="blockLink {{ $node.node_id == $page.node_id ? 'is-selected' : '' }}">page A</a>
I dumped vars and
node_id
is available...I'm surely missing something.
Thanks for any help.
Читать далее...