admin 2007-12-14 15:50
学习制作风格之二 - 新增风格和摸板
---------------- 承接教学一 ---------------
图片制作以后,我们应该想想风格的名字了。
这个,很简单啦!喜欢怎样都可以~ 我把这个风格叫 Game Nara
所以我的目录名就叫 gamenara(图片和模板都一样)
1, 把所有[color=red]图片保存[/color]到一个目录中,例如:gamenara ,然后把这个 gamenara 目录[color=green]放到[/color]论坛 images 目录下。
即: [color=red]images/gamenara[/color]
2, 在templates目录中[color=green]新建[/color]一个 [color=red]gamenara[/color] 目录,然后[color=green]复制[/color] [color=red]templates/default/[/color]目录中的[color=red]css.htm、header.htm、footer.htm[/color] 到 [color=red]gamenara[/color] 中,即 [color=red]templates/gamenara[/color] 内有 [color=red]css.htm、header.htm、footer.htm[/color]三个文件。
3,[color=blue]进入论坛[/color][color=green]点[/color] [color=blue]系统设置[/color] -> [color=blue]界面风格[/color] -> [color=green]模板编辑[/color] 在 [color=blue]新增[/color] 后 [color=green]填入[/color] 对应资料
[color=green]模板名字 字符集 所在目录 版权信息
gamenara gb2312 ./templates/gamenara xxxxxxx(你自己的版权信息)[/color]
然后 [color=blue]提交[/color] 即可!
如图: [img]http://www.discuz.net/images/default/attachimg.gif[/img] [img]http://www.discuz.net/attachments/month_0510/style_001_ltcmRqinsV0v.gif[/img] [img]http://www.discuz.net/images/attachicons/image.gif[/img] [url=http://www.discuz.net/attachment.php?aid=20721¬humb=yes][b]style_001.gif[/b][/url] (13.49 KB)
2005-10-17 17:26
4, 点 [color=blue]界面风格[/color] 下的 [color=blue]界面风格[/color] 在 [color=blue]新增[/color] 后 [color=green]填写[/color] [color=blue]风格名字[/color],如: Gamenara 然后[color=blue]提交[/color]。
再次回到界面风格画面中 [color=green]点[/color] 这个新增的风格的 [color=blue][详情][/color] 进入 [color=blue]风格配色方案[/color]。
[img]http://www.discuz.net/images/default/attachimg.gif[/img] [img]http://www.discuz.net/attachments/month_0510/style_002_iXdEtGOPJ8N4.gif[/img] [img]http://www.discuz.net/images/attachicons/image.gif[/img] [url=http://www.discuz.net/attachment.php?aid=20722¬humb=yes][b]style_002.gif[/b][/url] (22.05 KB)
2005-10-17 17:26
5, 进入 [color=blue]风格配色方案[/color] 后,根据自己喜好进行风格的配色吧![color=red]图中红色匡内都是重点提示![/color]
如图: [img]http://www.discuz.net/images/default/attachimg.gif[/img] [img]http://www.discuz.net/attachments/month_0510/style_003_dzCqlwPIO6uW.gif[/img] [img]http://www.discuz.net/images/attachicons/image.gif[/img] [url=http://www.discuz.net/attachment.php?aid=20723¬humb=yes][b]style_003.gif[/b][/url] (38.09 KB)
2005-10-17 17:26
好了,风格基本做好了,当为了让风格更完美,我们就要进行模板的美化!
6, 点 [color=blue]界面风格[/color] 下的 [color=blue]模板编辑[/color] [color=green]点[/color] 刚新增的模板的 [color=blue][详情][/color],进入[color=blue]模板编辑管理画面[/color]。
[img]http://www.discuz.net/images/default/attachimg.gif[/img] [img]http://www.discuz.net/attachments/month_0510/style_004_QwUqMoMHAm7V.gif[/img] [img]http://www.discuz.net/images/attachicons/image.gif[/img] [url=http://www.discuz.net/attachment.php?aid=20724¬humb=yes][b]style_004.gif[/b][/url] (15.44 KB)
2005-10-17 17:26
7, 如果您用的是[color=red]win主机[/color]即可以直接点 [color=blue][编辑][/color] 来[color=green]修改模板[/color],但如果您用的是[color=red]unix或linux主机[/color],那么必须设置 [color=red]templates[/color] 目录和 [color=red]templates/gamenara[/color] 目录和 [color=red]templates/gamenara[/color] 目录[color=red]内的所有文件[/color][color=orange][b]属性为 0777[/b][/color],才能直接编辑,否则您必须先修改好模板文件再上传到模板目录中。
xunleifilm 2008-12-23 08:31
让人纷纷唱道今年过节不收礼,收礼只收白菜花的好贴