default.xml 3.86 KB
<?xml version="1.0" encoding="utf-8"?>
<metadata>
	<layout title="COM_JMAP_SITEMAP_VIEW_DEFAULT_TITLE">
		<message><![CDATA[COM_JMAP_SITEMAP_VIEW_DEFAULT_MSG]]></message>
	</layout>
	<state>
		<name><![CDATA[COM_JMAP_SITEMAP_VIEW_DEFAULT_TITLE]]></name>
	</state>

	<!-- Add URL param with routing and route helper to the request variables for the dataset chosen -->
	<fields name="request">
		<fieldset name="datasource" label="COM_JMAP_DATASOURCE_PARAM" addfieldpath="/administrator/components/com_jmap/framework/html">
			<field name="dataset" type="Datasets" label="COM_JMAP_FILTERBY_DATASET" description="COM_JMAP_FILTERBY_DATASET_DESC"/>
		</fieldset>
	</fields>
	
	<!-- Add parameters for data source filters -->
	<fields name="params">
		<fieldset name="datasource" label="COM_JMAP_DATASOURCE_PARAM" addfieldpath="/administrator/components/com_jmap/framework/html">
			<field name="datasource_filter" type="DataSources" label="COM_JMAP_FILTERBY_DATASOURCE" description="COM_JMAP_FILTERBY_DATASOURCE_DESC"/>
		</fieldset>
	</fields>
	
	<!-- Add parameters for sitemap styles -->
	<fields name="params">
		<fieldset name="aspect" label="COM_JMAP_ASPECT_PARAM">
			<field name="sitemap_html_template" type="list" default="" label="COM_JMAP_HTML_TEMPLATE" description="COM_JMAP_HTML_TEMPLATE_DESC">
				<option value="">COM_JMAP_TMPL_DEFAULT</option>
				<option value="mindmap">COM_JMAP_TMPL_MINDMAP</option>   
				<option value="modern">COM_JMAP_TMPL_MODERN</option>
				<option value="gojs">COM_JMAP_TMPL_GOJS</option>
				<option value="dynamic">COM_JMAP_TMPL_DYNAMIC</option>
				<option value="led">COM_JMAP_TMPL_LED</option>             
				<option value="large">COM_JMAP_TMPL_LARGE</option>
				<option value="basic">COM_JMAP_TMPL_BASIC</option>
				<option value="silver">COM_JMAP_TMPL_SILVER</option>
				<option value="black">COM_JMAP_TMPL_BLACK</option>
				<option value="light">COM_JMAP_TMPL_LIGHT</option>
			</field>
			<field name="show_icons" type="radio" class="btn-group" default="" label="COM_JMAP_SHOW_ICONS_SHORT" description="COM_JMAP_SHOW_ICONS_DESC">
				<option value="">JGLOBAL_USE_GLOBAL</option>
				<option value="0">JNO</option>
				<option value="1">JYES</option>
			</field>
			<field name="show_expanded" type="radio" class="btn-group" default="" label="COM_JMAP_SHOW_EXPANDED" description="COM_JMAP_SHOW_EXPANDED_DESC">
				<option value="">JGLOBAL_USE_GLOBAL</option>
				<option value="0">JNO</option>
				<option value="1">JYES</option>
			</field>
			<field name="expand_location" type="radio" class="btn-group" default="" label="COM_JMAP_EXPAND_CURRENT_MENU_FOLDER_SHORT" description="COM_JMAP_EXPAND_CURRENT_MENU_FOLDER_DESC">
				<option value="">JGLOBAL_USE_GLOBAL</option>
				<option value="none">COM_JMAP_JMAPCOLLAPSE</option>
				<option value="location">COM_JMAP_JMAPEXPAND</option>
			</field>
			<field name="column_sitemap" type="radio" class="btn-group" default="" label="COM_JMAP_COLUMN_SITEMAP_SHORT" description="COM_JMAP_COLUMN_SITEMAP_DESC">
				<option value="">JGLOBAL_USE_GLOBAL</option>
				<option value="0">JNO</option>
				<option value="1">JYES</option>
			</field>
			<field name="column_maxnum" type="radio" class="btn-group" default="" label="COM_JMAP_COLUMN_SITEMAP_MAXNUM" description="COM_JMAP_COLUMN_SITEMAP_MAXNUM_DESC">
				<option value="">JGLOBAL_USE_GLOBAL</option>
				<option value="2">COM_JMAP_2_COLUMNS</option>
				<option value="3">COM_JMAP_3_COLUMNS</option>
				<option value="4">COM_JMAP_4_COLUMNS</option>
				<option value="5">COM_JMAP_5_COLUMNS</option>
				<option value="6">COM_JMAP_6_COLUMNS</option>
			</field>
			<field name="multilevel_categories" type="radio" class="btn-group" default="" label="COM_JMAP_MULTILEVEL_CATEGORIES_SHORT" description="COM_JMAP_MULTILEVEL_CATEGORIES_DESC">
				<option value="">JGLOBAL_USE_GLOBAL</option>
				<option value="0">JNO</option>
				<option value="1">JYES</option>
			</field>
		</fieldset>
	</fields>
</metadata>