[Vtigercrm-commits] [vtiger development] #185: Scroll Message in Home page - displays SQL query

vtiger development vtiger-tickets at vtiger.fosslabs.com
Tue Apr 18 05:55:45 EDT 2006


#185: Scroll Message in Home page - displays SQL query
-----------------------+----------------------------------------------------
 Reporter:  gopal      |       Owner:  developer
     Type:  defect     |      Status:  new      
 Priority:  critical   |   Milestone:           
Component:  vtigercrm  |     Version:  5.0.0    
 Keywords:             |  
-----------------------+----------------------------------------------------
 Dear Team,

 The following message is scrolling in home page immediately after logging
 in first time.

 query($sql); for($i=0;$i<$adb->num_rows($result);$i++) { $announce =
 getUserName($adb->query_result($result,$i,'creatorid')).' :
 '.$adb->query_result($result,$i,'announcement').' ';
 if($adb->query_result($result,$i,'announcement')!='')
 $announcement.=$announce; } echo $announcement;
 }elseif(isset($_REQUEST['announce_save']) && ($_REQUEST['announce_save']
 != '')) { $date_var = date('YmdHis'); $announcement =
 $_REQUEST['announcement']; $title = $_REQUEST['title_announcement'];
 $sql="select * from an ...

 I think, there is no need to display anything if there are no
 announcements.

 Thanks,
 Gopal

-- 
Ticket URL: <http://vtiger.fosslabs.com/cgi-bin/trac.cgi/ticket/185>
vtiger development <http://vtiger.fosslabs.com/>
vtigerCRM


More information about the vtigercrm-commits mailing list