PHPCMS 中怎么做调用分页标签不显示效果了在线等.麻烦知道的进!
我现在正处在摸索PHPCMS阶段,最近做摸索了一段时间,就是在做调用里面栏目列表后不没有了分页显示了,求大神帮小女子排忧解难....
[img=http://bbs.php100.com/attachment/Mon_1304/18_153939_4ee32be0c0e881c.jpg?49][/img]
[img=http://bbs.php100.com/attachment/Mon_1304/18_153939_ef97be0a903d714.jpg?33][/img]
回复讨论(解决方案)
用{pc:content标签做
按照你的方法试了,怎么也没效果的....
用{pc:content标签做
按照你的方法试了,怎么也没效果的....
你是怎么弄的,我也做过,完全可以的呀
{if $page} 不是 {if $pages}
你是怎么弄的,我也做过,完全可以的呀
我这个就是在单网页模板里面做的,就是不成功,什么都不显示的....
{if $page} 不是 {if $pages} 纠正,如9楼,正确的分页变量是 $pages
引用 8 楼 dream1206 的回复:
{if $page} 不是 {if $pages}纠正,如9楼,正确的分页变量是 $pages
就是按照$pages来的,还是调不到,也不知道哪错了,一下是我的代码麻烦您看看..
页面压根就什么都没显示...是不是少了什么模板之类的吧
引用 11 楼 dream1206 的回复:引用 8 楼 dream1206 的回复:
{if $page} 不是 {if $pages}纠正,如9楼,正确的分页变量是 $pages
就是按照$pages来的,还是调不到,也不知道哪错了,一下是我的代码麻烦您看看..
页面压根就什么都没显示..…… 我记得$pages一般都是写在当前tag标签内的,也就是你要把$pages写在 tag_新闻资讯的模板文件里。但我并不确定。另外只有当总条数大于分页基数(默认是10吧),$pages才会有分页信息
引用 12 楼 lsd19880914 的回复:
引用 11 楼 dream1206 的回复:引用 8 楼 dream1206 的回复:
{if $page} 不是 {if $pages}纠正,如9楼,正确的分页变量是 $pages
就是按照$pages来的,还是调不到,也不知道哪错了,一下是我的代码麻烦您看看..
……
即便就是超过设置的显示条数,还是没有显示出分页...
在单网页模板里面是不是就调用不到分页的
标签里面要加上page="$_GET[page]" 有这个参数了 才会有分页。
标签里面要加上page="$_GET[page]" 有这个参数了 才会有分页。
这个是我的标签,麻烦你看看是在那加page="$_GET[page]" 参数呢,我怎么没找到...
标签里面要加上page="$_GET[page]" 有这个参数了 才会有分页。
是否分页显示 那里应该勾选“是”吧
是否分页显示 那里应该勾选“是”吧
你说的那个是在添加文章的时候选了那个文章内容就开始分页了...和我现在想知道的这个没关系
我现在正处在摸索PHPCMS阶段,最近做摸索了一段时间,就是在做调用里面栏目列表后不没有了分页显示了,求大神帮小女子排忧解难....
[img=http://bbs.php100.com/attachment/Mon_1304/18_153939_4ee32be0c0e881c.jpg?49][/img]
[img=http://bbs.php100.com/attachment/Mon_13……
还小女子,老了
引用 楼主 lsd19880914 的回复:
我现在正处在摸索PHPCMS阶段,最近做摸索了一段时间,就是在做调用里面栏目列表后不没有了分页显示了,求大神帮小女子排忧解难....
[img=http://bbs.php100.com/attachment/Mon_1304/18_153939_4ee32be0c0e881c.jpg?49][/img]
[img=http://bbs.php1……
不说认识哥你会死啊!!!!!!!!!!!!!!
引用 楼主 lsd19880914 的回复:
我现在正处在摸索PHPCMS阶段,最近做摸索了一段时间,就是在做调用里面栏目列表后不没有了分页显示了,求大神帮小女子排忧解难....
[img=http://bbs.php100.com/attachment/Mon_1304/18_153939_4ee32be0c0e881c.jpg?49][/img]
[img=http://bbs.php1……
不说认识哥你会死啊!!!!!!!!!!!!!!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



Alipay PHP...

JWT is an open standard based on JSON, used to securely transmit information between parties, mainly for identity authentication and information exchange. 1. JWT consists of three parts: Header, Payload and Signature. 2. The working principle of JWT includes three steps: generating JWT, verifying JWT and parsing Payload. 3. When using JWT for authentication in PHP, JWT can be generated and verified, and user role and permission information can be included in advanced usage. 4. Common errors include signature verification failure, token expiration, and payload oversized. Debugging skills include using debugging tools and logging. 5. Performance optimization and best practices include using appropriate signature algorithms, setting validity periods reasonably,

Session hijacking can be achieved through the following steps: 1. Obtain the session ID, 2. Use the session ID, 3. Keep the session active. The methods to prevent session hijacking in PHP include: 1. Use the session_regenerate_id() function to regenerate the session ID, 2. Store session data through the database, 3. Ensure that all session data is transmitted through HTTPS.

The application of SOLID principle in PHP development includes: 1. Single responsibility principle (SRP): Each class is responsible for only one function. 2. Open and close principle (OCP): Changes are achieved through extension rather than modification. 3. Lisch's Substitution Principle (LSP): Subclasses can replace base classes without affecting program accuracy. 4. Interface isolation principle (ISP): Use fine-grained interfaces to avoid dependencies and unused methods. 5. Dependency inversion principle (DIP): High and low-level modules rely on abstraction and are implemented through dependency injection.

How to automatically set the permissions of unixsocket after the system restarts. Every time the system restarts, we need to execute the following command to modify the permissions of unixsocket: sudo...

How to debug CLI mode in PHPStorm? When developing with PHPStorm, sometimes we need to debug PHP in command line interface (CLI) mode...

Static binding (static::) implements late static binding (LSB) in PHP, allowing calling classes to be referenced in static contexts rather than defining classes. 1) The parsing process is performed at runtime, 2) Look up the call class in the inheritance relationship, 3) It may bring performance overhead.

Article discusses essential security features in frameworks to protect against vulnerabilities, including input validation, authentication, and regular updates.
