
24 Jul
2005
24 Jul
'05
1:38 a.m.
Hi all,
here's what I want to do, I think it should be a couple of lines of
trivial code but I don't know how I should do it in OTRS' PERL.
1. When a user hits customer.pl?company=Foo%20Bar I want to store Foo%
20Bar in thier session
2. Then I want to set
$Self->{CustomerPanelOwnSelection} = {
'[Company_stored_in_session]::Support' -> 'Support',
'[Company_stored_in_session]::Billing' -> 'Billing',
'[Company_stored_in_session]::Enquiries' -> 'Enquiries',
'[Company_stored_in_session]::Sales' -> 'Sales',
}
(I think I can put that in Config.pm, or does it have to go in
Config/Files/Ticket.pm?)
so simple, but I havn't a clue how to do it in perl :)
Thanks in advance you helpful perl gods.
--
James Sleeman