Job Board - Unsolicited page

12 years 10 months ago - 12 years 10 months ago #2093 by HonzaP
Job Board - Unsolicited page was created by HonzaP
Hello,
first of all thank you for the lovely plugin.

I have a question about Unsolicited page in JobBoard 1.5.1 free version.

I little bit modified the file easycalccheckplus.php (see attached) and figured out how to work for Unsolicited page. What I can't find out is, if the calculating result is wrong then the page should reload on unsolicited page with error message, however, at this moment the page reloads on the apply page.

I think the code below is the one that causes the problem, just I don't know how to change :(
// Job Board - 1.5-13
		if ($this->params->get('jobboard'))
		{
			if ($option == 'com_jobboard' AND $task == 'share')
			{
				$job_id = JRequest::getCmd('job_id');
				$catid = JRequest::getCmd('catid');
				$lyt = JRequest::getCmd('lyt');
				$Itemid = JRequest::getCmd('Itemid');

				if (!$this->performChecks())
				{
					$returnURI = JURI::current().'?option=com_jobboard&view=share&job_id='.$job_id.'&catid='.$catid.'&lyt='.$lyt.'&Itemid='.$Itemid.'&essp_err=check_failed';
					$this->redirect($returnURI);
				}
			}
			elseif ($option == 'com_jobboard' AND $view == 'upload')
			{
				$job_id = JRequest::getCmd('job_id');
				$catid = JRequest::getCmd('catid');
				$lyt = JRequest::getCmd('lyt');
				$Itemid = JRequest::getCmd('Itemid');

				if (!$this->performChecks())
				{
					$returnURI = JURI::current().'?option=com_jobboard&view=apply&job_id='.$job_id.'&catid='.$catid.'&lyt='.$lyt.'&Itemid='.$Itemid.'&essp_err=check_failed';
					$this->redirect($returnURI);
				}
			}

Thank you for your help


This message has an attachment file.
Please log in or register to see it.

Please Log in to join the conversation.

12 years 10 months ago #2095 by Viktor
Replied by Viktor on topic Aw: Job Board - Unsolicited page
Please log in to see the response. Attention: You need a valid subscription to activate an account.

Kubik-Rubik Joomla! Extensions

Please Log in to join the conversation.

12 years 10 months ago #2099 by HonzaP
Replied by HonzaP on topic Re: Job Board - Unsolicited page
Please log in to see the response. Attention: You need a valid subscription to activate an account.

Please Log in to join the conversation.

12 years 10 months ago #2100 by Viktor
Replied by Viktor on topic Aw: Re: Job Board - Unsolicited page
Please log in to see the response. Attention: You need a valid subscription to activate an account.

Kubik-Rubik Joomla! Extensions

Please Log in to join the conversation.

Time to create page: 0.204 seconds