Hiding an attribute in http://localhost/WebIssue/client/issues/editissue.php

Submitted by meiji00 on 2013-01-08

I want to hide some attributes in http://localhost/WebIssue/client/issues/editissue.php

I've already successfully hidden some attributes when I'm adding an issue, i just made some modification on typemanager.inc.php

<?php
$query = 'SELECT attr_id, attr_name, attr_def FROM {attr_types} WHERE type_id = %d AND attr_id <> 25 ORDER BY attr_name COLLATE LOCALE';
?>

But where can I find this code in the editissue.php?

OR

I want to hide or remove the Edit Attributes Link and its Image.
Where can I find the html code of this?

Thanks in advanced.

To hide an attribute when editing an issue, modify getAllAttributeValuesForIssue in system/api/issuemanager.inc.php.

At the bottom of client/issuedetails.inc.php you can find the code which adds links to the toolbar.

Regards,
Michał