-
AuthorPosts
-
environc Friend
environc
- Join date:
- December 2012
- Posts:
- 173
- Downloads:
- 0
- Uploads:
- 33
- Thanks:
- 30
- Thanked:
- 2 times in 1 posts
January 13, 2013 at 6:31 am #183914Hi,
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
HeR0 FriendHeR0
- Join date:
- August 2011
- Posts:
- 3626
- Downloads:
- 0
- Uploads:
- 61
- Thanks:
- 33
- Thanked:
- 588 times in 549 posts
January 14, 2013 at 9:47 am #479612Hi,
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 Friendenvironc
- Join date:
- December 2012
- Posts:
- 173
- Downloads:
- 0
- Uploads:
- 33
- Thanks:
- 30
- Thanked:
- 2 times in 1 posts
January 14, 2013 at 5:19 pm #479671Hi 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 FriendHeR0
- Join date:
- August 2011
- Posts:
- 3626
- Downloads:
- 0
- Uploads:
- 61
- Thanks:
- 33
- Thanked:
- 588 times in 549 posts
January 15, 2013 at 3:27 am #479750Ok, 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
1 user says Thank You to HeR0 for this useful post
environc Friendenvironc
- Join date:
- December 2012
- Posts:
- 173
- Downloads:
- 0
- Uploads:
- 33
- Thanks:
- 30
- Thanked:
- 2 times in 1 posts
February 2, 2013 at 7:27 am #482132Hi 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 FriendHeR0
- Join date:
- August 2011
- Posts:
- 3626
- Downloads:
- 0
- Uploads:
- 61
- Thanks:
- 33
- Thanked:
- 588 times in 549 posts
February 6, 2013 at 7:59 am #482644Hi,
Apply_type is requried field, pls don’t disable it.
Regards
AuthorPostsViewing 6 posts - 1 through 6 (of 6 total)This topic contains 6 replies, has 2 voices, and was last updated by HeR0 11 years, 11 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Remove duplicate “Job Title” field from job details page
Viewing 6 posts - 1 through 6 (of 6 total)