Hi 

This is the file that I got in the directory /include/care_api_classes 
and when I remove it and put the one you have given me it hides my Menu left 
side of the of the home page, 
so have a look at this function is the one the I have. 

function getAllWardsItemsObject(&$items, $dept_nr='0') { 
global $db; 
$this->sql="SELECT $items FROM $this->tb_ward WHERE status NOT IN 
($this->dead_stat)"; 
//gjergji - show only info on my departement 
if(isset($dept_nr) && !empty($dept_nr) ) { 
$this->sql.=" AND ( "; 
while (list($key, $val) = each($dept_nr)) { 
$tmp .= "dept_nr = " . $val . " OR "; 
} 
$this->sql .= substr($tmp,0,-4) ; 
$this->sql .= " ) " ; 
} 


The function in the /module/registration_admission/ directory look exactly like 
this one of your 















----- Original Message ----- 
From: "Shalini M" <mshal...@uxtechnologies.com> 
To: care2002-developers@lists.sourceforge.net 
Sent: Tuesday, August 11, 2009 1:49:08 PM GMT +02:00 Harare / Pretoria 
Subject: Re: [Care2002-developers] Care2x Customazation 

Hi Would u pls check the following files Code of this form is in 
care2x/modules/registration_admission/aufnhame_start.php U can see this code 
here.. if(!$encounter_nr||$encounter_class_nr==1){ # Load all wards info 
$ward_obj=new Ward; $items='nr,name'; 
$ward_info=&$ward_obj->getAllWardsItemsObject($items); } ok then go to 
care2x/include/care_api_classes/class_ward.php U can see function like this /** 
* Returns items of all wards. * * @access public * @param string Field names of 
items to be fetched * @return mixed adodb record object or boolean */ function 
getAllWardsItemsObject(&$items) { global $db; $this->sql="SELECT $items FROM 
$this->tb_ward WHERE status NOT IN ($this->dead_stat)"; * echo $this->sql; * 
if($this->res['gawio']=$db->Execute($this->sql)) { 
if($this->rec_count=$this->res['gawio']->RecordCount()) { return 
$this->res['gawio']; } else { return false; } } else { return false; } } Just 
copy this to ur file or echo sql query. What you get and pls let me know...? 
ShAlini M On Tue, Aug 11, 2009 at 4:30 PM, Yonela Mguli wrote: > > Yes I am 
using v2.6 and I have successfully created my wards I can see them > > under 
Nursing(Main menu)->Nursing wards but on the dropdown list are not > there. > > 
> > ----- Original Message ----- > From: "Shalini M" > To: 
care2002-developers@lists.sourceforge.net > Sent: Tuesday, August 11, 2009 
12:30:00 PM GMT +02:00 Harare / Pretoria > Subject: Re: [Care2002-developers] 
Care2x Customazation > > Hi, > I think you are using care2x 2.6 version. Can 
you see list of wards,which > you are created under Nursing(Main menu)->Nursing 
wards; > If you successfully created wards, you can see here.Then you can see > 
available wards in drop down box. Please confirmed it.please let me know > your 
status. > Best Wishes > Shalini M > > On Tue, Aug 11, 2009 at 3:50 PM, wrote: > 
>> Hi Guys >> >> I've attached an image to this mail. Can someone suggest what 
could be the >> cause of the WARDS not to appear in the drop-down list. >> I've 
created them but when admitting a patient they don't appear .I've >> marked the 
place on my picture that is attached. >> >> >> >> >> >> ----- Original Message 
----- >> From: "yonela mguli" >> To: care2002-developers@lists.sourceforge.net 
>> Sent: Tuesday, August 11, 2009 11:19:52 AM GMT +02:00 Harare / Pretoria >> 
Subject: Re: [Care2002-developers] Care2x Customazation >> >> Hi >> >> Thanks 
man I found the template directory and I've manage to manually >> change the 
bgcolor of menus on my Home Page, >> but now where can I change the bgcolor for 
whole body of the page and the >> bgcolor for the frame/table where you find 
CLOSE >> and HELP buttons at the top when the links are being clicked for 
instant >> (Patient link ) . >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> 
----- Original Message ----- >> From: "Yonela Mguli" >> To: 
care2002-developers@lists.sourceforge.net >> Sent: Friday, August 7, 2009 
3:25:43 PM GMT +02:00 Harare / Pretoria >> Subject: Re: [Care2002-developers] 
Care2x Customazation >> >> >> >> In the directory /css/theme/defualt there is a 
css stylesheet that I have >> used, >> >> but again background color of the 
main page and Menu where all my >> links are situated, >> >> still a problem to 
customize. >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> ----- Original Message 
----- >> From: "Yonela Mguli" >> To: care2002-developers@lists.sourceforge.net 
>> Sent: Friday, August 7, 2009 6:14:30 AM GMT -08:00 Tijuana / Baja >> 
California >> Subject: Re: [Care2002-developers] Care2x Customazation >> >> Yes 
man I did check the css but the css that I found only constrate on >> changing 
the Log In Page in terms of the background. >> >> >> >> >> >> >> >> >> >> >> >> 
>> >> >> ----- Original Message ----- >> From: "Jess Pepito" >> To: 
care2002-developers@lists.sourceforge.net >> Sent: Friday, August 7, 2009 
5:04:07 AM GMT -08:00 Tijuana / Baja >> California >> Subject: Re: 
[Care2002-developers] Care2x Customazation >> >> Have you check the css file? 
>> >> ------------------------------ >> *From:* "yonela.mg...@sita.co.za" >> 
*To:* Care2002-developers@lists.sourceforge.net >> *Sent:* Friday, August 7, 
2009 7:49:17 PM >> *Subject:* [Care2002-developers] Care2x Customazation >> >> 
Hi Guys >> >> >> >> Can some help me, I want to manual change the background 
color for Home >> Page of Care2x (v 2.6) system >> >> but I don't want to use 
the Special Tools that it came up with.I need to >> change it on the php 
script. >> >> >> >> >> >> 
------------------------------------------------------------------------------ 
>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
>> trial. Simplify your report design, integration and deployment - and focus 
>> on what you do best, core application coding. Discover what's new with >> 
Crystal Reports now. http://p.sf.net/sfu/bobj-july >> 
_______________________________________________ Care2002-developers >> mailing 
list Care2002-developers@lists.sourceforge.net >> 
https://lists.sourceforge.net/lists/listinfo/care2002-developers >> >> 
------------------------------------------------------------------------------ 
>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
>> trial. Simplify your report design, integration and deployment - and focus 
>> on what you do best, core application coding. Discover what's new with >> 
Crystal Reports now. http://p.sf.net/sfu/bobj-july >> 
_______________________________________________ Care2002-developers >> mailing 
list Care2002-developers@lists.sourceforge.net >> 
https://lists.sourceforge.net/lists/listinfo/care2002-developers >> >> 
------------------------------------------------------------------------------ 
>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
>> trial. Simplify your report design, integration and deployment - and focus 
>> on what you do best, core application coding. Discover what's new with >> 
Crystal Reports now. http://p.sf.net/sfu/bobj-july >> 
_______________________________________________ Care2002-developers >> mailing 
list Care2002-developers@lists.sourceforge.net >> 
https://lists.sourceforge.net/lists/listinfo/care2002-developers >> >> 
------------------------------------------------------------------------------ 
>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
>> trial. Simplify your report design, integration and deployment - and focus 
>> on what you do best, core application coding. Discover what's new with >> 
Crystal Reports now. http://p.sf.net/sfu/bobj-july >> 
_______________________________________________ Care2002-developers >> mailing 
list Care2002-developers@lists.sourceforge.net >> 
https://lists.sourceforge.net/lists/listinfo/care2002-developers >> >> >> 
------------------------------------------------------------------------------ 
>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >> 
30-Day >> trial. Simplify your report design, integration and deployment - and 
focus >> on >> what you do best, core application coding. Discover what's new 
with >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> 
_______________________________________________ >> Care2002-developers mailing 
list >> Care2002-developers@lists.sourceforge.net >> 
https://lists.sourceforge.net/lists/listinfo/care2002-developers >> >> > > > -- 
> Regards, > Shalini M > UXTechnologies Pvt. Ltd. Kannur > > 
------------------------------------------------------------------------------ 
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > 
trial. Simplify your report design, integration and deployment - and focus > on 
what you do best, core application coding. Discover what's new with > Crystal 
Reports now. http://p.sf.net/sfu/bobj-july > 
_______________________________________________ Care2002-developers mailing > 
list Care2002-developers@lists.sourceforge.net > 
https://lists.sourceforge.net/lists/listinfo/care2002-developers > > > 
------------------------------------------------------------------------------ 
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > 
trial. Simplify your report design, integrat ion and deployment - and focus > 
on > what you do best, core application coding. Discover what's new with > 
Crystal Reports now. http://p.sf.net/sfu/bobj-july > 
_______________________________________________ > Care2002-developers mailing 
list > Care2002-developers@lists.sourceforge.net > 
https://lists.sourceforge.net/lists/listinfo/care2002-developers > > -- 
Regards, Shalini M UXTechnologies Pvt. Ltd. Kannur 
------------------------------------------------------------------------------ 
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with Crystal 
Reports now. http://p.sf.net/sfu/bobj-july 
_______________________________________________ Care2002-developers mailing 
list Care2002-developers@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/care2002-developers
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Care2002-developers mailing list
Care2002-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/care2002-developers

Reply via email to