Closed

Joomla PHP Developer Required

This project received 9 bids from talented freelancers with an average bid price of $181 AUD.

Get free quotes for a project like this
Employer working
Project Budget
$30 - $100 AUD
Total Bids
9
Project Description

I need the following pseudocode implemented in php.
I will need full documentation and expected hours to complete the work.

This script shall be called once a button has been pressed. This is in Joomla and utilizes the EZ Realty Component.


/**************************************************************************/

// this is the new script that needs to be written.

/**************************************************************************/



if button == pressed {

if campaign applied {

call standard form submit function

exit

}

if (paid_listing) == 1 {



$category_type = [url removed, login to view] //example includes house,unit,commercial,etc

$listing_type =[url removed, login to view] //exmaple includes for sale, for lease, etc

if (category_type == X1 && listing_type ==y1) { //value Z,Y,X1,Y1,etc are hard coded, and not variables

$price = Z

$credit = Y

}

if (category_type == X2 && listing_type ==y2) {

$price = Z

$credit = Y

}

if (price == 0) {

echo ("Error, please contact the system administrator with the listing type and category type selected") //situation where price has not been [url removed, login to view] echo should be shown in a modal window.

exit function //do not save, return to original page

}



[Modal POP up] //a short description on top and 2 buttons below, if credit == 0, only show Paypal payment button, else, show Credit and Paypal payment buttons



if paypal button == pressed {

call paypal function (price, full address, item number, date) //call paypal function with price passed to function somehow, already available in ezportal.

if (paypal_payment == success) {

$credit = 0;

apply campaign (credit)

call the standard form submit function

}

if (paypal_payment == fail) {

echo("Error, payment could not be processed") //(to be shown in a modal window)

Return to previous page

}

}

if Credit button == pressed {

apply campaign (credit)

if (campaign apply == success) {

call the standard form submit function



}

}

}

call standard form submit function //case where paid_listing = 0

$credit = 0;

apply campaign (credit)

}



/**************************************************************************/

//Modify the apply campaign function to have the functionality below

/**************************************************************************/





apply campaign function { //this will need to be integrated into the current function as it updates the tables for record keeping.



Modify the campaign apply function so that it doesn't take the credit figure from the database, but rather as a passed value from the function on top



}



/**************************************************************************/

Modify the front end property page for adding property

/**************************************************************************/

Modify the view for the front end property listing page as if a campaign has already been selected in all cases.



}

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online