发新话题
打印

[求解] 我想在主页加播放器不知道修改那个页面

本主题由 washun 于 2008-8-25 17:03 移动

我想在主页加播放器不知道修改那个页面

各位老师 我想在首页 增加  播放器 播放歌曲
在插件管理中 安装了
Flash MP3 Player 狼的旋律   这款插件
  这个第三项  是显示的要在主页中加入的代码  可是 我应该如何去加呢?
我找不到 首页的   文件  不好意思了···
在根目录下找不到这个文件 TEMPLATE     我在 THEMES\Xiaoyaojv\TEMPLATE  只能找到安装主题后的包···

总之 我现在找不到  主页的 HTML文件   
高手 来说下吧
附件: 您所在的用户组无法下载或查看附件

TOP

在线等呢···

TOP

THEMES\Xiaoyaojv\TEMPLATE这个路径应该没错啊,首页对应的就是default.html

TOP

加肯定加在首页呀。。

TOP

我安装了 主题修改助手

安装 后 就可以在线 修改 代码了··
还说明了 那项 是哪项·· 这个插件 一级棒···
现在音乐在 首页打开时 响起了·

TOP

恭喜呀。。。

TOP

木木
我在http://bbs.rainbowsoft.org/viewthread.php?tid=16122  这里看到一款心仪的播放器
说明:从网上终于找到一个比较完美的播放器,博客flash音乐播放器。
木木下边的代码我勉强知道复制到 主页显示代码 想要显示的位置 就能在主页显示 但是 我们首页的代码全是英文 每一个汉字 这样我 就 确定不了 哪些代码代表那个模块
我现在将 我主页的 代码粘上 您帮着看下在最下边
我想在控制面板下边 加 本播放器 您 给知道 一下吧

在Z-BLOG上使用方法如下,在你想要加入播放器的模板页适当位置加入以下代码即可:
<!--音乐欣赏-->
<div id="mmmm" class="sidepanel">
<h4 class="Ptitle">音乐欣赏</h4>
<div class="Pcontent">
<object type="application/x-shockwave-flash" data="mp3player.swf?playlist=mp3player.xml"  width="200" height="300" wmode="transparent">
<param name="movie" value="mp3player.swf?playlist=mp3player.xml" />
<param name="wmode" value="transparent" />
</object></div>
安装方法:
可直接放在根目录或新建其他目录,注意修改文件路径!
添加修改歌曲列表可以直接修改mp3player.xml文件,用记事本直接打开修改。  
高度和宽带可以根据需要调整,其中后面的playlist参数可以直向网络上的任何一个歌曲地址。
xml播放列表中的三个参数说明:
showDisplay="yes" showPlaylist="no" autoStart="yes"
显示界面,是;  显示列表,不;  自动开始,是。


我的代码

<!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" xml:lang="<#ZC_BLOG_LANGUAGE#>" lang="<#ZC_BLOG_LANGUAGE#>">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta http-equiv="Content-Language" content="<#ZC_BLOG_LANGUAGE#>" />
<title><#ZC_BLOG_TITLE#><#ZC_MSG044#><#ZC_BLOG_SUBTITLE#></title>
<!-- <link rel="stylesheet" rev="stylesheet" href="<#ZC_BLOG_HOST#>themes/<#ZC_BLOG_THEME#>/style/<#ZC_BLOG_CSS#>.css" type="text/css" media="screen" /> -->
<link rel="stylesheet" rev="stylesheet" href="<#ZC_BLOG_HOST#>themes/<#ZC_BLOG_THEME#>/source/style.css.asp" type="text/css" media="screen" />
<link rel="alternate" type="application/rss+xml" href="<#ZC_BLOG_HOST#>rss.xml" title="<#ZC_BLOG_TITLE#>" />
<script language="JavaScript" src="<#ZC_BLOG_HOST#>script/common.js" type="text/javascript"></script>
<script language="JavaScript" type="text/javascript">
                var str00="<#ZC_BLOG_HOST#>";
                var str01="<#ZC_MSG033#>";
                var str02="<#ZC_MSG034#>";
                var str03="<#ZC_MSG035#>";
                var str06="<#ZC_MSG057#>";
                var intMaxLen="<#ZC_CONTENT_MAX#>";
                var strBatchView="";
                var strBatchInculde="";
                var strBatchCount="";
        </script>
