IFrame Widget mehmals

Hilfe zu Znuny Problemen aller Art
Locked
chrish
Znuny newbie
Posts: 97
Joined: 24 Feb 2011, 14:51
Znuny Version: 4.0.5

IFrame Widget mehmals

Post by chrish »

Hi Leute,

besteht die Möglichkeit das IFrame Dashboard Widget mehrmals einzubinden, also das zweite dann entsprechend eigens konfigurierbar?
SuSE Linux Enterprise Server 11.3

OTRS 4.0.5
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: IFrame Widget mehmals

Post by jojo »

ja,

dazu kannst Du einfach in der Config.pm den entsprechenden Block einfügen:

Code: Select all

$Self->{'DashboardBackend'}->{'0301-IFrame'} =  {
  'Align' => 'left',
  'Block' => 'ContentLarge',
  'Default' => '1',
  'Description' => 'Some description!',
  'Frameborder' => '1',
  'Group' => '',
  'Height' => '800',
  'Link' => 'http://otrs.org/',
  'LinkTitle' => 'OTRS.org/',
  'Marginheight' => '5',
  'Marginwidth' => '5',
  'Module' => 'Kernel::Output::HTML::DashboardIFrame',
  'Scrolling' => 'auto',
  'Title' => 'A Website',
  'URL' => 'http://www.otrs.org/',
  'Width' => '1024'
};

Für jeden weiteren einfach die Nummer erhöhen (und natürlich den Rest anpassen)
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
Locked