搜索找到 2484 个匹配

ClayMore
2010年 2月 9日 00:42
版面: 模板
主题: 谁能做个仿后台主题
回复总数: 9
阅读次数: 7542

Re: 谁能做个仿后台主题

前后台一样感觉怪怪的
ClayMore
2010年 2月 8日 07:06
版面: 模板
主题: 求助:想要在一个页面内列出所有文章的标题,请好心人帮忙
回复总数: 8
阅读次数: 6387

Re: 求助:想要在一个页面内列出所有文章的标题,请好心人帮忙

<?php if ($this->is('page', 'archives')): ?> <ul> <?php $this->widget('Widget_Contents_Post_Recent', 'pageSize=9999') ->parse('<li><a href="{permalink}">{title}</a></li>'); ?> </ul> </div> <?php else : ?> <?php $this->content(); ?> <?php endif; ?>
ClayMore
2010年 2月 8日 06:50
版面: 使用问题
主题: TYPECHO 支持GZIP 吗?
回复总数: 6
阅读次数: 4959

Re: TYPECHO 支持GZIP 吗?

曾经是自带的 但后来还是撤了
ClayMore
2010年 2月 4日 04:32
版面: 使用问题
主题: 装了个微博,支持用QQ或者手机更新~
回复总数: 4
阅读次数: 3949

Re: 装了个微博,支持用QQ或者手机更新~

PageCookery Microblog
ClayMore
2010年 2月 3日 09:52
版面: 模板
主题: 官方主页的模板谁能提供一下?
回复总数: 5
阅读次数: 4665

Re: 官方主页的模板谁能提供一下?

官方的就别要求提供了!
ClayMore
2010年 1月 31日 13:22
版面: 使用问题
主题: 如何显示分页中的 总页数和当前页??
回复总数: 4
阅读次数: 4095

Re: 如何显示分页中的 总页数和当前页??

目前(?)只能在改box.php
ClayMore
2010年 1月 31日 13:14
版面: 使用问题
主题: 最新文章标题字数限制
回复总数: 4
阅读次数: 4131

Re: 最新文章标题字数限制

限制字数是

代码: 全选

<?php $this->widget('Widget_Contents_Post_Recent')->to($post); ?>
<?php while($post->next()): ?>
<li><a href="<?php $post->permalink(); ?>"><?php $post->title(25, '...'); ?></a></li>
<?php endwhile; ?>
ClayMore
2010年 1月 31日 04:21
版面: 使用问题
主题: 如何显示分页中的 总页数和当前页??
回复总数: 4
阅读次数: 4095

Re: 如何显示分页中的 总页数和当前页??

当前页 $this->_currentPage
总页 $this->_totalPage
ClayMore
2010年 1月 29日 06:23
版面: 模板
主题: 限制文章数量的函数+首页分类文章调用
回复总数: 3
阅读次数: 2977

限制文章数量的函数+首页分类文章调用

限制文章数量的函数 PS:群里的华天同学找到的! pageSize=数量 例 <?php $this->widget('Widget_Contents_Post_Recent',' pageSize=3 ' )->parse('<li><a href="{permalink}">{title}</a></li>'); ?> 首页分类文章条用(适合cms模板) <?php while($category->next()): ?> <h3><a href="<?php $category->permalink(); ?>"><?php $category->...