Hongmu Notes
Home Program Notes

Program Notes

In the final analysis, programmers taking notes is an efficient behavior of recording work experience. It can not only record the various technical problems encountered in the process of program development, but also record the beneficial experiences gained in learning technical knowledge. It can both help...

Apple cms message board tags

Apple cms message board tags Program Notes Apple cms

Message board tag Scope of application: Can be used anywhere on the entire site Tag function: Used for users to submit messages and retrieve message records 1. Message submission form <form action="{pboot:msgaction}" method="post"> Contact person: <input type=&quot…
👁 455
Empire uses PHP to generate sitemap files

Empire uses PHP to generate sitemap files Program Notes Empire cms

This code can be used directly; however, one thing to note is that if your website contains a large number of articles, you may need to modify part of the code – it appears that Baidu has a limit on the number of links allowed in a sitemap. If the number of links is too high, it may not be optimal; sitemap code <?php /* Include files */ require('e/class/connect.php'); require('e/class/d...
👁 253
pbootcms paging call

pbootcms paging call Program Notes PbootCms

Here's an example!<br/>--Pagination--<br/>{pboot: if ({page:rows}> 0)}<br/><nav aria-label= "Page navigation" class= "my-4"><div class= "pagin...">
👁 269
pbootcms common public calls

pbootcms common public calls Program Notes PbootCms

Site Information Tag – Scope of Use: Can be used anywhere on the entire website. – Purpose: Retrieves the website's basic configuration information; corresponds to the "Basic Content> Site Information" section in the backend. {pboot:siteindex} – Site entry URL: Typically used to set the prefix for internal link redirection configurations, enabling an adaptive URL format. {pboot:sitepath} – Site path: The value is empty when the site is at the root directory. {pboot:s...}
👁 340
pbootcms carousel picture call

pbootcms carousel picture call Program Notes PbootCms

Slide Carousel Tag – Scope of Use: Can be used anywhere across the entire website. – Function: Displays slide images from a specified group in sequence. 1. Slide Carousel List: {pboot:slide gid=* num=*} <img src= "[slide:src]"> </img> {/pboot:slide} – Control Parameters: gid=* – Group identifier (required).
👁 299
pbootcms imitation website process

pbootcms imitation website process Program Notes PbootCms

Install PBootCMS on your website – Official website: https://www.pbootcms.com/ Features: Free, open-source, and commercially usable. Issue 1: The SQLite3 database extension for your server environment was not detected; please check whether this extension is enabled in your `php.ini` file! Additionally, since your server supports the PDO SQLite extension, you may also change the database connection driver to PDO...
👁 333
pbootcms calls the sub-column under the specified column

pbootcms calls the sub-column under the specified column Program Notes PbootCms

**Specific Column Tag Usage Scope:** This tag can be used anywhere on the entire website. **Purpose:** Used to organize the navigation menu column list, corresponding to the "Basic Content> Content Columns" section in the backend. 1. **Specific Column List** `{pboot:sort scode=*} <a href= "[sort:link]">[sort:name]</a> </a> {/p...`
👁 322
pbootcms calls the content of the specified id

pbootcms calls the content of the specified id Program Notes PbootCms

Specific content tagging scope: This tag can be used anywhere across the entire website. Purpose: Used to retrieve content with a specified ID. 1. Retrieve specified content: {pboot:content id=*} <a href= "" [content:link] "">[content:title]</a> </a> {/pboot:content}...
👁 220
pbootcms content details page label

pbootcms content details page label Program Notes PbootCms

Content Detail Page Tag – Scope of Use: To be used on content detail pages, including both single-page and list-based detail pages. – Function: Outputs relevant information about the current content: {content:id} – Content ID; {content:scode} – Category Code; {content:subscode} – Sub-category Code; {content:sortname} – Category Name; {content:subsor... – Sub-category Name.
👁 234
pbootcms pseudo-static configuration rules

pbootcms pseudo-static configuration rules Program Notes PbootCms

Purpose of the pseudo-static configuration tag: After configuring pseudo-static routing, the URL will no longer contain the compatibility-mode question mark, making the entire address more visually appealing and easier to optimize for search engine promotion. Compatible versions: 2.X and 3.X; environments requiring IIS 7+ or above (for IIS 6 environments, please search online for guidance). Steps: 1) Install the Rewrite component; if you are using a web hosting service, the component is usually pre-installed by the provider; 2) Enable the pseudo-static routing switch in the backend configuration parameters; 3) Create a.htaccess file in the site's root directory.
👁 185
1 11 12 13 14 15 23