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.
How to Add Field in FAQ Item
Moderator: crythias
Re: How to Add Field in FAQ Item
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
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
-
- 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
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 !
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 !
Re: How to Add Field in FAQ Item
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
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
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com