Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • environc Friend
    #183914

    Hi,

    In my job details page, there’s the main Job Title (h2 or h3) and there’s another Job Title in the job table. This is duplication. How do I remove the second job title from the table (in orange in screenshot)?

    Regards


    1. Untitled7
    HeR0 Friend
    #479612

    Hi,

    You can see [PHP]<h2><?php echo $this->item->title; ?></h2>[/PHP] in componentscom_jajobboardviewsjajobstmpljaview.php file and remove it as you desired.

    Regards

    environc Friend
    #479671

    Hi Hero,

    I don’t want to remove the h2 title (green in the screenshot) because it’s the main heading and I need it. I want to remove the repeating job title on the table (red in the screenshot).

    Regards

    HeR0 Friend
    #479750

    Ok, open file componentscom_jajobboardviewsjajobstmpljaview.php and go to line 265
    [PHP]if ($field->display==’hide_all’ || $field->display==’hide_on_view’) {
    continue;
    }[/PHP]
    replace it to
    [PHP]if ($field->display==’hide_all’ || $field->display==’hide_on_view’) {
    continue;
    }
    if($field->field_name==’title’){
    continue;
    }[/PHP]
    Hope this helps.

    Regards

    environc Friend
    #482132

    Hi Hero,

    I wanted to do the same with job posting in /components/com_jajobboard/views/jajobs/tmpl/jaform.php. I inserted the following code to remove these fields from view:

    [PHP]if ($field->display==’hide_all’ || $field->display==’hide_on_view’)
    {
    continue;
    }
    if($field->field_name==’currency’){
    continue;
    }
    if($field->field_name==’distance’){
    continue;
    }
    if($field->field_name==’job_tags’){
    continue;
    }
    if($field->field_name==’zipcode’){
    continue;
    }[/PHP]

    All of them were removed but “Apply type” was also gone even though I did not specify it. How do I do this and preserve “Apply type”?

    Regards

    HeR0 Friend
    #482644

    Hi,

    Apply_type is requried field, pls don’t disable it.

    Regards

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

This topic contains 6 replies, has 2 voices, and was last updated by  HeR0 11 years, 9 months ago.

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