Skip to main content
Inspiring
November 17, 2009
Answered

Need different home page based on user

  • November 17, 2009
  • 1 reply
  • 836 views

Does anyone know how to show a home page based on the user? Where I work, there are different business units and we want to build an Intranet that will show a home page based upon the business unit. Also, does anyone know of where to get information on building a personalized home page? We would like each person to be able to select the things they want on their Intranet home page. I've looked at pageflakes and netvibes but don't know if they can be used for those purposes.

    This topic has been closed for replies.
    Correct answer Daverms

    Oh, I love that! Is that jquery? Do you have any idea what the script is called?


    Hi tgoold,

    Its actually the "Sortable" script that comes along with JQuery, You can have more info and demo at,

    http://view.jquery.com/tags/ui/latest/demos/functional/#ui.sortable

    and if you need any tutorials you can make use of these links too,

    [Tutorial]

    http://zanshin.net/2008/11/12/using-jquery-to-create-igoogle-style-drag-and-drop/

    http://labs.dropit.se/blogs/post/2009/02/24/iGoogle-Drag-and-Drop-functionality-with-jQuery.aspx

    [Demo]

    http://geek.zanshin.net/

    HTH

    1 reply

    ilssac
    Inspiring
    November 17, 2009

    Tell me how you know User Tom works for Marketing, User Dick works for IT and User Harry works for Payroll (or whatever you mean by 'business units'); and I can probably tell you how to make a custom home page for each.

    There are several solutions you may want to consider.

    The first Idea I had, was a switch statement in a Applicaiton.cfc or Application.cfm file.

    It would also be pretty trivial to have a dynamic home page that includes different content based on the buisness rules that identify what it should display for different users.

    I suspect there are interesting things that might be possilbe at the web server level, especialy with Apache.


    So, what do you really want to do and how would you like to try and do it?

    tgooldAuthor
    Inspiring
    November 17, 2009

    Hi Ian,

    thanks for your help.

    Your first question of how you know "Tom" works in marketing: It's possible that we would be able to pull that information from our HR database. That's something we would have to check out. But let's assume that's what we are going to do.

    We have several business units, plus several field offices throughout the state (we are a government agency). We are going to build an Intranet for the whole agency, which will include all the business units and the field offices. Each unit or office has different uses for the Intrannet and we would like to have the availability for each used to design their own home page. We would like to give them several options of things they can select to have on their own page, or in other words, be able to select what they want from a list of items that we provide. If they decide not to create a personalized home page, we would like a default home page that represents their unit or office to display. So the Communications department would have a different home page from the Legal department and so on. Then, we would like them to be able to personalize their home page if they want to. Does that make sense?

    At this point, we are just beginning on the site and haven't even started coding yet, but we need to know if this is doable or not. I might add that we aren't advanced programmers, more like intermediate, so I hope it's something we can pull off. Any help would be greatly appreciated.

    Inspiring
    November 18, 2009

    Thanks for the help. Yes, I could envision this working for the business units the way you have said for the home pages set up by unit.

    I guess I'm wondering on the personalized pages, how to get the design right. I mean if someone selects something like a weather app, which takes up a certain amount of the screen, and another person doesn't select the weather app, will there be a 'blank spot' on the screen where the weather app should be? Is there a way the user can move things around? That's sounding a little javascripty, but not sure that can be done. do you know what I'm talking about?


    TGoold,

    Do you want to have an interface like this? (like iGoogle),

    http://interface.eyecon.ro/demos/sort.html

    If so you may need to incorporate a good JS framework like ExtJS (or) JQuery with your application.