This topic contains 2 replies, has 2 voices. Last updated by Andrea Whitmer 4 years, 7 months ago.
Topic Author | Topic |
---|---|
Posted: Saturday May 19th, 2012 at 2:00 pm #13988 | |
I understand that this question may fall outside the realm of support, but I thought I’d give it a shot. I’m using s2Member as a client portal, and so far I’ve been able to implement everything I need except one thing – I’d like to show links in the sidebar for each client’s child pages depending on which ones they have. Basically, there are 10 possible child pages that could exist under each user ID. Some clients will have all of them, while others may only have 2 or 3. I’m trying to figure out a way to show only those links that apply to individual clients in the sidebar, based on their ccaps. So if User A is allowed access to these 5 pages, I want those pages to be linked in the sidebar when User A is logged in. User B may have some of the same pages for their user ID, but the ones that don’t exist for User B won’t display. I’m not sure if there’s some kind of functionality within s2Member to do this or if it’s going to require a PHP function. I’m able to create the links easily using %%current_user_login%% in the URL, but I can’t figure out how to get them to display based on whether a particular URL exists for that user. Any ideas? |