</head>
<body class="multi default">
<div id="divAll">
  <div id="divMiddle">
    <div id="divTop">
      <h1 id="BlogTitle">[url=]<a href="<#ZC_BLOG_HOST#>[/url]"><#ZC_BLOG_NAME#>[url=]</a>[/url]</h1>
      <h2 id="BlogSubTitle"><#ZC_BLOG_SUB_NAME#></h2>
    </div>
    <div id="divNavBar">
      <h3><#ZC_MSG052#></h3>
      <ul>
        <#CACHE_INCLUDE_NAVBAR#>
      </ul>
    </div>
    <div id="divPage">
      <div id="divMain"> <#template:article-multi#>
        <div class="pagebar"><#ZC_MSG042#>:<#template:pagebar#></div>
      </div>
      <div id="divSidebar">
        <div class="function" id="divCalendar">
          <h3><#ZC_MSG050#></h3>
          <div><#CACHE_INCLUDE_CALENDAR#></div>
        </div>
        <div class="function" id="divContorPanel">
          <h3><#ZC_MSG025#></h3>
          <ul>
            <li>[url=]<a href="cmd.asp?act=login">[/url][<#ZC_MSG009#>][url=]</a>[/url]  [url=]<a href="cmd.asp?act=vrs">[/url][<#ZC_MSG021#>][url=]</a>[/url]</li>
          </ul>
        </div>
        <div class="function" id="divCatalog">
          <h3><#ZC_MSG026#></h3>
          <ul>
            <#CACHE_INCLUDE_CATALOG#>
          </ul>
        </div>
        <div class="function" id="divComments">
          <h3><#ZC_MSG027#></h3>
          <ul>
            <#CACHE_INCLUDE_COMMENTS#>
          </ul>
        </div>
        <div class="function" id="divGuestComments">
          <h3><#ZC_MSG274#></h3>
          <ul>
            <#CACHE_INCLUDE_GUESTCOMMENTS#>
          </ul>
        </div>
        <div class="function" id="divTrackbacks">
          <h3><#ZC_MSG154#></h3>
          <ul>
            <#CACHE_INCLUDE_TRACKBACKS#>
          </ul>
        </div>
        <div class="function" id="divArchives">
          <h3><#ZC_MSG028#></h3>
          <ul>
            <#CACHE_INCLUDE_ARCHIVES#>
          </ul>
        </div>
        <div class="function" id="divSearchPanel">
          <h3><#ZC_MSG085#></h3>
          <ul>
            <li>
              <form method="post" action="<#ZC_BLOG_HOST#>cmd.asp?act=Search">
                <input type="text" name="edtSearch" id="edtSearch" size="12" />
                <input type="submit" value="<#ZC_MSG087#>" name="btnPost" id="btnPost" />
              </form>
            </li>
          </ul>
        </div>
        <div class="function" id="divStatistics">
          <h3><#ZC_MSG029#></h3>
          <ul>
            <#CACHE_INCLUDE_STATISTICS#>
          </ul>
        </div>
        <div class="function" id="divFavorites">
          <h3><#ZC_MSG030#></h3>
          <ul>
            <#CACHE_INCLUDE_FAVORITE#>
          </ul>
        </div>
        <div class="function" id="divLinkage">
          <h3><#ZC_MSG031#></h3>
          <ul>
            <#CACHE_INCLUDE_LINK#>
          </ul>
        </div>
        <div class="function" id="divMisc">
          <h3><#ZC_MSG039#></h3>
          <ul>
            <#CACHE_INCLUDE_MISC#>
          </ul>
        </div>
      </div>
    </div>
    <div id="divBottom">
      <h3 id="BlogPowerBy">Powered By [url=]<a href="http://www.rainbowsoft.org/" title="RainbowSoft Studio Z-Blog">[/url]Z-Blog <#ZC_BLOG_VERSION#>[url=]</a>[/url] <span id="footer-security">[url=]<a href="http://www.codefense.cn" target="_blank" title="Code detection by Codefense">[/url]<img width="12" height="14" src="<#ZC_BLOG_HOST#>image/logo/detect.gif" alt="Code detection by Codefense" border="0" />[url=]</a>[/url]</span>  theme by [url=]<a href="http://bokezhuti.cn" target="_blank">[/url]BokeZhuti[url=]</a>[/url]</h3>
      <h2 id="BlogCopyRight"><#ZC_BLOG_COPYRIGHT#></h2>
    </div>
  </div>
</div>
<script language="JavaScript" type="text/javascript">
$(document).ready(function(){

try{
        var elScript = document.createElement("script");
        elScript.setAttribute("language", "JavaScript");
        elScript.setAttribute("src", "<#ZC_BLOG_HOST#>function/c_html_js.asp?act=batch"+unescape("%26")+"view=" + escape(strBatchView)+unescape("%26")+"inculde=" + escape(strBatchInculde)+unescape("%26")+"count=" + escape(strBatchCount));
        document.getElementsByTagName("body")[0].appendChild(elScript);
        }
catch(e){};

});
</script>
</body>
</html>






附件: 您所在的用户组无法下载或查看附件

TOP

发新话题