[racktables-users] Re: Change columns viewed on Objects page

  • From: Michał Sochoń <kaszpir@xxxxxxxxx>
  • To: racktables-users@xxxxxxxxxxxxx
  • Date: Mon, 3 Mar 2014 08:09:00 +0100

I did that recently - added serial number column to the Object list view.
Check out wwwroot/inc/interface.php in function renderDepot()

I've added
$values = @getAttrValues($obj['id']);
and for example serial number for already well defined objects like server
is as @$values[1]['value']; // OEM S/N 1




On Mon, Mar 3, 2014 at 12:03 AM, Ragsdale, Justin <ragsdalej@xxxxxxx> wrote:

>  I would like to change two of the cols on the Objects/depot page and not
> sure how to do this. I see that this page is created with the interface.php
> page but not sure where or what in the code to change.
>
>  One of the new cols that i want added is an attribute, Function, that we
> added with an id of 10004
> The other would be object type.
>
>  Any help would be great.
>
>  Justin Ragsdale * Director of Network Operations * Division of
> Technology Services * Wentworth Institute of Technology * 550 Huntington
> Ave, Boston MA 02115 * *Lync/Voice* 617-989-4584 * Fax 617-989-4502 *
> *E-Mail/IM* ragsdalej@xxxxxxx * www.wit.edu/dts * blogs.wit.edu/dts *
> Follow us on Twitter @ DTSatWIT <http://twitter.com/DTSatWIT>
>
> P
>
> *Think before you print *CONFIDENTIALITY: This e-mail (including any
> attachments) may contain confidential, proprietary and privileged
> information, and unauthorized disclosure or use is prohibited. If you
> received this e-mail in error, please notify the sender and delete this
> e-mail from your system.
>



-- 
Michal Sochoń
alias _KaszpiR_ kaszpir@xxxxxxxxx
IRC: _KaszpiR_ @ freenode.net

Other related posts: