Magento Admin Dashboard graph displays "no data found" sometimes, how do I remove that?
The graph/chart that appears on the frontpage of the admin panel dashboard says "No Data Found" if an order or sale hasn't been placed in the time period selected. I want to display the chart no matter what, even if there are no orders.
What do I hav开发者_运维技巧e to modify to do this? The code or just a template?
Edit DOCROOT\app\design\adminhtml\default\default\template\dashboard\index.phtml
and remove lines 115-125 :
<div class="entry-edit" style="border:1px solid #ccc;">
<?php echo $this->getChildHtml('diagrams') ?>
<div id="diagram_tab_content"></div>
<div style="margin:20px;">
<?php echo $this->getChildHtml('totals') ?>
</div>
<div style="margin:20px;">
<?php echo $this->getChildHtml('grids') ?>
<div id="grid_tab_content"></div>
</div>
</div>
精彩评论