Hallo zusammen, On Do, Jan 17 2008, Fischer, Sandra wrote:
> wie kann ich den Button Firmen-Ticket aus der Navbar im customer.pl > ausblenden? Das Problem ist zwar mittlerweile erledigt, ich möchte die Lösung jedoch trotzdem fürs Archiv posten. Zum Entfernen des Links muß die Konfigurationseinstellung CustomerFrontend::Module###CustomerTicketOverView editiert und der CustomerCompany Teil entfernt werden. Zur Veranschaulichung hier einmal die originale Modulregistrierung aus der Defaults.pm, anschließend folgt der gleiche Code ohne den CompanyTicket Teil. Der zweite Abschnitt kann auch direkt in die Config.pm übernommen werden um den Link zu entfernen. ---------- original $Self->{'CustomerFrontend::Module'}->{'CustomerTicketOverView'} = { 'NavBar' => [ { 'Prio' => '110', 'Block' => '', 'Image' => 'ticket.png', 'NavBar' => '', 'Type' => '', 'AccessKey' => 'm', 'Description' => 'MyTickets', 'Name' => 'MyTickets', 'Link' => 'Action=CustomerTicketOverView&Type=MyTickets' }, { 'Prio' => '120', 'Block' => '', 'Image' => 'tickets.png', 'NavBar' => '', 'Type' => '', 'AccessKey' => 'c', 'Description' => 'CompanyTickets', 'Name' => 'CompanyTickets', 'Link' => 'Action=CustomerTicketOverView&Type=CompanyTickets' } ], 'NavBarName' => 'Ticket', 'Description' => 'Overview of customer tickets', 'Title' => 'Overview' }; ---------- ---------- Variante ohne Firmenticket-Link $Self->{'CustomerFrontend::Module'}->{'CustomerTicketOverView'} = { 'NavBar' => [ { 'Prio' => '110', 'Block' => '', 'Image' => 'ticket.png', 'NavBar' => '', 'Type' => '', 'AccessKey' => 'm', 'Description' => 'MyTickets', 'Name' => 'MyTickets', 'Link' => 'Action=CustomerTicketOverView&Type=MyTickets' }, ], 'NavBarName' => 'Ticket', 'Description' => 'Overview of customer tickets', 'Title' => 'Overview' }; ---------- Natürlich kann die Modifikation auch über Sysconfig durchgeführt werden, jedoch ist das imho wesentlich komplizierter zu beschreiben und darzustellen. Viele Grüße Henning -- Henning Oschwald ((otrs)) :: OTRS AG :: Norsk-Data-Straße 1 :: 61352 Bad Homburg Fon: +49 (0) 9421 56818 0 :: Fax: +49 (0) 9421 56818 18 http://www.otrs.com/ :: Communication with success! Geschäftssitz: Bad Homburg Amtsgericht Bad Homburg, HRB 10751 Steuernummer: 003 240 97505 Aufsichtsratsvorsitzender: Burchard Steinbild Vorstandsvorsitzender: André Mindermann
pgpml5TOSxCoi.pgp
Description: PGP signature
_______________________________________________ OTRS-de Mailingliste: otrs-de - Webpage: http://otrs.org/ Archiv: http://lists.otrs.org/pipermail/otrs-de/ Listenabo verwalten: http://lists.otrs.org/cgi-bin/listinfo/otrs-de/ Support oder Consulting fuer Ihr OTRS System? => http://www.otrs.com/