• Good afternoon folks,

    I’m in the process of trying to create a Client-Area for a project I am working on.

    I was wondering, is it possible to create a dynamic sidebar for each client without having to specifically create and code each one by hand?

    For example, I have a login using Sidebar Login and Peters Login Redirect which I have set up to link to a page for a client. I plan to do this for each client, however I would like each individual client to have their own sidebar with information specific to them displayed. Not a generic one as the information available to them would be extremely sensitive (Reports, for example).

    I would ideally like each individual sidebar to display a logout link, followed by a calendar containing links to each report/uploaded document relevant to that particular date.

    I’ve been racking my brain and searching Google avidly trying to find a solution, but so far I have failed.

    Does anyone have any ideas or suggestions?

    Many thanks.

Viewing 1 replies (of 1 total)
  • Just a though but it seems to me easier to create a single sidebar for all of your clients and have the Widgets sort out what information to display. Your ‘Reports’ widget can check for the logged in user and determine what information to show, for example. Maybe that isn’t quite the logic you want but I hope it gets the idea you across.

    You could put a function in your functions.php file that would get all of your client/users and loop through creating sidebars but that strikes me as very, very inefficient and I’d expect a noticeable performance hit with more than a few clients. Plus you’d still need to go through and populate all those sidebars with widgets. It could be very time consuming.

Viewing 1 replies (of 1 total)
  • The topic ‘Client Area – Custom sidebars for each client’ is closed to new replies.