Aspcms Label Daquan

Source: Internet
Author: User

First, the website Universal label

{Aspcms:sitepath} Web site Ultimate Directory (can be placed in level two directory, other languages in the level three directory)

{Aspcms:languagepath} language directory

{Aspcms:siteurl} website address

{Aspcms:sitelogo} Logo address

{Aspcms:sitetitle} site title

{Aspcms:additiontitle} site append title

{aspcms:sitekeywords} website keywords

{ASPCMS:SITEDESC} site description

{aspcms:defaulttemplate} Default template

{Aspcms:companyname} company name

{aspcms:companyaddress} company address

{Aspcms:companypostcode} ZIP code

{Aspcms:companycontact} contacts

{Aspcms:companyphone} phone number

{Aspcms:companymobile} mobile number

{Aspcms:companyfax} company fax

{Aspcms:companyemail} e-mail

{ASPCMS:COMPANYICP} record number

{Aspcms:statisticalcode} Statistics code

{aspcms:copyright} website copyright

{Aspcms:languagepath} language directory (set in background multi-language settings)

{label:****} Custom Label

{Aspcms:slide} slides
{Aspcmsnlineservice} online customer service
{ASPCMS:KF} other customer service systems
{Aspcms:floatad} floating Ads
{Aspcms:coupletad} couplet ads
{Aspcms:windowad} pop-up ads


Second, the common content call sign

============================== All pages can be called ============================
Home Content List Call tag (no paging)
{aspcms:content sort=2 num=4 order=order star=1}

[Content:title] Title

[Content:link] Links

[Content:i] Count

[Content:titlecolor] Title color

[Content:sortname] Category name

[Content:sortlink] Category links

[Content:date] Date

[Content:visits] Views

[Content:author] Author

[Content:source] Source

[Content:tag]tag Label

[Content:istop] pinned

[Content:isrecommend] Recommended

[Content:isimage] Photo News

[Content:isfeatured] Special recommendation

[Content:isheadline] Headlines

[Content:desc] Description

[Content:pic] 's photos
{/aspcms:content}
Sort Category ID
num Display Quantity
Order Sort Rule
Srar Stars (1,2,3,4,5)


Category name and link invocation
{Aspcms:type sort=8}
<a title= "[Type:name]" href= "[Type:link]" >[type:name]</A>
{/aspcms:type}

Home single page content call
{aspcms:about sort=8 len=150}

[About:info len=80]

[About:title]

[About:link]
{/aspcms:about}

{aspcms:template src=left.html} secondary template


============================== single page callable ============================
Default Template about.html
Single page Call label

[About:title] headings are set when you add a category

[About:keyword] keywords are set when adding a category

[About:desc] describes setting when adding a category

[About:info] Detailed content is set when adding a category



{Aspcms:sortname} category name

{Aspcms:parentsortid} parent category ID

{Aspcms:sortid} Category ID

{Aspcms:topsortid} top-level category ID

Current position
Home {aspcms:position} >>[position:link]{/aspcms:position}
Home >> Press releases >> company news

Content pagination is inserted into content when editing content
{Aspcms:page}

============================== List page can call ============================
List page Call label
{Aspcms:sorttitle} title
Set when adding a category
{Aspcms:sortkeyword} keywords
Set when adding a category
{Aspcms:sortdesc} description
Set when adding a category
{aspcms:list size=10 Order=id}

[List:link] Links

[List:i] Count

[List:titlecolor] Title color

[List:sortname] Category name

[List:sortlink] Category links

[List:date] Date

[List:visits] Views

[List:author] Author

[List:source] Source

[List:tag]tag Label

[List:istop] pinned

[List:isrecommend] Recommended

[List:isimage] Photo News

[List:isfeatured] Special recommendation

[List:isheadline] Headlines

[List:pic] 's photos
{/aspcms:list}

[List:pagenumber len=5] Paging bar call label

Current position
Home {aspcms:position} >>[position:link]{/aspcms:position}
Home >> Press releases >> company news

