|
安装完成mantis后,简单使用了一下,有两个问题没搞明白,特来请教大家!
一、我使用管理员帐户发布了公告,又使用其他帐户进行登陆,发现登陆后直接进入我的视图页面,而不是我希望的首页,这样公告就没人看了,请问大家,怎么才能使用户登陆后先进入首页呢?
二、在安装完mantis后,又安装了jpgraph-2.3.4,然后进行了如下配置
1、 下载JpGraph后,解压到c:\mantis\core\目录下,名称为jpgraph.
2、 打开core\graph_api.php文件,找到function graph_get_font(),在里面加一句'simsun' => FF_SIMSUN,
3、 在config_inc.php或config_defaults_inc.php中应该有以下配置内容:
############################
# Mantis JPGRAPH Addon
############################
# --- jpgraph settings --- #
# Initial Version from Duncan Lisset
#
# To use the Jpgraph addon you need the JPGRAPH package from
# http://www.aditus.nu/jpgraph/index.php
# You can place the package whereever you want, but you have
# to set the var in jpgraph.php eg.
# (DEFINE('DIR_BASE','/www/mantisbt/jpgraph/');)
$g_use_jpgraph = ON;
$g_jpgraph_path = 'C:/mantis/core/jpgraph/src/' ;
# what truetype font will the graphs use. Allowed values are 'arial', 'verdana', 'courier', 'book', 'comic', 'times',
# 'georgia', 'trebuche', 'vera', 'veramono', or 'veraserif'. Refer to the jpgraph manual for details.
# NOTE: these fonts need to be installed in the TTF_DIR as specified to jpgraph
$g_graph_font = 'simsun';
# what width is used to scale the graphs.
$g_graph_window_width = 800;
# bar graph aspect ration (height / width)
$g_graph_bar_aspect = 0.9;
# how many graphs to put in each row in the advanced summary page
$g_graph_summary_graphs_per_row = 2;
$g_system_font_folder = 'c:/winnt/fonts/';
$g_font_per_captcha = 'simsun.ttf';
但是,在打开统计报表时,发现图像并没有出来,出来的是一些乱码(如附件中的图片),不明白是什么道理,请知道的告知一下!不胜感激!! |
|