×

Notice

The forum is in read only mode.

New Field for Filter

14 years 3 months ago #926 by soamz
New Field for Filter was created by soamz
Hi Ahmad,
In the filter,it shows SELECT SALARY RANGE.
I want to hide that from the filter and add a new item there, SELECT EXPERTISE which will have 3-4 options.
So, is that possible ??:dry:
14 years 3 months ago - 14 years 3 months ago #932 by Ahmad
Replied by Ahmad on topic New Field for Filter
Please check this file ../components/com_jsjobs/views/jobseeker/tmpl/job_filters.php

You also need to update \'select query\' from ../models/jsjobs.php file.

Please write your valuable review JS Jobs and JS Support Ticket at JED.
14 years 3 months ago #933 by soamz
Replied by soamz on topic New Field for Filter
Ok.
Do I need to add a new field from database for this ??
14 years 3 months ago #934 by Ahmad
Replied by Ahmad on topic New Field for Filter
This function only filter data from database and show it.

It is simple select query.

Please write your valuable review JS Jobs and JS Support Ticket at JED.
14 years 3 months ago #935 by soamz
Replied by soamz on topic New Field for Filter
Ok, so you mean, I can just edit that field and fulfil my needs ?

I was thinking, that field depends on others. Anyways, I will try now.
14 years 3 months ago #946 by soamz
Replied by soamz on topic New Field for Filter
Hey Ahmad,

I found this on there,
<td> <?php if ($this->config[\'filter_category\'] == 1) echo $this->filterlists[\'jobcategory\']; ?></td>
<td> <?php if ($this->config[\'filter_jobtype\'] == 1) echo $this->filterlists[\'jobtype\']; ?></td>
<td> <?php if ($this->config[\'filter_heighesteducation\'] == 1) echo $this->filterlists[\'heighestfinisheducation\']; ?></td>
<td> <?php if ($this->config[\'filter_salaryrange\'] == 1) echo $this->filterlists[\'jobsalaryrange\']; ?></td>



I then made a new field on jos_js_jobs_filters as certification and made a new table as jos_js_jobs_certification.


The removed the
<td> <?php if ($this->config[\'filter_salaryrange\'] == 1) echo $this->filterlists[\'jobsalaryrange\']; ?></td>


And replaced it with,
<td> <?php if ($this->config[\'filter_certification\'] == 1) echo $this->filterlists[\'certification\']; ?></td>




But ALAS, No display. I dont know,what I missed.

HELPO bhaijaan!!
Time to create page: 0.240 seconds

Please publish modules in offcanvas position.