CAN ANYONE ASNWER MY QUESTION ABOUT THIS, PLEASE?
Hi guys, my name is Hector, sorry for the poor english.
My problem is in the post-instalation of Zucker Reports in SugarCRM 4.5.1b open source. I want to put ZcukerReports "MyReports" in the home page beside the dashlets, but i can´t. In the manual of instalation of ZuckerReports 1.6g say the next:
Modify “Home” to include published reports
You have to change the files “Home.html” and “index.php” within the “<Sugar-
Root>/modules/Home” directory. This step is optional.
Note: please do a backup of these files before making the changes. You have to be
something familiar with PHP coding.
Home.html
Add a “MYREPORTS” slot to the layout
…
<!-- BEGIN: main -->
<table cellspacing="0" cellpadding="0" border="0"
valign="top" width="100%">
<tr> <td valign="top" width="100%">
…
<slot>{MYREPORTS}</slot>
<slot>{MYOPPORTUNITIES}</slot>
<slot>{MYCASES}</slot>
…
</td>
</tr>
</table>
<!-- END: main -->
…
index.php
Add the code for the subpanel:
…
if(array_key_exists('ZuckerReports', $modListHeader))
$panels['MYREPORTS'] =
"modules/ZuckerReports/ReportHomeView.php";
if(array_key_exists('Bugs', $modListHeader))
$panels['MYBUGS'] = "modules/Bugs/MyBugs.php";
I can put the first code in "home.html", but i not see where i can put code in "index.php"(see code in bold!!).
May be, i working in worng file. I work those archives in ..modules/Home/
I use sugarcrm-OS-4.5.1b-windows-installer of BITROCK in Windows XP Professional SP2.
I really need urgency about this
PD: A copy of my index.php are attached (see index.txt)
Image about what i want! are attached (see reportesenhomepage.jpg)
Thanks a lot!


LinkBack URL
About LinkBacks



Reply With Quote
Bookmarks