![]() |
|
Thread Tools |
#1
|
|||
|
|||
Display a List of forum sections
I'd like to write a simple list of forum section names and links to use as navigation e.g.
<ul> <li><a href="forumdisplay.php?30-section-one">Section One</a></li> <li><a href="forumdisplay.php?31-section-two">Section Two</a></li> </ul> Any advice on how to do that? It would need to take into account which sections a user has permission to see. Thank you ![]() No members have liked this post.
|
#2
|
|||
|
|||
Where do you want these links to be shown? If it is in the nav bar, you can do that with the navigation manager in the AdminCp
No members have liked this post.
|
#3
|
||||
|
||||
I'm trying to add a drop down menu with the forum sections to the mobile template.
I think I've got half way there by copying the code from the quick links at the bottom of the desktop:
I'd like to exclude the sub forums though, there seems to be a data.forum.depth value which I can write to the screen, but I can't work out how to check it it the if statement... <vb:if condition="$data['depth'] == 1"> doesn't work. No members have liked this post.
|
#4
|
|||
|
|||
Try checking $data['forum']['depth'].
No members have liked this post.
|
#5
|
|||
|
|||
Brilliant, it works, thank you so much, that's been bugging me all afternoon!
The following members like this post: MarkFL
|
![]() |
«
Previous Thread
|
Next Thread
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 17:48.