Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • luke riverstone Friend
    #163558

    We have Joomla and Ja Jobs installed. Because of some integration we have made joomla use the email address as the Username. (Members are synced between Joomla and JA Jobs)

    When a user clicks on the profile link for the JA Jobs the Username (which is email) shows up in the URL.

    I would like to know what file I can edit to make the url use their companyname or Employer ID in the URL

    khoand Friend
    #389757

    Could you give me a link to your page has profile link?

    luke riverstone Friend
    #389780

    Thank you for your prompt reply,

    One of our developers figured it out.

    josuehm Friend
    #406589

    <em>@luke riverstone 238491 wrote:</em><blockquote>Thank you for your prompt reply,

    One of our developers figured it out.</blockquote>

    Hi! Could you help us how to do this? We would like to change the url from the username to company name.

    Thanks in advance for the reply.

    khoand Friend
    #406776

    Could you give me a snapshot with your annotation?

    luke riverstone Friend
    #427030

    <em>@luke riverstone 238491 wrote:</em><blockquote>Thank you for your prompt reply,

    One of our developers figured it out.</blockquote>

    I was comparing the code in the some of the templates and I think I have found what they did. I AM NOT A DEVELOPER SO MAKE A BACKUP OF ANY FILES THAT YOU MODIFY.

    Problem:

    We integrated Joomla users with the jobboard and made the username = email address. When you click on a company profile link the username was showing up in the url. As a result the email address was part fo the url.

    Solution: (using JA 1.4.7)

    from the root directory find componentscom_jajoboardviewsjajobstmplthemesinlinejalist-item.php (change the theme to whatever theme you are using)

    find the following code:

    <a href="<?php echo JRoute::_( 'index.php?option='. JBCOMNAME .'&view=japrofiles&layout=jaview&cid[]='.$temp_user->username."&profile_id=".$temp_user->username); ?>" class="<?php echo $class;?>">

    and replace with:

    <a href="<?php echo JRoute::_( 'index.php?option='. JBCOMNAME .'&view=japrofiles&layout=jaview&employerid='.$temp_user->id.'&Itemid='.'98'); ?>" class="<?php echo $class;?>">

    It was around line 223 and 227 for me. You are basically changing $temp_user->username to $temp_user->id

    It would be great if one of the mods could confirm that what I have said is correct.

    Hope this helps.

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

This topic contains 6 replies, has 3 voices, and was last updated by  luke riverstone 12 years, 11 months ago.

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