Search found 7 matches
- 10 Dec 2016, 00:26
- Forum: Developers
- Topic: Run subroutine in new module will allways called 3 times
- Replies: 1
- Views: 2250
Re: Run subroutine in new module will allways called 3 times
I have saved the ${ $Param{Data} } now to a file during the sub run. There will be created 3 files, one with 7KB, one with 16KB and one with 35KB. So i have added a return if there is no {${ $Param{Data} } =~ m{(<div class="MainBox)} ) so the procedure will exit if there is not the full page de...
- 09 Dec 2016, 13:05
- Forum: Developers
- Topic: Run subroutine in new module will allways called 3 times
- Replies: 1
- Views: 2250
Run subroutine in new module will allways called 3 times
Hello, i have developed an OTRS addon which adds a additional textfield to ticketzoom to save additional data to a specific value in a dynamic field in an additional sql table. So far it works. The textfield will be added to ticket zoom. Now my question is, i have learned due log outputs in sub run(...
- 16 May 2015, 12:23
- Forum: Developers
- Topic: how to handle objectmanager
- Replies: 0
- Views: 13527
how to handle objectmanager
Some questions due handling of the object manager. Due migrating from an addon from OTRS 3.x.x. to 4.x.x framework i setup some stuff aka: package Kernel::Output.... use strict; use warnings; our @ObjectDependencies = ( 'Kernel::System::Web::Request', 'Kernel::Output::HTML::Layout', 'Kernel::Config'...
- 09 May 2015, 17:40
- Forum: Developers
- Topic: How to handle own cgi-bin files in addons?
- Replies: 2
- Views: 14212
Re: How to handle own cgi-bin files in addons?
The topic package build was not yet on my list, so i had assumed it would also somewhere in custom folder or so.
The file is included in my package now and all is working fine. Thank you.
The file is included in my package now and all is working fine. Thank you.
- 07 May 2015, 23:12
- Forum: Developers
- Topic: How to handle own cgi-bin files in addons?
- Replies: 2
- Views: 14212
How to handle own cgi-bin files in addons?
If i call my ajax request we land in the standard folder for cgi scripts. But how i get the file into this folder during installation time without manual copy?
- 03 May 2015, 21:04
- Forum: Developers
- Topic: use of a Perl variable in added HTML code show only the variable name
- Replies: 2
- Views: 14690
Re: use of a Perl variable in added HTML code show only the variable name
Ok, used instead the q notation the single quotes + "'.txt.'" and this works. Thank you.
- 03 May 2015, 19:02
- Forum: Developers
- Topic: use of a Perl variable in added HTML code show only the variable name
- Replies: 2
- Views: 14690
use of a Perl variable in added HTML code show only the variable name
I have added a textarea field to the sidebar with a output filter module. As long as good. Sadly i'm more experienced with c++ and js and so its a fight with Perl as beginner. my $txt = "test"; #add new textarea my $sbTextArea= q~ <textarea id="info" data-id = $txt ></textarea> ~...