update to qcontacts category view

Qcontacts has been updated with a custom field that is called "Wait List Status" with three options in a drop down menu using component administration on the back end, these three options are "Open, Closed, Call". In the front end of the website when viewing category view Open and Closed will display correctly, but "Call" will not display. When selecting a contact to view details "Call" will be shown correctly. I believe this issue is due to "if" statement within php as the current statement only allows two options.... here is the current code

if ($contact->status_published) {

$contact->status = $contact->status ? 'Open' : 'Closed' ;

} else {

$contact->status = '';


When I make a change to add "Call" i attempted to use this line of code ? 'Open' : 'Closed' : 'Call' ;

I need assistance with this.

Also when category view is selected on the front end names are not displayed in ascending order.. I need category view organized my ascending order by name.

Taidot: PHP

Näytä lisää: update qcontacts component, on line assistance, change website category, c# category, qcontacts drop, qcontacts change category name, work custom fields qcontacts, qcontacts view, qcontacts display categories frontend, custom field qcontacts doesnt work, a custom menu component, the view, menu update, update status code, list ascending, viewing options, custom drop menu, add category, php view, website category list, list view custom, custom category menu, update contact php, line component, update website end

Tietoa työnantajasta:
( 9 arvostelua ) Redding, United States

Projektin tunnus: #438898

Myönnetty käyttäjälle:


As discussed

30 $ USD 1 päivässä
(303 arvostelua)