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