![]() |
vBa CMPS: Dynamic Navigation menu - all your Custom CMPS Pages
What this does: creates a Navigation menu (best as a left or right side block) which is populates automagically by the custom pages you have inserted into your CMPS. It should only show the user the pages that they have permissions to view.
Step 1: create and upload a new module modules/navmenu.php with the contents PHP Code:
Code:
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%"> Code:
<tr> Module Title: Page Navigation File To Include: navmenu.php Templates used: adv_portal_pagesmenu, adv_portal_pagesmenubits HTH y'all :) I like it ;) Demo <= this shows only one link available due to Guest permissions Login with test/testicular to see the menu populate with extra pages EDIT:// Altered the module; if you have installed this prior to now, please update the contents of your module with the edited one above. |
Doesn't belong to the hack but: Which journal script are you using? Looks nice :)
|
Found on www.bearfacts2.com - Boofo's site - they are working on it over there :)
OblivionKnight, sabert00the, Bane and Boofo (hope I didn't leave anyone out) |
Loving this hack! Also, regarding the Journal hack on the site you mentioned: don't see it. Can you tell me where to look?
|
Upfdated to get rid of a small bug: if you are getting multiple instances of each item for users who are in more than one usergroup, please update your module with the module code in the first post.
|
yup, nice hack and nice journal too....
|
nice hack!
*clicks install |
Fix works, thanks. Also, I still don't see the journal. :) I know that's not what this thread is for, but I'm really wondering.
|
@Silverdawn222
http://www.bearfacts2.com/forums/showthread.php?t=804 |
woow this is one step further to get a function i once mentioned...links that open content in the centerblock and in that content a respond/comment field on newsitems from external cms progs. :)
|
All times are GMT. The time now is 12:40 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|