docs.roxen.com
main | demo | docs
download | community | pike
2000 Roxen Internet Software
Suggestions, Comments or Complaints
manuals@roxen.com

DocsRoxen2.0Web Site Creator ManualScopes & Entities


  • client
  • page
  • roxen
  • Page

    This scope contains information specific to this page.

    &page.selected;
    Whether this file is the current file or if this directory is a directory within the path to the current file. Only one entry will be selected.

    &page.virtfile;
    Path to this file in the virtual filesystem.

    &page.pathinfo;
    The "path info" part of the URL, if any. Can only get set if the "Path info support" module is installed. For details see the documentation for that module.

    &page.filesize;
    This file's size, in bytes.

    &page.url;
    The URL to this file, from the web server's root or point of view.

    &page.query;
    The query part of the page URI.

    &page.self;
    The name of this file.

    &page.ssl-strength;
    The strength in bits of the current SSL connection.

    &page.virtroot;
    The root of the present virtual filesystem.

    &page.realfile;
    Path to this file in the file system.

    &page.language;
    What language the contens of this file is written in. The language must be given as metadata to be found.

    &page.scope;
    The name of the current scope, i.e. the scope accessible through the name "_".

    &page.accessed;
    Generates an access counter that shows how many times the page has been accessed.

    &page.last-true;
    Is 1 if the last <if>-statement succeeded, otherwise 0. (<true/> and <false/> is considered as <if>-statements here)

    &page.type;
    Returns the file's content-type.

    &page.title;
    Returns the title of the file, set in the metadata.

    &page.status-img;
    Returns the full internal SiteBuilder URL to the page's current status image. The status image tells if the page has been modified etc. from the viewer's point of view. This is the same status icon as used by the Content Editor.

    &page.filename;
    Returns the filename.

    &page.description;
    Returns the description of the file, set in the metadata.

    &page.workarea-id;
    Returns the unique id of the workarea. Useful when doing web applications.

    &page.content-editor;
    Returns the full internal SiteBuilder URL to the page in the Content Editor, focusing on the file.

    &page.workarea;
    Returns the name of the workarea where the viewed page is stored.

    &page.type-img;
    Returns the internal SiteBuilder URI to where the file's content-type image is stored.

    &page.permission;
    Returns the string "read" or "write" depending on whether the viewer has permission to write in the file or not.

    &page.keywords;
    Returns the keywords of the file, set in the metadata.

    &page.template;
    Returns the current page's selected template.