Name Position and Display

Hi all , please i am facing difficulties in changing the names appearance or positions, in our country we have First Name, Middle Name and Last names, so i want to display that also in many areas, i have succeeded in calendar but on User, Provider, and Patient on dashboard is unsuccessful.
i need all these areas to display : fname, mname, lname



@Ajospace @angelos_ar @stephenwaite
Please help

Hi Natt SL Limited,

Just change the code(line number 797) on demographics.php file, with the below mentioned code format

Before updation(code):

parent.left_nav.setPatient(<?php echo js_escape($result[‘fname’] . " " . $result[‘lname’]) .
“,” . js_escape($pid) . “,” . js_escape($result[‘pubpid’]) . “,’’,”;

After updation(code):

parent.left_nav.setPatient(<?php echo js_escape($result[‘fname’] . " ". $result[‘mname’] . " ". $result[‘lname’]) . “,” . js_escape($pid) . “,” . js_escape($result[‘pubpid’]) . “,’’,”;


Output:

Thanks
Param
help@capminds.com

2 Likes

@Param_CapMinds please can you tell me the file directory for demographic.php?
i want to thank you for this help

1 Like

directory interface/patient_file/summary/demographic.php

2 Likes

Thanks @Param_CapMinds after doing as you directed this the top name disappears


Please Check the code below like this. I also shared demogrpahics.php file
demographics.php (89.6 KB)

1 Like

Thanks very much @Param_CapMinds it works now i have to download your and copied onto mine and works fine.

So where can i locate the provider file so i can also do the same. Thanks