1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Fixed node_page_level_n uses link class instead of page

Discussion in 'Resolved Bug Reports' started by Chris D, Nov 28, 2013.

  1. Chris D

    Chris D XenForo Developer Staff Member

    Code:
    <li class="node link level-n node_{$page.node_id}">
        <div>
            <h4 class="nodeTitle"><a href="{xen:link pages, $page}" class="menuRow">{$page.title}</a></h4>
        </div>
        <xen:if is="{$renderedChildren}">
            <ol>
                <xen:foreach loop="$renderedChildren" value="$child">
                    {xen:raw $child}
                </xen:foreach>
            </ol>
        </xen:if>
    </li>
     
  2. Andy.N

    Andy.N Well-Known Member

    Chris,
    What is the side effect of this? I just change the template just in case.
     
  3. Chris D

    Chris D XenForo Developer Staff Member

    Actually very little. In fact, none in normal usage.

    But if you were wanting to style specific node types, it has the scope to look incorrect, e.g.

    upload_2013-11-28_18-41-9.png

    Those Picture Perfect Step 1, 2, 3 etc. are pages, but due to this bug they have the link icon instead of page.
     
    Adam Howard, tyteen4a03 and Andy.N like this.
  4. Stuart Wright

    Stuart Wright Well-Known Member

    The hotspots template waindigo_node_map_level_n_hotspots I think has the same error.
    @Waindigo can you confirm please?
     
    Jon W likes this.
  5. Jon W

    Jon W Well-Known Member

  6. Mike

    Mike XenForo Developer Staff Member

    Fixed thanks.
     
    Adam Howard and Jon W like this.

Share This Page