Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • josuehm Friend
    #167493

    Hi,

    We are working with Joomla 1.5.23, Job Board 1.5.3, and a T3 v.2 Template.

    We have 3 different main menus. One for guest users(default), one form Job Seekers, and one for Employers.

    On our T3 template we have 3 different profiles for our 3 different users, again, guests(default), job seekers and employers.

    We use Job Boards menu components to let users login, and we redirect them to their respective menus (Job seeker menu or employer menu). On our T3 template, we assign each menu to their respective profiles so that the main menu changes accordingly.

    It all works fine, until the user begins to browse around the site. For example, if an employer clicks on an applicants name to view his/her profile, the template profile switches to the default main menu (which is for default for guest users), and the employer tools that are on the employer menu are gone.

    My question is, HOW DO WE GET T3 TO RECOGNIZE A USER TYPE AND MAKE IT STICK TO THAT PROFILE, KEEPING ITS RESPECTIVE MAIN MENU?

    Please advise!

    josuehm Friend
    #406881

    Hello? Any info about this?

    TomC Moderator
    #406928

    Wow … This is an interesting question. I do know that you can restrict certain menus to registered users, but I haven’t yet come across whether or not one can restrict and/or designate certain menus for specific users/user groups.

    My gut tells me that virtually ANYTHING can be coded to accomplish most any envisioned element … but I am not completely certain about this one (yet). I am actually very interested in whether or not this can be accomplished as well. (Watch it be completely achievable and something simple that I just didn’t think of). :((

    In any case, I have taken the liberty of submitting a Support Ticket Request for you so that our JA Development Team can take a look and better advise further as to the viability of this issue.

    TOM

    josuehm Friend
    #407141

    Hello TOM,

    Actually when we were using a non-t3 template in order to get this you only had to ask for the type of user that was currently viewing the site.
    If a guest user was there we displayed a CSS modified jobboard menu and then when guest logged in, as jobseeker or employer, the jobboard menu did the rest by displaying the appropiate menu.

    The e.g. employer was able to navigate trough all main menus (top, left) that were being displayed without loosing the user type. Once employer logged out everything went to normal.

    Now in T3, I see that it is possible to assign menus to different theme profiles. So we want the Employer navigate the other main menu modules that are common for both jobseeker and employer but when he/she does the user type gets lost and it the Main Menu module appears and the only one to recover logged in user type is by clicking browser’s back button.

    Now, my theory is that maybe in T3 you need to create 2 main menu modules, one for each user type. And then assign them to the respective profile theme. But there has to be a simpler way because otherwise you would have 20 menus in your Menu’s section.

    What do you think? And btw thank you for your reply.

    TomC Moderator
    #407144

    <em>@josuehm 260904 wrote:</em><blockquote>
    Now, my theory is that maybe in T3 you need to create 2 main menu modules, one for each user type. And then assign them to the respective profile theme. But there has to be a simpler way because otherwise you would have 20 menus in your Menu’s section.

    What do you think? And btw thank you for your reply.</blockquote>
    That would certainly seem like a way to do it . . . but I agree with you that there should be a more efficient method.

    I’m following up on the Support Ticket submitted.

    josuehm Friend
    #407819

    Hi Tom,
    Let me know if you can guide us the right way with this new intel.
    Previously, before upgrading to the T3 v.2 template we have today, we had a regular (no-framework) template. And in out index.php file, we had this piece of code to select the menu according to the user type:

    <code>
    <?php
    if(!$userIndex->guest){
    $userTypeIndex = $userIndex->getParam(‘usertype’);
    switch($userTypeIndex){
    case ‘Employer User’:
    if ($this->countModules(‘mainnavigationempresa’))
    echo ‘<jdoc:include type=”modules” name=”mainnavigationempresa” style=”raw” />’;
    break;
    case ‘Job Seeker User’:
    if ($this->countModules(‘mainnavigation’))
    echo ‘<jdoc:include type=”modules” name=”mainnavigation” style=”raw” />’;
    break;
    }
    }
    else{
    if ($this->countModules(‘mainnavigation’)) {
    echo ‘<jdoc:include type=”modules” name=”mainnavigation” style=”raw” />’;
    }
    }
    ?>
    </code>

    How can we use something like this in T3 to call on a profile?

Viewing 6 posts - 1 through 6 (of 6 total)

This topic contains 6 replies, has 2 voices, and was last updated by  josuehm 13 years, 3 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum