Skip to content

Instantly share code, notes, and snippets.

@ahmedeshaan
Created January 9, 2015 06:33
Show Gist options
  • Save ahmedeshaan/0770b908a0d2ff950656 to your computer and use it in GitHub Desktop.
Save ahmedeshaan/0770b908a0d2ff950656 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
Items view form file
-->
<form
type="browse"
show_header="1"
show_filters="1"
show_pagination="1"
norows_placeholder="COM_GALLERY_COMMON_NORECORDS"
>
<headerset>
<header name="gallery_item_id" type="rowselect" tdwidth="20" />
<header name="ordering" type="ordering" sortable="true" tdwidth="1%" />
<header name="title" type="fieldsearchable" sortable="true"
buttons="no" buttonclass="btn"
/>
<!-- <header name="Category" type="fieldsql" tdwidth="20"
translate="false" query="SELECT * FROM #__gallery_categories ORDER BY ordering ASC"
key_field="gallery_category_id" value_field="title"
/> -->
<header name="image" type="fieldsearchable" sortable="true"
buttons="no" buttonclass="btn"
/>
<header name="enabled" type="published" sortable="true" tdwidth="8%" />
</headerset>
<fieldset name="items">
<field name="gallery_item_id" type="selectrow"/>
<field name="ordering" type="ordering" labelclass="order"/>
<field name="title" type="text"
show_link="true"
url="index.php?option=com_gallery&amp;view=item&amp;id=[ITEM:ID]"
/>d
<!-- <field name="gallery_category_id" type="sql"
translate="false" query="SELECT * FROM #__gallery_categories"
key_field="gallery_category_id" value_field="title"
show_link="true"
/> -->
<field name="image" type="media"/>
<field name="enabled" type="published"/>
</fieldset>
</form>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment