RoxenCMS 17Web Developer ManualEmit Tags

   

<emit>
<emit ac-identities>
<emit ac-identity-data>
<emit ac-identity-extras>
<emit ac-permissions>
<emit ac-zones>
<emit atlas>
<emit authors>
<emit captcha>
<emit category>
<emit category-document>
<emit cimg>
<emit dir>
<emit dir>(SB)
<emit event>
<emit event-dates>
<emit event-locations>
<emit exec>
<emit fonts>
<emit imgs>
<emit js-dynamic-popup>
<emit js-hide-popup>
<emit languages>
<emit ldap>
<emit path>
<emit poll>
<emit sb-dir>
<emit sb-file-languages>
<emit sb-languages>
<emit sb-log>
<emit sb-referring-pages>
<emit sb-search>
<emit sb-stationeries>
<emit sb-transport-dirs>
<emit sb-wizard>
<emit search-database-profiles>
<emit scopes>
<emit shortlinks>
<emit site-news>
<emit sources>
<emit spellcheck>
<emit sql>
<emit timerange>
<emit values>
<emit workflow>
<emit ws-dir>
<emit xml-db>

<emit source="sb-search"></emit>

Provided by module: CMS: Tags

This plugin makes it possible to list all files matching a specified content-type or to locate a file by matching a specified string. The plugin uses the sitebuilder search "Smartsearch" to locate the files. The "Smartsearch" engine traverses each directory from the present location and upwards to the root. See the <emit dir>(SB) plugin for available entities.

Note!

All <emit> attributes apply.


Attributes

content-type="content-type"

Find files matching this content-type. If supplied, the file attribute is ignored.

<form> <select name="template"> <emit source="sb-search" content-type="sitebuilder/xsl-template"> <if variable="_.selectable == yes"> <option value="&_.filename;">&_.title;</option> </if> </emit> </select> </form>

file="filename"

Find files matching this filename. Will be ignored if content-type is provided.

<emit source="sb-search" file="common.xsl"> The file '&_.filename;' is located at &_.path;. </emit>

location="path"

Find files from this location. If not provided the search starts at the current page's location.