The Smarty variables of xoops

Source: Internet
Author: User
Tags foreach keyword list

Below is the official xoops smarty variable, please check and update here to change or increase when Xoops 2 changes the variable.

Theme Variable Theme variable

<{$xoops _meta_keywords}><{$xoops _meta_keywords}>

Insert a keyword list from the Meta/footer setting to insert a keyword list from the Meta/footer setting

(Meta tag information) (Meta tag information)

<{$xoops _meta_descrīption}><{$xoops _meta_descrīption}>

Insert the description of the site to the META tag insert the description of the site to the META tag

<{$meta _copyright}><{$meta _copyright}>

Insert the copyright text into the META tag insert the copyright text to the META tag

<{$meta _robots}><{$meta _robots}>

Insert the robot information to META tags insert w3crobot information to META tags

<{$meta _rating}><{$meta _rating}>

Insert level information to META tags insert level information to META tags

<{$xoops _sitename}><{$xoops _sitename}>

Insert Site name Insert site name

<{$xoops _pagetitle}><{$xoops _pagetitle}>

Insert title of page Insert title of page

<{$xoops _themecss}><{$xoops _themecss}>

Insert Style.css Insert Style.css

(Note: Any combination of the above variables is used to insert your favorite information to meta tags) Note

Any combination of these variables is used to insert your favorite information to meta tags.

<{$xoops _url}><{$xoops _url}>

Insert URL of site into URL of site

<{$xoops _js}><{$xoops _js}>

Insert Xoops javascrīpt code insert XOOPSJAVASCRĪPT Code

<{$xoops _banner}><{$xoops _banner}>

Display Banners bar Display banners bar

<{foreach item=block from= $xoops _lblocks}><{foreachitem=blockfrom= $xoops _lblocks}>

<{$block}><{$block}>

<{/foreach}><{/foreach}>

Show code snippets for left blocks (block) showing code snippet for left block

<{if $xoops _showcblock = = 1}><{if$xoops_showcblock==1}>

System tests used to display intermediate blocks for system tests that display intermediate blocks

<{foreach item=block from= $xoops _ccblocks}><{foreachitem=blockfrom= $xoops _ccblocks}>

<{$block}><{$block}>

<{/foreach}><{/foreach}>

The code snippet showing the middle block shows the code snippet for the middle block

<{foreach item=block from= $xoops _clblocks}><{foreachitem=blockfrom= $xoops _clblocks}>

<{$block}><{$block}>

<{/foreach}><{/foreach}>

Show Middle block-left code snippet showing middle block-left code snippet

<{foreach item=block from= $xoops _crblocks}><{foreachitem=blockfrom= $xoops _crblocks}>

<{$block}><{$block}>

<{/foreach}><{/foreach}>

Show intermediate blocks-right snippet code snippet to shows the Center-right

Blocks show middle block-right code snippet Codesnippettoshowthecenter-rightblocks

<{$xoops _contents}><{$xoops _contents}>

Show news and other content show news and other content

<{if $xoops _showcblock = = 1}><{if$xoops_showcblock==1}>

Test showing intermediate blocks for test display in intermediate blocks

<{if $xoops _showrblock = = 1}><{if$xoops_showrblock==1}>

Show Test on right block to show right block

<{foreach item=block from= $xoops _rblocks}><{foreachitem=blockfrom= $xoops _rblocks}>

<{$block}><{$block}>

<{/foreach}><{/foreach}>

Show the code snippet for the right block shows the code snippet for the right block

<{$xoops _footer}><{$xoops _footer}>

Show footer (footer) show footer (footer)

<{$xoops _isadmin}><{$xoops _isadmin}>

True if the visitor is an administrator; True if the visitor is an administrator

<{$xoops _isuser}><{$xoops _isuser}>

True if the visitor is a registered user; True if the visitor is a registered user

<{$xoops _userid}><{$xoops _userid}>

User ID of the user ID member of the Member

<{$xoops _uname}><{$xoops _uname}>

User name of member's user name

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.