Menu

Editing User Portal

Paul
2011-07-20
2012-12-19
  • Paul

    Paul - 2011-07-20

    I have a couple of questions/requests for guidance.

    I would like to modify the user portal, specifically the page “Enter the description of your request:”.  How would I set this page up so I can do the following?

    Remove or add to the request types. ( I have figured this out.)
    Remove or lock a default impact selection and hide this option.
    When finished is clicked how can I make this request automatically be assigned to a user listed in the selected workgroup.

    I have looked through the forums and found some information/suggestions on how to hide elements I don’t want but the results are not what I want. I have also posted these questions in the forums but there has been no response. While my knowledge of PHP and mysql is limited, with some help I should be able to figure out what I need to do to accomplish these changes.

    Thank you for your time.

    Paul

     
  • Paul

    Paul - 2011-07-21

    ***UPDATE***

    ***Request Types***

    I have found that if I modify this line in the \modules\itop-request-mgmt-1.0.0\model.itop-request-mgmt.php file I can change the values in the combobox for request type.

    MetaModel::Init_AddAttribute(new AttributeEnum("request_type", array("allowed_values"=>new ValueSetEnum('service request,issue,information'), "sql"=>"request_type", "default_value"=>"service request", "is_null_allowed"=>false, "depends_on"=>array())));
    

    ***Impact***

    Moving on to modify the impact data I have found the default entered values in the itop-problem-mgmt.php file. I see the changes when viewing the dictionary using the toolkit, but the portal page still displays the values. I was expecting an error or a blank combo box since I commented out the lines.

    I have not tried to hide or set a default value. I have also not tried to automatically assign the ticket.

        'Class:Problem/Attribute:impact' => 'Impact',
        'Class:Problem/Attribute:impact+' => '',
        'Class:Problem/Attribute:impact/Value:1' => 'A Person',
        'Class:Problem/Attribute:impact/Value:1+' => '',
        'Class:Problem/Attribute:impact/Value:2' => 'A Service',
        'Class:Problem/Attribute:impact/Value:2+' => '',
        'Class:Problem/Attribute:impact/Value:3' => 'A Department',
        'Class:Problem/Attribute:impact/Value:3+' => '',
    

    Thank you for your time and help,

    Paul

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.