Is there any way to Change the Outlook of Biblio Form

Feels free to drop any suggestions of what should be put in to the next release of SLiMS.

Moderators: wynerst, buitenzorg812, purwoko, sutriadi, ido, Dicarve, ridorido

Post Reply
Annu
Posts: 36
Joined: 12 Oct 2012, 14:38
Location: Islamabad
Contact:

Is there any way to Change the Outlook of Biblio Form

Post by Annu » 29 Mar 2013, 11:26

Is there any way to Change the Outlook of Add New Biblio Form. I want to arrange two text fields or Select boxes or any form element in one row. Please do reply admins as it took alot of time to have some response.

Help required in this regard.

User avatar
buitenzorg812
Posts: 830
Joined: 20 Sep 2011, 14:18
Location: Jakarta, Indonesia
Contact:

Re: Is there any way to Change the Outlook of Biblio Form

Post by buitenzorg812 » 29 Mar 2013, 22:32

you can modify index.php file located in admin/modules/bibliography. find the row and part of the scripts you'd like to change.

Annu
Posts: 36
Joined: 12 Oct 2012, 14:38
Location: Islamabad
Contact:

Re: Is there any way to Change the Outlook of Biblio Form

Post by Annu » 02 Apr 2013, 17:09

Dear I need to Show two from elements in one row rather than one in one row of table.

I found this in
simbio_form_table_AJAX.inc.php & simbio_form_table.inc.php
and I believe I need to change this rather than in index.php of bibliography module. So help required in this regard

Code: Select all

       // loop the form element
        $_row_num = 0;
        foreach ($this->elements as $row) {
           $_form_element = $row['element']->out();
           if ($_form_element_info = trim($row['info'])) {
               $_form_element .= '<div class="formElementInfo">'.$_form_element_info.'</div>';
           }
           // append row
           $_table->appendTableRow(array($row['label'], ':', $_form_element));
           // set the column header attr
           $_table->setCellAttr($_row_num+1, 0, 'width="20%" valign="top"'.$this->table_header_attr);
           $_table->setCellAttr($_row_num+1, 1, 'width="1%" valign="top"'.$this->table_header_attr);
           // set the form element column attr
           $_table->setCellAttr($_row_num+1, 2, 'width="79%" '.$this->table_content_attr);
           $_row_num++;
        }

Annu
Posts: 36
Joined: 12 Oct 2012, 14:38
Location: Islamabad
Contact:

Re: Is there any way to Change the Outlook of Biblio Form

Post by Annu » 18 Apr 2013, 11:43

Thanks jushadi for your help in this regard

Post Reply