Hongmu Notes
Home Program Notes pbootcms imitation website process
Program Notes PbootCms

pbootcms imitation website process

pbootcms imitation website process

pbootcms website installation

pbootcms official website: https://www.pbootcms.com/

Features: Free and open source for commercial use

Question 1: The sqlite3 database extension of your server environment is not detected. Please check whether the extension has been enabled in php.ini!
In addition, it is detected that your server supports the pdo_sqlite extension. You can also modify the database configuration connection driver to pdo_sqlite and try it!

Question 2: The valid authorization code for this domain name (pbootcmstest.com) is not matched. Please go to the PbootCMS official website to obtain it for free, and log in to the system background to fill in the "Global Configuration>>Configuration Parameters".

Backend path:/admin.php
Login account: admin
Login password: 123456

pbootcms imitation website home page template

Question 1: Template file reading error! C:/phpstudy_pro/WWW/pbootcmstest.com/template/moban/html/index.html

Template path: template

Website imitation gadget: https://wwi.lanzoup.com/iHqCOs7m06d

Navigation call code:

<li class="{pboot:if(0=='{sort:scode}')}active{/pboot:if}"> <a href="/" title="">首页</a> </li>
{pboot:nav}
<li class="{pboot:if('[nav:scode]'=='{sort:tcode}')}active{/pboot:if}"><a href= "[nav:link]">[nav:name]</a>
{pboot:if([nav:soncount]>0)}
<ul>
{pboot:2nav parent=[nav:scode]}
    <li><a href= "[2nav:link]">[2nav:name]</a>  </li>      
{/pboot:2nav}
 </ul>
 {/pboot:if}
</li>
{/pboot:nav}    

Code for search function:

Reference website: https://www.4s5.cn/archives/113.html

<form  name="formsearch" action="{pboot:scaction}" method="get">
<div class="input-group text-right">
  <input type="hidden" name="field" value="title">
  <input type="text" class="input border-main" name="keyword" size="30" placeholder="关键词" />
  <span class="addbtn">
  <button type="submit" class="button bg-main">搜索</button>
  </span> </div>
</form>          

Website slideshow calling code:

{pboot:slide gid=1 num=3}
<div class="item"><a href="[slide:link]"><img src="[slide:src]" alt="" ></a></div>
{/pboot:slide}

Call the article in the specified column:

Reference website: https://www.4s5.cn/archives/295.html

{pboot:list scode=4 num=3}
<li class="clearfix"> <a href="[list:link]" title="[list:title]">
<div class="news-date">
  <div class="news-date1">[list:date style=d]</div>
  <div class="news-date2">[list:date style=Y-m]</div>
</div>
<div class="news-bodys">
  <h3>[list:title]</h3>
  <p>[list:description len=40 more='...']</p>
</div>
</a> </li>
{/pboot:list}

Time specified format display: [list:date style=Y-m]
style=parameter Y-m-d
Content interception: [list:description len=40 more='...']
Adding len in the call label limits the number of words in the call, and more is the omitted character.

Call the sub-column under the specified column

{pboot:sort scode=*}

<a href= "[sort:link]">[sort:name]</a>

{/pboot:sort}

pbootcms calls the content of the specified id

Reference content: https://www.4s5.cn/archives/304.html

{pboot:content id=*}

<a href= "[content:link]">[content:title]</a>

{/pboot:content}

Friendly link list

Question 1: An error occurred while executing SQL! Error: near "*": syntax error

{pboot:link  gid=* num=*}

<a href="[link:link]" title="[link:name]"><img src="[link:logo]"></a>

{/pboot:link}

Control parameters:

gid=* grouping, required, used to control the grouping of friendly links that need to be output
num=* quantity, optional, used to control the number to be output, the default is 10
2. Available list tags
[link:n] The serial number starts from 0
[link:i] The serial number starts from 1
[link:id] number
[link:name] link name
[link:link] link address
[link:logo] Link Logo image

pbootcms imitation site list page template

Available public tags

Current column label
Scope of application: Used on list pages or details pages
Tag function: used to output relevant information of the current column

