FUEL CMS Forum
Discussions
Activity
Home
›
Development
›
Modules
Sign In
·
Register
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Register
Categories
Recent Discussions
Activity
Categories
3.3K
All Categories
255
FUEL CMS News
112
News & Announcements
101
Share
273
Support
115
Bug Reports
90
Installation
242
Development
68
Feature Requests
117
Modules
CRITICAL SECURITY VERSION UPDATE:
https://github.com/daylightstudio/FUEL-CMS/releases/tag/1.4.13
Simple module list_items
conord
March 2012
edited March 2012
in
Modules
Is it possible to customize the columns displayed in the admin list_items table? Seems like it's either all or just the one provided in the $col parameter. I'd like to be able to display a list columns that I provide to the custom list_items table.
Comments
conord
March 2012
edited 1:46AM
Found the answer. I didn't have my columns in an array in side the $this->db->select(). So the answer, for future searchers, is:
$this->db->select(array('id','col1','col2'...));
$data = parent::list_items($limit,$offset,$col,$order);
return $data;
Sign In
or
Register
to comment.
Forum Software Powered by Vanilla
Comments
$this->db->select(array('id','col1','col2'...));
$data = parent::list_items($limit,$offset,$col,$order);
return $data;