Some summary of aspcms tag invocation

Source: Internet
Author: User

Application of the Menu
<ulclass="nav Navbar-nav">{aspcms:navlist} {if:[navlist:subcount]>0}<!--Determine if there is a subordinate directory--<liclass="dropdown"><a href="[Navlist:link]">[navlist:name] <spanclass="Caret"></span></a>      {Else}         <li><a href="[Navlist:link]">[navlist:name]</a>{Endif} {If1:[navlist:sortid]<>7}<!--Note The IF statement is nested--<ulclass="Dropdown-menu">{If2:[navlist:subcount]>0} {aspcms:1navlist type=[navlist:sortid]}<!--Two-level directory call 1navlist, three-level directory calls 2navlist--<li><a href="[1navlist:link]">[1navlist:name]</a></li>         {/Aspcms:1navlist} {End IF2}</ul>{End IF1}</li>    {/Aspcms:navlist}</ul>
When we use tag classification, the call of the tag category
{Aspcms:list size= AOrder=order Tag={aspcms:sorttitle} sort=3}<!--Sort is a large class id--> <a href="[List:link]"title="[List:title]"> class="product_img"Src="[List:pic]"alt="[List:title]"Width="85%"> </a> <a href="[List:link]"title="[List:title]">[list:title len= A]</a><!--len Title Length--{/aspcms:list}
Small categories and products on one page display
{aspcms:navlist type={aspcms:sortid}}<!--type= column ID--<div><a title="[Navlist:name]"href="[Navlist:link]">[navlist:name]</a></div> <div>{aspcms:content sort=[navlist:sortid] Num=2Order=order star=1}<!--num shows how many records--<a href="[Content:link]"title="[Content:title]">[content:title len= A]</a>       {/Aspcms:content} {if: [navlist:prototal]=0}<!--the number of products under the statistics section--This column has no product {endif}    </div>{/aspcms:navlist}

Some summary of aspcms tag invocation

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.