Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[疑难] 求助,导航栏

[复制链接]
gameboy_fx 发表于 2007-7-16 16:54:05 | 显示全部楼层 |阅读模式
请问修改导航栏的内容,在哪个文件修改,或者从后台修改模版??

找了半天没找到教学贴。。。。

谢谢了阿
 楼主| gameboy_fx 发表于 2007-7-16 17:07:53 | 显示全部楼层
templates/softsea/site_header.html.php

是这个文件吗?
logo那栏的内容

增加1个按钮,指向特定链接,怎么写代码?~~

[ 本帖最后由 gameboy_fx 于 2007-7-16 17:10 编辑 ]
123.JPG
回复

使用道具 举报

 楼主| gameboy_fx 发表于 2007-7-16 17:08:20 | 显示全部楼层
templates/softsea/site_header.html.php

内容:
<?exit?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=$_SCONFIG[charset]" />
<title>$title  $_SCONFIG[seotitle]- Powered By SupeSite</title>
<meta name="keywords" content="$keywords $_SCONFIG[seokeywords]" />
<meta name="description" content="$description $_SCONFIG[seodescription]" />
<link rel="stylesheet" type="text/css" href="{S_URL}/templates/$_SCONFIG[template]/css/style.css" />
$_SCONFIG[seohead]
<script type="text/javascript">
var siteUrl = "{S_URL}";
</script>
<script src="{S_URL}/include/js/ajax.js" type="text/javascript" language="javascript"></script>
<script src="{S_URL}/include/js/common.js" type="text/javascript" language="javascript"></script>
</head>

<body>
<div id="wrap">
        <div id="header">
                <div id="pagetitle">
                        <h2><a href="{S_URL}/">$_SCONFIG[sitename]</a></h2>
                </div>
                <div id="topmenu">
                        <ul>
                                <!--{loop $channels['menus'] $key $value}-->
                                <li><a href="$value[url]" class="$key">$value[name]</a></li>
                                <!--{/loop}-->
                        </ul>
                </div>
        </div>

[ 本帖最后由 gameboy_fx 于 2007-7-16 17:11 编辑 ]
回复

使用道具 举报

 楼主| gameboy_fx 发表于 2007-7-17 09:38:36 | 显示全部楼层
有人帮忙吗。,。。
回复

使用道具 举报

理解万岁 发表于 2007-7-17 09:54:38 | 显示全部楼层
<?exit?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=$_SCONFIG[charset]" />
<title>$title  $_SCONFIG[seotitle]- Powered By SupeSite</title>
<meta name="keywords" content="$keywords $_SCONFIG[seokeywords]" />
<meta name="description" content="$description $_SCONFIG[seodescription]" />
<link rel="stylesheet" type="text/css" href="{S_URL}/templates/$_SCONFIG[template]/css/style.css" />
$_SCONFIG[seohead]
<script type="text/javascript">
var siteUrl = "{S_URL}";
</script>
<script src="{S_URL}/include/js/ajax.js" type="text/javascript" language="javascript"></script>
<script src="{S_URL}/include/js/common.js" type="text/javascript" language="javascript"></script>
</head>

<body>
<div id="wrap">
        <div id="header">
                <div id="pagetitle">
                        <h2><a href="{S_URL}/">$_SCONFIG[sitename]</a></h2>
                </div>
                <div id="topmenu">
                        <ul>
                                <!--{loop $channels['menus'] $key $value}-->
                                <li><a href="$value[url]" class="$key">$value[name]</a></li>
                                <!--{/loop}-->
                                <li><a href="你的特定链接" class="链接的样式">链接的名字</a></li>                        </ul>
                </div>
        </div>

注意看红色部分。。。。
回复

使用道具 举报

 楼主| gameboy_fx 发表于 2007-7-17 10:34:10 | 显示全部楼层
非常感谢~~
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2024-9-28 12:24 , Processed in 0.278152 second(s), 19 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表