by
KK » Sat Feb 21, 2015 1:42 pm
Hi,
The docs page on DataBound Form (
http://www.couchcms.com/docs/concepts/d ... forms.html) has a link at the very bottom - 'Download source code'.
Extract the contents of the zip and you'll find the 'code/couchified/snippets/' folder within it contain two sample custom-admin snippets -
default_edit.html
default_list.html
You wish to customize only the listing page, so use the second one.
Place it in the snippets folder of your Couch installation and then add the following to addons/kfunctions.php file (change 'your-template.php' to your template's name) -
- Code: Select all
$FUNCS->register_admin_listview( 'your-template.php', 'default_list.html' );
The particular template specified above should now use the snippet 'default_list.html' to show its listing. You can now customize the snippet to suit your need.
Hope it helps.