CMS MADE SIMPLE FORGE

CMS Made Simple Core

 

[#8402] Menu Manager $node->first & $node->last

avatar
Created By: Chris Taylor (chrisbt)
Date Submitted: 2012-09-15 04:57

Assigned To:
Resolution: Won't Fix
State: Closed
Summary:
Menu Manager $node->first & $node->last
Detailed Description:
Love these new fields in Menu Manager, but could they be modified to be:

$node->first -- exists, and set to 1 if is the first item in a level that can be
displayed in the menu.

$node->last -- exists, and set to 1 if is the last item in a level that can be
displayed in the menu.

Works (quite) well already, unless the first or last page in a menu level is set
to inactive or Not 'show in menu'.

I guess there could be a case where the fields as is are required, but I can't
immediately think of that case. If so maybe two more fields...? Meantime I'll
stick to a smarty solution.

History

Comments
avatar
Date: 2013-01-12 11:59
Posted By: Robert Campbell (calguy1000)

CMSMS 2.0 will have a replacement navigation building module which provides this
functionality by default.
      
avatar
Date: 2015-09-06 13:21
Posted By: Rolf (rolf1)

CMS Made Simple 2.0 is released
      
Updates

Updated: 2015-09-06 13:21
state: Open => Closed

Updated: 2013-01-12 11:59
resolution_id: => 8