多个站点VS单个站点 |
||
---|---|---|
初级会员
注册日期:
4/12 11:50:25 所属群组:
注册会员 帖子:
24
等级: 3; EXP: 62
HP : 13 / 65 MP : 8 / 12 |
我规划中的网站有三到四个不同的题材,远大于几个版块的问题,是应该在根目录下建立多个站点形成一个网站群好呢,还是建立一个站点一个数据库好呢。
我主要是想尽可能的提高速度
5/2 11:53:39
|
|
工具箱 |
installation |
||
---|---|---|
初级会员
注册日期:
4/12 11:50:25 所属群组:
注册会员 帖子:
24
等级: 3; EXP: 62
HP : 13 / 65 MP : 8 / 12 |
我按照下面的操作来安装 fckeditor,可为什么不能用呢Installation Instructions
Installing FCKeditor is quite a simple task. Just follow these simple steps: Donwload the last version of the editor at the following url: http://sourceforge.net/project/showfiles.php?group_id=75348 1:下载 Uncompress the file to a directory called "FCKeditor"* in the root of your web site. 2:解压到根文件夹 The editor is now ready to use. To see it immediatelly at work just browse to:http:// 3:OK * You can place the files in any directory. "FCKeditor" is the default one. If you prefer using another one, just set the editor's base path in the code. For example: oFCKeditor.BasePath = '/Components/FCKeditor/' ; *FCK可以安放在任何目录,当前是作为默认编辑器 You can optionally delete all directories started with underline ("_"). They are not necessary to the editor to run. Using
5/1 14:38:24
|
|
工具箱 |
article9.0 焦点图片 |
||
---|---|---|
初级会员
注册日期:
4/12 11:50:25 所属群组:
注册会员 帖子:
24
等级: 3; EXP: 62
HP : 13 / 65 MP : 8 / 12 |
焦点图片在前台无法显示,请指点
4/30 21:36:39
|
|
工具箱 |
如何将右区块放到中央 |
||
---|---|---|
初级会员
注册日期:
4/12 11:50:25 所属群组:
注册会员 帖子:
24
等级: 3; EXP: 62
HP : 13 / 65 MP : 8 / 12 |
看到这个方法
我是把右区块放到中央,并设置width: 100%,就可以 但不知如何将右区块放到中央
4/30 15:57:19
|
|
工具箱 |
回复: 怎样安排首页的区块显示 |
||
---|---|---|
初级会员
注册日期:
4/12 11:50:25 所属群组:
注册会员 帖子:
24
等级: 3; EXP: 62
HP : 13 / 65 MP : 8 / 12 |
请问可以具体些吗,如何将区块放到中央呢
4/30 9:20:51
|
|
工具箱 |
回复: xcgallery 使用问题 |
||
---|---|---|
初级会员
注册日期:
4/12 11:50:25 所属群组:
注册会员 帖子:
24
等级: 3; EXP: 62
HP : 13 / 65 MP : 8 / 12 |
arise天文站的背景有点意思,不过还得麻烦各位
Warning [PHP]: Invalid argument supplied for foreach() in file J:\usr\local\www\data\xoops226\modules\wordpress\wp-includes\capabilities.php line 19 Warning [Xoops]: Smarty error: unable to read resource: "db:wp_block_posts.html" in file J:\usr\local\www\data\xoops226\class\smarty\Smarty.class.php line 1084 这两行是什么意思呢,现在不能发表评论
4/30 2:00:38
|
|
工具箱 |
回复: 怎样安排首页的区块显示 |
||
---|---|---|
初级会员
注册日期:
4/12 11:50:25 所属群组:
注册会员 帖子:
24
等级: 3; EXP: 62
HP : 13 / 65 MP : 8 / 12 |
.....
<{section name=block loop=$xoops_ccblocks start=0 step=1 max=1 show=1}> <{include file="theme_blockcenter_c.html"}> <{/section}> ..... <{foreach item=block from=$xoops_clblocks}> <{include file="theme_blockcenter_l.html"}> <{/foreach}> ...... <{foreach item=block from=$xoops_crblocks}> <{include file="theme_blockcenter_r.html"}> <{/foreach}> ..... <{section name=block loop=$xoops_ccblocks start=1 step=1 max=2 show=1}> <{include file="theme_blockcenter_c.html"}> <{/section}> ..... 怎么才能打开这部分内容呢,我在dreamweaver中打开theme.html为甚至有: <td id="centerCcolumn" colspan="2"> <{foreach item=block from=$xoops_ccblocks}> <div style="padding: 5px;"> <div class="blockTitle"><{$block.title}></div> <div class="blockContent"><{$block.content}></div> </div> <{/foreach}> </td>
4/30 1:33:59
|
|
工具箱 |
回复: xcgallery 使用问题 |
||
---|---|---|
初级会员
注册日期:
4/12 11:50:25 所属群组:
注册会员 帖子:
24
等级: 3; EXP: 62
HP : 13 / 65 MP : 8 / 12 |
为什么在参数设置里找不到Debug Info
在WINDOWS系统下如何设置目录权限呢 我是一个新手 有时确实比较菜 还请见谅 开了一下楼上FFXK的网站 感觉色彩搭配和叶面处理不是太好 有点小气了 呵呵 个人观点 勿怪 溢美之词就不讲了
4/29 23:46:02
|
|
工具箱 |
回复: 怎样安排首页的区块显示 |
||
---|---|---|
初级会员
注册日期:
4/12 11:50:25 所属群组:
注册会员 帖子:
24
等级: 3; EXP: 62
HP : 13 / 65 MP : 8 / 12 |
我是这样处理的:
把theme.html负责中心区块部分的foreach换成section就可以了 另外需要注意两点: 1。使用section时注意只显示第0项需要将max值赋为1,即start=0 step=1 max=1 show=1 2。《smarty 模板实例教程》说的section的语法有点问题,即应该为{section name = name loop = $varName[ start = $start step = $step max = $max show = true]},而不是{section name = name loop = $varName[, start = $start, step = $step, max = $max, show = true]},参数中间不能有逗号 不知,到哪里设定max得值呢,有没有更好的办法呢
4/29 23:23:09
|
|
工具箱 |
回复: xcgallery 使用问题 |
||
---|---|---|
初级会员
注册日期:
4/12 11:50:25 所属群组:
注册会员 帖子:
24
等级: 3; EXP: 62
HP : 13 / 65 MP : 8 / 12 |
已经搜过了,但还是没找到,170行到185行代码如下∶
break; } $display[5]= $options[1] * max(1,$matches[2]); $pics = xcgal_block_func($display); $block['metas'][$element]['pics']= $pics['pics']; $count = count($pics['pics']); if (count($pics['pics'])< $display[5] && $count % $options[1] != 0) { $block['metas'][$element]['empty']= 1; while ($count++ % $options[1] != 0) { $block['metas'][$element]['empties'][]= ""; } } else $block['metas'][$element]['empty']= 0; } } return $block; }
4/29 22:49:07
|
|
工具箱 |