风讯官方论坛

首页 » FoosunCMS交流区 » dotNETCMS安装使用 » 简易处理外部栏目无法跳转设置的地址问题!
xelnage - 2008-3-29 00:43:00
打开 Foosun\Foosun.Web\list.aspx.cs 74行附近,红色部分为添加的代码,仅供参考!

if (info != null)
                {
                    if (info.IsURL == 1)
                    {
                        Response.Redirect(info.URLaddress, true);
                        return;
                    }
                    else
                    {

                        TMPSavePath = info.SavePath.Trim();
                        if (TMPSavePath.Substring(0, 1) != "/") { TMPSavePath = "\\" + TMPSavePath; }
                        saveClassPath = (TMPSavePath + "\\" + info.SaveClassframe + '\\' + info.ClassSaveRule.Trim()).Replace("/", @"\\");
                        TmpPath = SiteRootPath + saveClassPath;
                        if (info.isDelPoint == 0)
                        {
                            getContent = getContentRuslt(ChID, info.ClassTemplet, ClassID, strPage, TmpPath, 0);
                        }
                        else
                        {
                            getContent = GetPop(ChID, info.isDelPoint, info.iPoint, info.Gpoint, info.GroupNumber, info.ClassTemplet, ClassID, strPage, TmpPath);
                        }
                  }
                }
womode - 2008-6-29 17:01:00
去尝试下 。。。。
1
查看完整版本: 简易处理外部栏目无法跳转设置的地址问题!