Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
<xf:if is="$depth == 2 AND property('nodeListSubDisplay') == 'flat'">
<xf:macro template="forum_list" name="sub_nodes_flat"
arg-children="{$children}"
arg-childExtras="{$childExtras}"
arg-depth="{{ $depth + 1 }}" />
</xf:if>
</div>
</div>
RIGHTHERE
</div>
<xf:if is="{$depth} == 1">
.node-subNodesFlat {
margin: 10px;
padding: 10px;
border: 1px solid #CCC;
}
I agree. That would be a nice option! Thanks for the help, worked well.I think we can actually get it in as an option... I don't like the placement of the default sub-forums myself.
It seems this has changed, as I cant find the text in that template on Nova on xf2.1.Open template: node_list_forum, find this:
Has the option been added? This would be nice to have.I think we can actually get it in as an option... I don't like the placement of the default sub-forums myself.
<xf:if is="$depth == 2 AND property('nodeListSubDisplay') == 'flat'">
<xf:if is="{$depth} == 1">
.node-subNodeFlatList > li {
display: inline-block;
margin-left: 20px;
margin-bottom: 1px;
width: 25%;
float: left;
}