点击进入知科官方网站
查看: 1197  |  回复: 5
 
 
772e
积分:910
注册时间:2012-02-16
最后登录:2014-07-26
发送短消息
发表于 2012-07-15 17:44
首页快导如何修改?
 
 
Official服务
积分:16745
注册时间:2012-01-02
最后登录:2015-09-24
发送短消息
回复于 2012-07-15 17:45
1楼
您好,这个需改文件
打开/index/1/index.aspx文件,修改里面的文字与链接
管理员修改:正确文件是开/index/1/index.aspx
 
 
772e
积分:910
注册时间:2012-02-16
最后登录:2014-07-26
发送短消息
回复于 2012-07-15 21:24
2楼
每次升级都要改一次,是么?以后版本可以设计到后台修改么?
 
 
Official服务
积分:16745
注册时间:2012-01-02
最后登录:2015-09-24
发送短消息
回复于 2012-07-15 21:28
3楼
您把这个修改的文件进行备份,今后修改会方便一些。
改这个导航的人不多, 首页调用后台参数太多可能会影响性能,这个我们先记下来 到时再根据实际情况考虑
 
 
 
 
772e
积分:910
注册时间:2012-02-16
最后登录:2014-07-26
发送短消息
回复于 2012-07-15 21:37
4楼
我在/index/1/head.ascx文件里找不到相应文字和链接,文件内容以下:
<%@ control language="C#" autoeventwireup="true" inherits="index_1_head, ZKCMS" %>
<script type="text/javascript" src="/index/1/skin/public.js"></script>
<link type="text/css" rel="stylesheet" href="/index/1/skin/grafting.css" />
<link rel="stylesheet" type="text/css" href="/index/1/skin/chromestyle.css" />
<asp:Literal ID="Literal1" runat="server"></asp:Literal>
<div class="topbar">
    <div class="hto">
        <div class="fl"><asp:Literal ID="Literal_topbar_userinfo" runat="server"></asp:Literal></div>
        <div class="fr">               
            <script type="text/javascript" src="/index/1/skin/chrome.js"></script>
            <table border="0" cellpadding="0" cellspacing="0" id="chromemenu">
                <tr>                   
                    <td><div class="con1"><a href="#" rel="dropmenu1">免费发布</a></div></td>
                    <td><div class="con2"><a href="#" rel="dropmenu2">我的帐户</a></div></td>
                    <td><div><a href="/plugin/sitemap/">网站地图</a></div></td>
                    <td><div class="con3"><a href="/">网站首页</a></div></td>
                </tr>
            </table>
            <div id="dropmenu1" class="dropmenudiv">               
                <a href="/plugin/addmod/do.htm">发布信息</a>
                <a href="/plugin/addmod/gl.htm">管理我的信息</a>
                <a href="/space/blog_do.aspx?uid=<%=ZK.uid %>">发表日志</a>
                <a href="/space/photo.aspx?uid=<%=ZK.uid %>">上传照片</a>
            </div>                                             
            <div id="dropmenu2" class="dropmenudiv">
                <a href="/user/control.aspx?notip">会员中心</a>
                <a href="/user/chongzhi.aspx">在线充值金币</a>
                <a href="/user/my.aspx">修改资料</a>
                <a href="/user/mail.aspx">查看站内信</a>
                <a href="/user/face.aspx">上传头像</a>
                <a href="/user/vip.aspx">升级成为VIP</a>
            </div>
            <script type="text/javascript">cssdropdown.startchrome("chromemenu");</script>
        </div>
        <div class="clear"></div>
    </div>
</div>
<div class="box">
    <div class="index1_head">
        <table width="100%" border="0" cellspacing="0" cellpadding="0" class="tb1">
            <tr>
                <td width="336"><asp:Literal ID="Literal_logo_css" runat="server"></asp:Literal><div class="index1_logo"></div></td>
                <td>
                    <div class="index1_head_search" id="index1_head_search">
                        <div class="con1"><span onclick="INDEX1_selsearch(this,'life')">生活信息</span><span onclick="INDEX1_selsearch(this,'job')">招聘求职</span><span onclick="INDEX1_selsearch(this,'rent')">出租房</span><span onclick="INDEX1_selsearch(this,'sell')">出售房</span><span onclick="INDEX1_selsearch(this,'news')">新闻</span><span class="on" onclick="INDEX1_selsearch(this,'bbs')">帖子</span><span onclick="INDEX1_selsearch(this,'company')">黄页</span></div>
                        <div class="con2">
                            <div class="son1">
                                <div class="abs" style="margin-top:4px; margin-left:237px"><a title="在百度中搜索" id="baidu" href="http://www.baidu.com" target="_blank" onmouseover="INDEX1_k_blur()"><img src="/index/1/skin/baidu.gif" onmouseover="hover(this,0.5)" onmouseout="hover(this,1)" /></a></div><input id="search_type_value" type="hidden" value="bbs" /><input type="text" id="k" class="theinp1" onfocus="INDEX1_k_focus()" onblur="INDEX1_k_blur()" maxlength="50" onkeydown="INDEX1_k_keydown(event)" />
                                <script type="text/javascript">INDEX1_k_blur();INDEX1_selsearch_init()</script>
                            </div>
                            <div class="son2"><span><img src="/index/1/skin/none.gif" width="80" height="30" onclick="INDEX1_dosearch(document.getElementById('search_type_value').value,document.getElementById('k').value)" /></span></div>
                        </div>
                    </div>
                </td>
                <td width="160"><div class="index1_gg"><%=ZK.config("headgg", "index_1")%></div></td>
            </tr>
        </table>
    </div>
    <script type="text/javascript" src="/s/skin/base64.js"></script>
    <script type="text/javascript" src="/s/skin/input.js"></script>
    <script type="text/javascript" src="/s/skin/AC_RunActiveContent.js"></script>
    <script type="text/javascript" src="/s/skin/dropmenu.js"></script>
    <script type="text/javascript" src="/s/skin/image.js"></script>
    <script type="text/javascript" src="/s/skin/tinybox.js"></script>
    <script type="text/javascript" src="/skin/public/slide.js"></script>
    <div class="index1_nav"><ul><!--#include file="~/s/include/public_nav.html" --></ul><div class="clear"></div></div>
    <div class="index1_subnav"><!--#include file="~/s/include/public_subnav.html" --></div>
    <%=ZK.config("indexcustomsitehead", "index_1")%>
</div>
<noscript><style type="text/css"> body,.wrap{background-color:#fff;background-image:none;}.box{display:none;}</style><div class="noscript">您的浏览器不支持Javascript,请升级你的浏览器或者打开Javascript支持!</div></noscript>
 
 
Official服务
积分:16745
注册时间:2012-01-02
最后登录:2015-09-24
发送短消息
回复于 2012-07-15 21:40
5楼
您好,不好意思,一楼中刚才发错了,已经修改了原帖,正确的是/index/1/index.aspx文件。
回复帖子