How to Add Field in FAQ Item

Moderator: crythias

Locked
mfileto
Znuny newbie
Posts: 7
Joined: 16 May 2013, 15:54
Znuny Version: 3.2.6
Real Name: Mauro Fileto
Company: NetCaster

How to Add Field in FAQ Item

Post by mfileto »

I would like to receive instructions in how to add a new field in the FAQ item.
I already created the field "type_item" in the database under table "faq_item" but I do not know how to get the field to display the information from the database while viewing the article, and also do not know how to insert the field information into the Database (already placed it in the DTL file and it is showing fine.

Thanks,

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

Re: How to Add Field in FAQ Item

Post by jojo »

this requires development
"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
mfileto
Znuny newbie
Posts: 7
Joined: 16 May 2013, 15:54
Znuny Version: 3.2.6
Real Name: Mauro Fileto
Company: NetCaster

Re: How to Add Field in FAQ Item

Post by mfileto »

Hi,

I understand it requires development... and by the way, thanks for your prompt response.

However, I would like to receive some direction or instruction on the structure of the variables declaration in order to MAP it and display the information (perhaps, INSERT or UPDATE as well, this would be consequence).

I could identify the main module FAQ.pm, the intermediate module I would like to change CUSTOMERFAQZOOM.pm and the interface .DTL... where I already placed the drop down box. But I do not understand how to connect a variable to the database of the system. Could you provide me a quick overview/schematics of the relationship connecting Database - Variables?

thanks a bunch !
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: How to Add Field in FAQ Item

Post by jojo »

read the the Code in Modules and the Templates to understand the code.

You should have some experience on Webapplications and Perl to develop the needed changes
"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