
Hello otrs, I made a new faq_state (using PhpMyAdmin): "Public::Bugs" and I had set type_id=3, so it should be public I am able to access all those KB articles that are "Public::Bugs" but only if I am an operator. If I choose http://server/myotrs/faq.pl I can not reach them. Is there any other things that I have to set in order to make them public ? Regards, Daniel

On Monday, March 15, 2004 10:35 AM
Daniel Balan
I made a new faq_state (using PhpMyAdmin): "Public::Bugs" and I had set type_id=3, so it should be public I am able to access all those KB articles that are "Public::Bugs" but only if I am an operator. If I choose http://server/myotrs/faq.pl I can not reach them. Is there any other things that I have to set in order to make them public ?
faq.pl only shows the FAQs with states that are _named_ 'public (all)' - you'd have to tweak the source code to let your new state become active. Why not delete that state and use the existing 'public (all)'? hth, Robert Kehl -- ((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg http://www.otrs.de/ :: Tel. +49 (0)6172 4832388

Hello Robert,
Yes I need to tweak the code .... but what do I have to change?
I can not use only "Public (all)" because I need something like:
"Public::Bug", "Public::Feature request", "Public::Info" and so on.
10x
Daniel
Monday, March 15, 2004, 12:36:17 PM, you wrote:
Robert> On Monday, March 15, 2004 10:35 AM
Robert> Daniel Balan
I made a new faq_state (using PhpMyAdmin): "Public::Bugs" and I had set type_id=3, so it should be public I am able to access all those KB articles that are "Public::Bugs" but only if I am an operator. If I choose http://server/myotrs/faq.pl I can not reach them. Is there any other things that I have to set in order to make them public ?
Robert> faq.pl only shows the FAQs with states that are _named_ 'public (all)' - Robert> you'd have to tweak the source code to let your new state become active. Robert> Why not delete that state and use the existing 'public (all)'? Robert> hth, Robert> Robert Kehl Robert> -- Robert> ((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg Robert> http://www.otrs.de/ :: Tel. +49 (0)6172 4832388 Robert> _______________________________________________ Robert> OTRS mailing list: otrs - Webpage: http://otrs.org/ Robert> Archive: http://lists.otrs.org/pipermail/otrs Robert> To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs Robert> Support oder Consulting für Ihr OTRS System? =>> http://www.otrs.de/

On Monday, March 15, 2004 12:14 PM
Daniel Balan
Yes I need to tweak the code .... but what do I have to change? I can not use only "Public (all)" because I need something like: "Public::Bug", "Public::Feature request", "Public::Info" and so on.
If categories are not an option, I believe it's line 128 in bin/cgi-bin/faq.pl: print $GenericObject->Run(States => ['public (all)']); Change it to: print $GenericObject->Run(States => ['public (all)','Public::Bug', 'Public::Feature request', 'Public::Info']); But watch out - this behaviour of faq.pl is subject to change during releases without notice. I believe one day we will use the type IDs. You might get around this behaviour by creating a new 'public.pl': cp faq.pl public.pl This way you may upgrade to a newer code base without mocking your changes each time. hth, Robert Kehl -- ((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg http://www.otrs.de/ :: Tel. +49 (0)6172 4832388
participants (2)
-
Daniel Balan
-
Robert Kehl