- Article Relate (13)
- Hide Tips (2)
- LoveSpeak (4)
- QBlog Open-Source (3)
- QBlog Publish (8)
- QBlog Template Guide (6)
- QBlog-Dev-Video (6)
- Tech Analysis (21)
- 2011-7 (2)
- Nice weblog right here! Also your site rather a lot up very fast! What host are you the usage of? Can I get your associate hyperlink in your host? I want my website loaded up as quickly as yours lol
- There is apparently a bundle to identify about this. I suppose you made some good points in features also.
- Sweet blog! I found it while searching on Yahoo News. Do you have any suggestions on how to get listed in Yahoo News? I ave been trying for a while but I never seem to get there! Thank you
- Normally I don at read post on blogs, but I would like to say that this write-up very forced me to take a look at and do so! Your writing style has been amazed me. Thanks, very great post.
- This write-up contains fantastic original thinking. The informational content material here proves that issues arenaаАабТТаЂааАабТТаБТt so black and white. I feel smarter from just reading this.
- ramsen simmonds incesticide bushell sprinkler brasserie Donelle Dalila gazzara
- Sex video arabe gratuit meilleure film porno
- My brother recommended I might like this web site. He was totally right. This post truly made my day. You can not imagine just how much time I had spent for this information! Thanks!
- Wow that was odd. I just wrote an incredibly long comment but after I clicked submit my comment didn at appear. Grrrr well I am not writing all that over again. Anyhow, just wanted to say great blog!
- Thanks-a-mundo for the blog post. Really Great.
上节回顾:ASP.NET开源博客QBlog模板制作教程:博客模板皮肤介绍说明(一)
本节介绍:ASP.NET开源博客QBlog模板制作教程之博客首页-头部制作
一:index.html 首页制作-头部制作教程
包括以下内容:[ 博客标题 | 介绍 | 菜单导航 | 登陆注册退出及多语言导航 ]
示例截图:
从示例截图中,看出要处理的仅有四点,即:
博客标题,博客概要,博客菜单导航,登陆注册退出及多语言导航。
PS:具体可参考Skin/Skin_Blue下的commoncache.html。
为何不在index.html而是commoncache.html?
因为头部是共用的,直接提取到coomoncache.html中了,这样其它页面可以轻松引用,修改也方便,只改一处。
下面给出具体教程示例:
1:博客标题:填充ID为:id="labSpaceName"
2:博客概要:填充ID为:id="labSpaceIntro"
3:博客菜单导航:填充ID为:id="headMenu"
示例:节点headMenu下的a链接,会被格式化,自动补上http://www.cyqdata.com/用户名/+原来的href的地址
<li><a key="home" href="/" id="labHomeUrl">秋色园</a> </li>
<li><a key="index" href="/" id="labIndexUrl">首页</a> </li>
<li><a key="article" href="/article/" id="labArticleUrl">文章</a> </li>
<li><a key="photo" href="/photo/" id="labPhotoUrl">相册</a> </li>
<li><a key="admin" href="/admin/" id="labAdminUrl">管理</a> </li>
<li><a target="_blank" href="/rss/" id="labRssUrl">Rss</a> </li>
</ul>
4:博客登陆注册退出及多语言导航:填充ID为:id="headRightMenu"
示例:节点headRightMenu下的a链接会自动补充前缀。
特殊:对于[游客][登陆],在登陆后会显示成[用户名][退出],因此需要补充id="labUserName"和id="logStatus"处理
<div id="headRightMenu" class="search">
<a id="labUserName" href="/" key="anonymous">游客</a> |
<a id="logStatus" href="/" key="login">登陆</a> |
<a href="/lang/china" key="china">中文</a> |
<a href="/lang/english" key="english">英文</a>
</div>
本篇介绍到此结束,下一篇:ASP.NET开源博客QBlog模板制作教程:博客首页-博客公告|文章分类|归档|相册分类|最新评论(三)
内容:模板制作教程为博客公告,文章分类,归档,相册分类,最新文章,评论,文章排行榜,点击排行榜等内容。
系列索引见:QBlog 模板制作教程
相关文章: