Found a Issue on the Website | data.page._id

7 views
Skip to first unread message

Peter Shaw

unread,
Sep 19, 2016, 11:25:13 AM9/19/16
to apostrophenow
Hi Tom, 



<ul class="tabs">
  {% for tab in data.home._children %}
    <li class="
      {% if data.page and
        (apos.pages.isAncestorOf(tab, data.page) or tab._id == data.page.__id)
      %}
        current
      {% endif %}
    "><a href="{{ tab._url }}">{{ tab.title }}</a></li>
  {% endfor %}
</ul>
data.page.__id
must be
data.page._id

Thanks a lot for version 2. We are actually rewire our website. 

Tom Boutell

unread,
Sep 19, 2016, 11:34:39 AM9/19/16
to apostr...@googlegroups.com
Good catch! And, definitely looking forward to your 2.0 site!
> --
> You received this message because you are subscribed to the Google Groups
> "apostrophenow" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to apostropheno...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



--


THOMAS BOUTELL, SUPPORT LEAD
P'UNK AVENUE | (215) 755-1330 | punkave.com
Reply all
Reply to author
Forward
0 new messages