Skip to content

Instantly share code, notes, and snippets.

@ahmedeshaan
Created January 21, 2015 10:17
Show Gist options
  • Save ahmedeshaan/ef0751b2f3da2e037274 to your computer and use it in GitHub Desktop.
Save ahmedeshaan/ef0751b2f3da2e037274 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<!--
@package gallery
@copyright Copyright (c)2013 Nicholas K. Dionysopoulos / AkeebaBackup.com
@license GNU General Public License version 2 or later
Category Signle view form file
-->
<form validate="true" serverside_validate="true">
<fieldset name="basic_information"
label="COM_GALLERY_CATEGORIES_GROUP_BASIC"
>
<!-- <field name="gallery_category_id" type="model"
label="COM_GALLERY_ITEMS_FIELD_GALLERY_CATEGORY_ID"
translate="false"
model="galleryModelCategories" apply_access="false"
key_field="gallery_category_id" value_field="title"
required="true"
/> -->
<field name="title" type="text" label="Title" description="" required="true" class="input-xlarge" />
<field name="slug" type="text" label="Alias" description="" class="input-xlarge" />
<field name="description" type="textarea" label="Description" description="" class="input-xlarge" />
<field name="image" type="media" label="Image" description="" />
<field name="access" type="list" default="public" label="Access Level" description="">
<option value="public">Public</option>
<option value="guest">Guest</option>
<option value="superuser">Super Users</option>
<option value="registered">Registered</option>
<option value="special">Special</option>
</field>
<field name="language" type="list" default="all" label="language" description="">
<option value="all">All</option>
<option value="english">English (UK)</option>
</field>
<field name="enabled" type="list" label="JSTATUS"
labelclass="todo-label"
description="JFIELD_PUBLISHED_DESC" class="inputbox"
filter="intval" size="1" default="1"
>
<option value="1">JPUBLISHED</option>
<option value="0">JUNPUBLISHED</option>
</field>
</fieldset>
<!-- <fieldset name="basic_information"
label="COM_GALLERY_ITEMS_GROUP_BASIC"
>
<field name="subject" type="text"
label="COM_GALLERY_ITEMS_FIELD_SUBJECT"
required="true" />
<field name="body" type="editor"
label="COM_gallery_ITEMS_FIELD_BODY"
filter="JComponentHelper::filterText" buttons="true"
required="true" />
</fieldset>
-->
</form>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment