show_depth is relative - perhaps we need a start_from parameter
Closed this issue · 2 comments
Show depth is dependent on the page depth you are on.
If you want to limit the ability to only have a single sub menu off the main menu then you would use show_depth="2"
But the thing is if the user has setup a depth of 3 in there Site Map then when they are one page deep they will see the third tier.
Am I doing something wrong or is there room to improve this plugin?
Cheers.
=)
p.s. are your current parameters documented anywhere?
This plugin inherits the parameters of the native {exp:structure:nav}
tag, so it does have a start_from
parameter. http://buildwithstructure.com/tags/navigation/
You should check the docs there. Any requests for new parameters should probably go upstream to Structure. 😄
Ah, ok.
I did try it, but didn’t seem to work.
I have dropped that approach now but will come to you again should I have difficulty.
Thanks for your response.
Cheers.
+)
Trent Turner
www.kubikdesign.com.au
ecommerce > content management systems > website design & construction > website maintenance > email marketing > web hosting > domain registration
On 13 Oct 2015, at 11:23 pm, Rob Sanchez notifications@github.com wrote:
This plugin inherits the parameters of the native {exp:structure:nav} tag, so it does have a start_from parameter. http://buildwithstructure.com/tags/navigation/
You should check the docs there. Any requests for new parameters should probably go upstream to Structure.
—
Reply to this email directly or view it on GitHub.