test
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • lucarinaldi Friend
    #154976

    hello after searchin on forum im here for help.
    Any ideas how to hide Job seeker/employer buttons in update info?
    sorry for my bad language.

    Attached screenshot

    Tnx in advance


    1. immagine-2010-10-06-a-02.55.59
    Anonymous Moderator
    #357897

    Hi,

    You must customize via SITE]/administrator/index.php?option=com_jajobboard&view=jacustomtmpl => Usergroup -> default.php -> Edit

    lucarinaldi Friend
    #357982

    <em>@JA Developer 197107 wrote:</em><blockquote>Hi,

    You must customize via SITE]/administrator/index.php?option=com_jajobboard&view=jacustomtmpl => Usergroup -> default.php -> Edit</blockquote>

    tnx for quick reply.
    Im testing editing the tmpl (usergroup->default.php) but i dunno which lines comment or remove.

    Any help?

    Tnx in advance

    Anonymous Moderator
    #358028

    Hi,

    In order to do this, please do as follows:
    – Find the following lines of code in file: componentscom_jajobboardviewsjausergrouptmpldefault.php

    if ($group==’Job Seeker User’)
    echo $this->displayUserGroup(0);
    else
    echo $this->displayUserGroup(1);

    …and replace them with the following ones

    $group = ‘Job Seeker User’;
    // OR $group = ‘Employer User’;
    if ($group==’Job Seeker User’)
    echo $this->displayUserGroup(0);
    else
    echo $this->displayUserGroup(1);

    – You can comment out one of 2 code groups in file: componentscom_jajobboardmodelsjausergroup.php as below:

    One is:
    $group[0]->value = 0;
    $group[0]->text = “<strong>”.JText::_(‘Job Seeker’).”</strong> – “.JText::_(“JOB SEEKER DESC”).”<br/><br/>”;

    or one is:
    $group[1] = new stdClass();
    $group[1]->value = 1;
    $group[1]->text = “<strong>”.JText::_(‘Employer’).”</strong> – “.JText::_(“EMPLOYER DESC”);

    Note that you must display one of 2 buttons Employer user or Jobseeker user,if not, profile will not be updated and system will work unstably.

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

This topic contains 4 replies, has 2 voices, and was last updated by Anonymous 14 years, 2 months ago.

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