============================== verbose call to ============================
Detail Page Call label

[Content:title] Title

[Content:keyword] keywords can be set when adding content

[Content:desc] Description
When you add content, you can set the

[Content:link] Links

[Content:i] Count

[Content:titlecolor] Title color

[Content:sortname] Category name

[Content:sortlink] Category links

[Content:date] Date

[Content:visits] Views

[Content:author] Author

[Content:source] Source

[Content:istop] pinned

[Content:isrecommend] Recommended

[Content:isimage] Photo News

[Content:isfeatured] Special recommendation

[Content:isheadline] Headlines

[Content:pic] 's photos

[Content:pics] Multi-image

[Content:tag]tag Label

[Content:linktag] tagged tag with link

{Aspcms:comment} comment tags

Content pagination is inserted into content when editing content
{Aspcms:page}

Previous post: {Aspcms:prev}
Next article: {Aspcms:next}

Current position
Home {aspcms:position} >>[position:link]{/aspcms:position}
Home >> Press releases >> company news

Comment function call {aspcms:comment}


Third, if label use


1, meet the conditions of the display

{if: Conditional statement}

Show content

{End If}



2, satisfies the condition to display the content 1, otherwise displays the content 2

{if: Conditional statement}

displaying content 1

{Else}

displaying content 2

{End If}



Instance:

1. Add different styles to meet the criteria

{Aspcms:content}

<a {if:[content:i]=1} style= "..." {End If} link= "[Content:link]" >[content:title]</a>


{/aspcms:content}

Iv. Statistical labels

Today {Visits:today}

Yesterday {Visits:yesterday}

This month {Visits:month}

All {Visits:all}

Five, friendship links

Call text link
{Aspcms:linklist Type=font}
<li><a href= "[Linklist:link]" target= "_blank" >[linklist:name]</a></LI>
{/aspcms:linklist}



Call Picture Link
{Aspcms:linklist Type=pic}
<li><a href= "[Linklist:link]" target= "_blank" ></a></li>
{/aspcms:linklist}



Type=all or remove the Type property call all Links




Vi. tag Tag content invocation (as with content invocation, only one tag attribute is required)

Tag-related content calls

{aspcms:content sort=2 num=4 order=order tag=aspcms,asp,php star=1}

[Content:title] Title

[Content:link] Links

[Content:i] Count

[Content:titlecolor] Title color

[Content:sortname] Category name

[Content:sortlink] Category links

[Content:date] Date

[Content:visits] Views

[Content:author] Author

[Content:source] Source

[Content:tag]tag Label

[Content:istop] pinned

[Content:isrecommend] Recommended

[Content:isimage] Photo News

[Content:isfeatured] Special recommendation

[Content:isheadline] Headlines

[Content:desc] Description

[Content:pic] 's photos

{/aspcms:content}


Label related Content List page call

{aspcms:list size=10 Order=id}

[List:link] Links

[List:i] Count

[List:titlecolor] Title color

[List:sortname] Category name

[List:sortlink] Category links

[List:date] Date

[List:visits] Views

[List:author] Author

[List:source] Source

[List:tag]tag Label

[List:istop] pinned

[List:isrecommend] Recommended

[List:isimage] Photo News

[List:isfeatured] Special recommendation

[List:isheadline] Headlines

[List:pic] 's photos

{/aspcms:list}



[List:pagenumber len=5] Paging bar call label



Tag List invocation

{aspcms:taglist size=50 order=visits}

[Taglist:link] [Taglist:title]

{/aspcms:taglist}



[Taglist:pagenumber len=5] Paging bar call label
Order Optional Value Visits,time,id



Vii. description
1.0 and 2.0 label differences
Change the original new,down,product,pic tag to a content label
Change the original Newlist,downlist,productlist,piclist label to a list label

Type
Type of column
1
Single article
2
Article List
3
Product List
4
Download list
5
Recruitment list
6
Album List
7
Link

Aspcms Label Daquan

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.