[SOLVED] FAQ internal approval

Moderator: crythias

Locked
epferreira
Znuny newbie
Posts: 24
Joined: 23 Jun 2016, 15:49
Znuny Version: 4.0.1

[SOLVED] FAQ internal approval

Post by epferreira »

Hello

I know that the FAQ approval is only supposed to work, by hidding the article when it's not approved - on the customer interface. This feature doesn't work internally. That means all FAQ articles are displayed at the agent interface for all the agents that belong to the FAQ group despite the FAQ article approval status. At least that's what I found in viewtopic.php?t=16647. Please correct me if this is erroneous information.

AS a workaround for this behaviour, I would like to add a column on the FAQ explorer view that would display the approval status of the FAQ article. I've tried to do this by adding a field with Key "Approved" and Content "1" on FAQ::Frontend::AgentFAQExplorer###ShowColumns. This configuration had no effect in adding the column on the FAQ Articles list.

I checked the code on Kernel/Modules/AgentFAQExplorer.pm file, around line 269, I couldn't find out why the configuration has no effect.

Any ideas on how to accomplish this? Or is there any alternative suggestion on how to identify or hide non approved FAQ in the internal view?

Thank you
Last edited by epferreira on 03 Mar 2017, 21:05, edited 2 times in total.
epferreira
Znuny newbie
Posts: 24
Joined: 23 Jun 2016, 15:49
Znuny Version: 4.0.1

Re: FAQ internal approval

Post by epferreira »

Solved it by editing AgentFAQOverviewSmall.tt
Locked