Configuraton

English! place to talk about development, programming and coding
Post Reply
seberget2
Znuny newbie
Posts: 74
Joined: 17 May 2013, 09:30
Znuny Version: 6.0.30
Real Name: Stein Erik Berget

Configuraton

Post by seberget2 »

I'm trying to create a Hash of Arrays in configuration. Which works great. However when I try to add it in SysConfig
SysConfig.png
it is done like you see it in the screen shot.

Is there a way around this? I would like be able to add new items as I go along without editing the XML files directly...
You do not have the required permissions to view the files attached to this post.
OTRS 6.0.12 on Ubuntu with MySQL DB, and various plug-ins and a hack or two :-D
RStraub
Znuny guru
Posts: 2210
Joined: 13 Mar 2014, 09:16
Znuny Version: 6.0.14
Real Name: Rolf Straub

Re: Configuraton

Post by RStraub »

I don't think you can do that. Just tried to use the syntax of ZZZAuto.pm to add an array inline, but it got quoted.

So if you want an additional Hash-of-arrays, you'd have to add that through the .xml.
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
seberget2
Znuny newbie
Posts: 74
Joined: 17 May 2013, 09:30
Znuny Version: 6.0.30
Real Name: Stein Erik Berget

Re: Configuration

Post by seberget2 »

Or add a bunch of dummy ones that can be changed... Or do it by code possibly?
OTRS 6.0.12 on Ubuntu with MySQL DB, and various plug-ins and a hack or two :-D
RStraub
Znuny guru
Posts: 2210
Joined: 13 Mar 2014, 09:16
Znuny Version: 6.0.14
Real Name: Rolf Straub

Re: Configuraton

Post by RStraub »

Meaning a dynamically altered .xml file? Wouldn't recommend that, makes migration and maintainability of your customization harder.

If you know you're going to use 5 items, then add another 3-5 as empty dummys, yes.
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
Post Reply