{sort:tcode} The top-level column code of the current column
{sort:topname} The top column name of the current column
{sort:toplink} The top column link of the current column
{sort:pcode} The parent column code of the current column
{sort:parentname} The parent column name of the current column
{sort:parentlink} The parent column link of the current column
{sort:scode} current column code
{sort:name} column name
{sort:subname} Column subname
{sort:link} column link
{sort:type} column type, 1 single page, 2 list
{sort:outlink} Jump link set in the background
{sort:listtpl} list page template
{sort:contenttpl} details page template
{sort:ico} column thumbnail
{sort:pic} Column picture
{sort:title} column title (V1.3+)
{sort:keywords} column keywords
{sort:description} column description
{sort:def1} Column description 1 (V3.0.6+)
{sort:def2} Column description 2 (V3.0.6+)
{sort:def3} Column description 3 (V3.0.6+)
Question 1: The template file productlist.html does not exist! At the same time, it is detected that a template subdirectory is configured in your background configuration. Please check whether this is the cause!

Breadcrumb navigation call

{pboot:position}

Parameter description:
separator=* separator, optional, default is >>
separatoricon=* Split icon, optional, if using icon font: separatoricon='fa fa-angle-double-right'
indextext=* Home page text, optional, default is "Home page"
indexicon=* Home page icon, optional, if using icon font: indexicon='fa fa-home'

pbootcms imitation site content page template

Problem: The template file product.html does not exist!
At the same time, it is detected that a template subdirectory is configured in your background configuration. Please check whether this is the cause!
Content tag: https://www.4s5.cn/archives/305.html

微信赞赏

WeChat

支付宝赞赏

Alipay

✍️ Author: Hong Mu

webmaster · Thanks for reading, stay tuned for more exciting content

Author homepage View home page →

Related articles

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

Recommended reading

Home Textiles & Interior Decoration Website Template – 0905

Home Textiles & Interior Decoration Website Template – 0905 Practical Collection Yiyou template

An EyouCMS website template designed for the home textiles and home decor industry. Its warm and practical design style is ideal for showcasing home textile products, home decor items, soft furnishing combinations, and brand identities. This template helps home textile brands showcase their products online and attract domestic consumers. Template Display | Installation Instructions | Website Backend: /login.php | Username: admin | Password: admin | Related Articles: Summary of Common Installation Issues for EyouCMS | EyouCMS (E...
👁 39
Lighting and Home Decor Website Template – 0906

Lighting and Home Decor Website Template – 0906 Practical Collection Yiyou template

This EyouCMS template is ideal for the lighting and home decoration industry. Its modern, bright design is perfect for showcasing lighting products, home decor items, lighting solutions, and brand stories. It helps lighting brands showcase their products online and attract both residential and commercial clients. Template Preview | Installation Instructions | Website Backend: /login.php | Username: admin | Password: admin | Related Articles: Summary of Common Installation Issues for EyouCMS | EyouCMS (E...
👁 46
Responsive Home Customization Company Website Template 0907

Responsive Home Customization Company Website Template 0907 Practical Collection Yiyou template

An eyouCMS responsive website template designed for home customization companies. Its premium, modern design effectively showcases whole-house customization services, home furnishings, design projects, and brand strength. This template helps custom home furnishing brands attract homeowners online and enhance their brand image. Template Display | Installation Instructions | Website Backend: /login.php | Username: admin | Password: admin | Related Articles: Summary of Common Installation Issues for YIYOU CMS | YIYOU CMS (...
👁 58
Resource website typecho001 template

Resource website typecho001 template Program Notes Typecho

typecho001 template template please do not modify the folder name of this template. The folder name is: typecho001 1.4 Fix the js output problem on the article page 1.3 Fix the error prompt when the plug-in is not installed Optimize the list page code output 1.2 Fix the comment function and add a custom homepage title 1.1 Fix the comment reply asymmetry function Add a separate title setting function on the homepage Add the website favicon.ico icon Add one...
👁 199
Kitchen and Bathroom Hardware Materials Company Website Template 0908

Kitchen and Bathroom Hardware Materials Company Website Template 0908 Practical Collection Yiyou template

This EyouCMS template is ideal for kitchen and bathroom equipment and hardware manufacturers. Its professional and practical design style effectively showcases kitchen and bathroom hardware products, material ranges, engineering applications, and brand identity. It enables these companies to showcase their products online and attract customers in the home decoration and construction sectors. Template Display | Installation Instructions | Website Backend: /login.php | Username: admin | Password: admin | Related Articles: Summary of Common Installation Issues for EyouCMS | EyouCMS...
👁 57
Modification of typecho paging style

Modification of typecho paging style Program Notes Typecho

Sir, times have changed! Typecho is currently the most perfect solution, because Baidu can only see the code of fixed thinking. The actual generated HTML code is breathtakingly clean and fully customized, including adding classes to the li element, adding classes to the a element, adding classes to the previous page and next page, and removing the li tags that come with typecho to express more. I can even add some text to the content inside...
👁 517