silverstrap 

silverstrap Commit Details

Date:2013-06-16 18:44:40 (6 years 3 days ago)
Author:Nicola Fontana
Branch:bootstrap2, dev, master, master-1.0, ss3
Commit:0a66368845fbff0bd35249fb814f0f67ce75c33d
Parents: b54133f1c52b597cc467e67f797b611dd89b6281
Message:Better doc for accessing parent nodes

Changes:
MREADME (1 diff)

File differences

README
11
2
3
2
3
4
5
46
57
68
The default implementation provides support for custom nested levels
but does not give access to the parent nodes. To have this access
enabled you can add a fixed element as the first item to every submenu:
in .navlist but does not provide a way to access the parent nodes (as
usually done in vanilla SilverStripe). To achieve this you must override
NavbarItem.ss and add a fixed item at the beginning of the <ul>, right
before looping on $Children:
<li class="$LinkingMode">
<a href="$Link.ATT" title="<%t Silverstrap.GOTO page=$Title.ATT %>">$Title</a>

Archive Download the corresponding diff file