Viewing 1 post (of 1 total)
  • Author
    Posts
  • brentwilliams2 Friend
    #187255

    This is a small hack. At the bottom of each job posting, there is a link for “Company’s Jobs”. If you would like to change this to include the actual company name, such as “Google Jobs”, then do the following:

    Find the following code on views/jajobs/tmpl/jaview.php around line 228:

    if ($this->profile_editFieldList[$i]->field_name=='company') {
    if ($profile_list[$item->id]->company)
    echo rendfield($profile_list[$item->id], $this->profile_editFieldList[$i],false, true, true);
    }

    And change to the following:

    if ($this->profile_editFieldList[$i]->field_name=='company') {
    if ($profile_list[$item->id]->company)
    $companyname = rendfield($profile_list[$item->id], $this->profile_editFieldList[$i],false, true, true);
    echo $companyname;
    }

    Now you can reference $companyname later in the file. So find:

    echo JText::_("COMPANYS_JOBS");

    And replace with:

    echo $companyname . ' Jobs';

    Enjoy! 🙂

Viewing 1 post (of 1 total)

This topic contains 1 reply, has 1 voice, and was last updated by  brentwilliams2 11 years, 2 months ago.

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