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...

What are the call tags of pbootcms content page?

What are the call tags of pbootcms content page? 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} – Subcategory Code; {content:sortname} – Category Name; {content:su... – Subcategory Name.
👁 267
pbootcms list page call

pbootcms list page call Program Notes PbootCms

1. The current section content list `{pboot:list} <a href= "[list:link]">[list:title]</a> </a> {/pboot:list}` should only be used on list pages and supports pagination; it can only be used once per page. Otherwise: older versions may experience pagination conflicts, while newer versions may display identical content....
👁 341
Why does the remote saving of pictures in the Empire CMS editor fail?

Why does the remote saving of pictures in the Empire CMS editor fail? Program Notes Empire cms

The Empire CMS Remote Image Localization feature is a highly important functionality that can be frequently utilized even without performing routine image collection tasks. However, it is sometimes possible that this feature does not work as expected. What are the common reasons why this feature might fail to function? Reason 1: Image format and size configuration issues – The default image formats supported by Empire CMS do not include PNG; however, many images (such as those captured using QQ Screenshot) are in PNG format. Simply add PNG images to the system; if the image format on the source server...
👁 241
Original, what should I do if Imperial CMS7.5 cannot save images without suffix?

Original, what should I do if Imperial CMS7.5 cannot save images without suffix? Program Notes Empire cms

Modify the `RepImg` function in `e/class/functions.php`: $zz1 = '/<img|IMG>(.[^?])?(src|SRC)=(\' |\\|\\\\\\ '|)(.[^?]+)?(\.jpg|\.JPG|\.gif|\.GIF|\.png|\.PNG|\.bmp|\....)';
👁 154
The empire cms list page calls the tag tag

The empire cms list page calls the tag tag Program Notes Empire cms

$fr=$empire-&gt;fetch1(&quot;select infotags from {$dbtbpre}ecms_news_data_{$r[stb]} where id='$r[id]'&quot;); $infotags=$fr['infotags']; $r_tag=explo…
👁 301
Empire cms calling tag, pseudo-static version, smart calling

Empire cms calling tag, pseudo-static version, smart calling Program Notes Empire cms

[e:loop={&quot;select * from [!db.pre!]enewstags order by num DESC limit 20&quot;,0,24,0}] &lt;?php echo ' &lt;li class=&quot;submenu&quot;&gt;&lt;a t…
👁 279
Addition of message function to pbootcms website

Addition of message function to pbootcms website Program Notes PbootCms

Scope of application of message board tags: 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="tex…
👁 174
pbootcms introduces public file code

pbootcms introduces public file code Program Notes PbootCms

1. Template file nested reference {include file=***.html} Instructions for use: It can be used nested, such as: index.html nests a head.html, and nested comm.html in head.html supports the use of subdirectories, such as: {include file=comm/*.html} 2. Time formatting tag style=*, such as: within...
👁 235
Imperial cms verification code instructions

Imperial cms verification code instructions Program Notes Empire cms

Comment verification code: <input name= "key" type= "text" id= "key" size= "6" /> <img src= "!--key.url--" > ali...
👁 205
Introduction to the use of empire CMS calling php functions

Introduction to the use of empire CMS calling php functions Program Notes Empire cms

I. `esub()` Field Extraction Function Syntax: `esub(string, number of characters to extract, suffix)`. Note: The suffix specifies the content appended after the extracted characters; this parameter can be omitted. Example usage: `<?=esub('12345678', 6)?>` returns: `123456`; `<=?=esub('12345678', 6, '…')?>` returns: `123...`
👁 263
1 12 13 14 15 16 23