PC Label {Pc:content
Parameter name = "Argument value"
Parameter name = "Argument value"
Parameter name = "argument value"} but the parameter name corresponds to the specific argument value there are those, rookie don't know, now send a phpcms V9 content module PC Tag call Description!! Do not know before there is no one hair, I found, think to rookie very useful on the hair!! If you need it, take a look!
Phpcms V9 content Module PC label call description
2011-03-10 10:08
Phpcms V9 content Module PC label call description
Module Name: Content
Available actions provided by the module
Action Name Description
Lists content Data list
Relation Content related articles
Hits content Data Click Leaderboard
Category Content Column list
Position list of recommended content
Position operating instructions are as follows:
--------------------------------------------------------------------------------
Content recommendation List (position):
Available parameters:
Whether the parameter name must have a default value description
POSID is a null referral bit ID
CATID no null call column ID
Thumb no 0 whether only thumbnails are required
Order No null Sort type
Num is the number of NULL data calls
code example:
{pc:content action= "position" posid= "2" order= "Listorder DESC" num= "4"}
{Loop $data $key $val}
{$val [' title ']}
{/loop}
{/PC}
The following table returns the parameters:
Field type NULL default comment
Title char (80) No NULL recommended bit title
URL char no NULL recommended bit link address
Inputtime Int (10) No NULL recommended bit published time
Thumb Char is a NULL recommended bit thumbnail
The other variable is the field name that is added to the recommendation bit according to the model set
--------------------------------------------------------------------------------
Table of Contents (lists):
Available parameters:
Whether the parameter name must have a default value description
CATID no null call column ID
Thumb no 0 whether only thumbnails are required
Order No null Sort type
Num is the number of NULL data calls
code example:
{pc:content action= "lists" catid= "2" order= "id DESC" num= "4"}
{Loop $data $key $val}
{$val [' title ']}
{/loop}
{/PC}
The following table returns the parameters:
Field type NULL default comment
Title char (80) No NULL recommended bit title
URL char no NULL recommended bit link address
Inputtime Int (10) No NULL recommended bit published time
Thumb Char is a NULL recommended bit thumbnail
Other variable is other model field
--------------------------------------------------------------------------------
Click the leaderboard (hits):
Available parameters:
Whether the parameter name must have a default value description
CATID no null call column ID
Day no 0 calls within how many days of the ranking
Order No null sort type (this month's ranking-monthviews DESC, this week's ranking-weekviews DESC, today's ranking-dayviews desc)
Num is the number of NULL data calls
code example:
{pc:content action= "hits" catid= "2" order= "Weekviews DESC" num= "10"}
{Loop $data $key $val}
{$val [' title ']}
{/loop}
{/PC}
The following table returns the parameters:
Field type NULL default comment
Title char (80) No NULL recommended bit title
URL char no NULL recommended bit link address
Inputtime Int (10) No NULL recommended bit published time
Thumb Char is a NULL recommended bit thumbnail
Other variable is other model field
-------------------------------------------------------------------------------
Related articles (relation):
Available parameters:
Whether the parameter name must have a default value description
CATID no null call column ID
Relation no $relation no change
Keywords no null content page value: $rs [keywords]
Num is the number of NULL data calls
code example:
{pc:content action= "relation" relation= "$relation" catid= "$catid" num= "5" keywords= "$rs [keywords]"}
{Loop $data $r}
? {$r [title]} ({date (' y-m-d ', $r [Inputtime])})
{/loop}
{/PC}
The following table returns the parameters:
Field type NULL default comment
Title char (80) No NULL recommended bit title
URL char no NULL recommended bit link address
Inputtime Int (10) No NULL recommended bit published time
Thumb Char is a NULL recommended bit thumbnail
Other variable is other model field
--------------------------------------------------------------------------------
Column list (category):
Available parameters:
Whether the parameter name must have a default value description
CATID no 0 call all columns under this column, default 0, call the first level column
$siteid No 1 calls the system site by default
Order no null ordering, generally according to Listorder ASC, that is, the order of adding columns
Num is the number of NULL data calls
code example:
{pc:content action= "category" catid= "0" num= "siteid=" $siteid "order=" Listorder ASC "}
{Loop $data $r}
{$r [catname]}
{/loop}
{/PC}
The following table returns the parameters:
Field type default Value description
CATID smallint no column ID
SiteID tinyint (3) 0 Site ID
Module varchar (15) No modules ID
Type tinyint (1) 1 Category ID
ModelID tinyint (5) 5 model ID
ParentID smallint (5) 5 Parent column
Arrparentid varchar (255) without all the parent columns
Child tinyint (1) 0 sub-columns
Arrchildid Mediumtext Not all sub-columns
CatName varchar (30) No column name
Image varchar (100) No column image
Description Mediumtext No Column description
Parentdir varchar (100) No parent column directory
Catdir varchar (30) No column catalogue
URL varchar (100) No column links
Items Mediumint (8) 0 columns of content
Hits int (10) 0 hits
Setting mediumtext no Column settings
Listorder smallint (5) 0 Reviews
Ismenu tinyint (1) 0 show
sethtml tinyint (1) 0 whether to build to the root directory
Letter varchar (30) No column pinyin
PHP CMS pc Tag