Your Time:
Our Time:
← Back to discussions

Select Department….select doctor sorting

Need help with a different issue? Search the forums or open a new ticket.
Open a support ticket

This topic has 8 replies, 3 voices, and was last updated 10 years, 9 months ago by Anonymous.

  • 2015-11-27 at 12:46 am
    Support Expired
    #11189
    tackmar
    Participant
    • Topics: 6
    • Replies: 6
    • Total posts: 12
    • Post count: 6

    On the appointment page. Is there a way to sort the ‘Select Department’ and ‘Select Doctor’ alphabetically? Thanks

    2015-11-30 at 12:05 pm
    #11221
    Anonymous
    Inactive
    • Topics: 0
    • Replies: 3227
    • Total posts: 3227
    • Post count: 0

    Yes, go to theme options/medical settings– select the order and orderby which you wish to display based on id, title, date etc..,

    2015-11-30 at 7:46 pm
    Support Expired
    #11239
    tackmar
    Participant
    • Topics: 6
    • Replies: 6
    • Total posts: 12
    • Post count: 6

    This does not seem to work. It reorders the list on the DEPARTMENTS page but not on the APPOINTMENTS page. When I need to make an appointment and I have to select the department and doctor the drop down list is coming up all jumbled. Do you have any other ideas as to what I can do or am I missing something?

    2015-12-01 at 11:52 am
    #11253
    Anonymous
    Inactive
    • Topics: 0
    • Replies: 3227
    • Total posts: 3227
    • Post count: 0

    Please provide the logins to your website along with URL. So that, we can take a closer look at it. Make sure you set the post as private reply so that only admin can see your wp-logins.

    2015-12-01 at 6:35 pm
    Support Expired
    #11261
    tackmar
    Participant
    • Topics: 6
    • Replies: 6
    • Total posts: 12
    • Post count: 6

    Got it working thanks!

    2015-12-01 at 6:48 pm
    #11264
    Fem
    Keymaster
    • Topics: 2
    • Replies: 5215
    • Total posts: 5217
    • Post count: 6003

    Glad 🙂 If you have not yet given ratings to the theme, kindly please give to the theme by going to your themeforest account downloads section and below the Download button of the theme you can find the stars to click on for ratings 🙂

    2015-12-02 at 7:39 am
    Support Expired
    #11273
    tackmar
    Participant
    • Topics: 6
    • Replies: 6
    • Total posts: 12
    • Post count: 6

    This is what I did to Sort the doctors alphabetically:

    lifecare/medical/appointment/appointment_functions.php
    Line 59 asort($iva_dr_data);

    2015-12-02 at 7:45 am
    Support Expired
    #11275
    tackmar
    Participant
    • Topics: 6
    • Replies: 6
    • Total posts: 12
    • Post count: 6

    Sorry forgot a line:

    Line 59
    if( !empty( $iva_dr_data ) ){
    asort($iva_dr_data);
    $iva_dr_data = array_unique( $iva_dr_data );

    2015-12-02 at 10:57 am
    #11285
    Anonymous
    Inactive
    • Topics: 0
    • Replies: 3227
    • Total posts: 3227
    • Post count: 0

    Topic is solved. But if you want to update this topic please reply here.

You must be logged in to reply to this topic.