Home  >  Article  >  CMS Tutorial  >  Does Phpcms have paging function?

Does Phpcms have paging function?

Guanhui
GuanhuiOriginal
2020-07-18 16:24:322471browse

Does Phpcms have paging function?

# Does Phpcms have paging function?

Phpcms has a paging function. How to use it: first open the "phpcms\libs\functions\global.func.php" file, search for "pages" on the page, and find the paging method; then copy a modification Method name, modify the paging style inside; just call it last.

Does Phpcms have paging function?

Front desk modification

<div class="s5_in">
                        {pc:content action="lists" catid="13" siteid="1" moreinfo="1" num="3" page="$_GET[page]"}
                        {loop $data $va}
                        <a class="a1">
                            <img  src="{$va[thumb]}" / alt="Does Phpcms have paging function?" >
                            <div>
                               <h4>
                                  <b>{$va[title]}</b>   |  
                                  <span>{$va[object]}:{$va[symptom]}</span>
                              </h4>
                                <p>{$va[description]}<span><查看详情></span></p>
                            </div>
                        </a>
                        {/loop}
                        {/pc}
                    </div>

Recommended tutorial: "PHPCMS Tutorial"

The above is the detailed content of Does Phpcms have paging function?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn