Cyclone3 Skin

420-static view.lite.mdl

From Cyclone3 Wiki

Renders static content view.

Contents

Input parameters

ad

  • description: insert ad position inside the static content's body
  • format: 1/0
  • default: 0

abstract.ignore.img.1

  • description:
  • format: 1/0
  • default: 0

a501_image_file.ID_format

  • description: image format ID
  • format: image format ID
  • default: default thumbnail format ID, usually 3

a501_image_file.ID_format.1

  • description: first image format ID
  • format: image format ID
  • default: default thumbnail format ID, usually 3

a510_image_file.ID_format

  • description: video preview image format ID
  • format: image format ID
  • default: default thumbnail format ID, usually 3

a510_image_file.ID_format.1

  • description: first video preview image format ID
  • format: image format ID
  • default: default thumbnail format ID, usually 3

a501_image_file.ID_format.extra

  • description: extra image format ID, used ie. for javascript lightbox implementation
  • format: image format ID
  • default: default fullsize format ID, usually 2

static.status

  • description: non-separated list of status values
  • format: Y[ND]
  • default: Y

static.ID_category

  • description: ;-separated static category ID list, asterisk symbolizes recursion
  • format: ID[*][,ID[*]] ... [,ID[*]]
  • default:

static.ID

  • description: ;-separated static ID_entity list
  • format: ID[,ID] ... [,ID]
  • default:

static.ID_entity

  • description: ;-separated static ID_entity list
  • format: ID_entity[,ID_entity] ... [,ID_entity]
  • default:

body.ignore.img

  • description:
  • format: 1/0
  • default: 0

db_name

  • description: database name
  • format: domain_tld
  • default: domain's default database

gallery.thumbnail.ID_format

  • description: related gallery thumbnail format ID
  • format: image format ID
  • default: default thumbnail format ID, usually 3

ignore.img

  • description:
  • format: 1/0
  • default: 0

ignore.img.1

  • description:
  • format: 1/0
  • default: 0

sql_limit

  • description: count of items in list, with defined offset
  • format: pagecount[,pageoffset]
  • default: 1

sql_where

  • description: user-defined sql constraints
  • format: sql statement
  • default: 1

sql_order_by

  • description: world status values
  • format: sql statement
  • default: article_attrs.datetime_start DESC

Output templates

Default output

  • definition: TMP
  • description: mandatory.
  • example
<DEFINITION id="TMP">
 Static view:<br />

 <h1><%db_name%></h1>

 <%body%>

</DEFINITION>
Replaced gateways and variables
<%body%> Processed static body

a501.gallery.box

a501.gallery

a501_image[.nofullsize|.1]

  • description: output template for images.
    • fullsize is used for images, having a larger format. this template is used, when the action status of the image (changeable in XUL CMS editor by clicking a specific image and changing its action in the bottom toolbar) is set to auto or fullsize
    • nofullsize is used for images, which don't have a larger format available or their action is set to nofullsize

a501_video[.1]

a501_video_part[.1]

a420_keyword

link.a542_file

link.a401_article

a210_page

a030_youtube[.1]

og:video

Empty output

  • definition: TMP.empty
  • description: When used, replaces default output, when no static content with set up parameters can be fetched.
  • example
<DEFINITION id="TMP.empty">
 Static content view:<br />

 Sorry, can't display the specified static content.
</DEFINITION>

Examples and notes