
Robert Kehl wrote:
On Sunday, June 06, 2004 9:08 AM Jesse
wrote: Robert Kehl wrote:
On Sunday, June 06, 2004 8:34 AM Jesse
wrote: How do I delete languages in the FAQ section? I only want the english one?
You cannot delete them. Set them to "invalid". Before you ask: you cannot delete users and queues, too. ;)
I don't see where to set the languages to invalid. is this in the FAQ area? thanks for all your help ;)
Ouch. Blame... well, the sunday at last. ;) You cannot set an FAQ language to invalid. Sorry.
Here's how it goes:
Create your own theme to be safe from overwriting during upgrades. See the docs for help with it.
Execute this: # cd /opt/otrs/Kernel/Output/HTML/MyTheme # fgrep -r "LanguageOption" . ./CustomerFAQSearch.dtl: <td valign="top" class="table1">$Data{"LanguageOption"}</td> ./FAQArticleForm.dtl: <td class="table1"> $Data{"LanguageOption"} </td> ./FAQLanguageForm.dtl: $Data{"LanguageOption"} ./FAQSearch.dtl: <td valign="top" class="table1">$Data{"LanguageOption"}</td>
Edit all files despite FAQLanguageForm.dtl and exchange each occurence of $Data{"LanguageOption"} with <input type="hidden" name="LanguageIDs" value="1"> You may have to edit the surrounding HTML to reflect the fact that the Language Search Box is now eliminated.
At last, edit FAQNavigationBar.dtl and delete or -even better- simply comment this: $Data{"FAQLanguageLink"}
hth,
Robert Kehl
-- ((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg http://www.otrs.de/ :: Tel. +49 (0)6172 4832388
_______________________________________________ OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs Support oder Consulting für Ihr OTRS System? => http://www.otrs.de/
thanks, it worked great. I ended up just deleting the entire LanguageOption entries. Is there anything wrong with doing it that way? will that have repercusions down the road? thanks marshall Now onto Customizing the Frontend