Help to manipulate PHP: jobseeker / view.html.php

10 years 4 days ago - 10 years 4 days ago #889 by Vagner Mello WEBDESIGNER
File: jobseeker / view.html.php,
in your script comes with the following statement:
elseif($_GET[\'layout\']== \'view_resume\'){										// view resume
			if (isset($_GET[\'id\']))
				$empid = $_GET[\'id\'];
			else
				$empid = \'\';
			if ($empid != \'\'){
				$application =  $model->getEmpApplicationbyid($empid);

To view the page resume.

how Adding a second option, php tipe:

It\'s because I created a second page (view_resume_employer.php) for viewing the resume without the contact data.

jobseeker is redirected to (view_resume.php)
employer is redirected to (view_resume_employer.php)

how do I add this second option that the code?



already made the change to the file: job_appliedapplications.php to call the other file:

<? php $ link = \'index.php? com_jsjobs option = & c = & view = jsjobs jobseeker view_resume_employer & layout = & vm = 2 & rd =\'

but is blank.
10 years 3 days ago #890 by Ahmad
Add this code jobseeker/view.html.php
}elseif($_GET[\'layout\']== \'view_resume_employer\'){										// view resume
				$resumeid = $_GET[\'rd\'];
				$result =  $model->getResumeViewbyId($resumeid);	
				$this->assignRef(\'resume\', $result[0]);
				$this->assignRef(\'resume2\', $result[1]);
				$this->assignRef(\'resume3\', $result[2]);
				$this->assignRef(\'fieldsordering\', $result[3]);

And in link, rd is resume id

Please write your valuable review JS Jobs and JS Support Ticket at JED.
10 years 3 days ago #893 by Vagner Mello WEBDESIGNER
Thank ... you broke me a bough, or rather a tree. ;) hehehe
Time to create page: 0.236 seconds

Please publish modules in offcanvas position.