Language auto detection and admin footer

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
chocoholic
Posts: 14
Joined: Fri May 02, 2014 12:48 pm

Language auto detection and admin footer

Post by chocoholic » Wed May 28, 2014 1:27 pm

Hi Thorsten, i have two questions for you.

1) From where i can hide the language bar? I did it at front but it remains in the admin panel and i want to hide it from there too.

2) Is there any way to skip auto language detection even if the box that activates the language auto detection at admin panel is ticked? I use the latest version of your software.

Thanks in advanced

chocoholic
Posts: 14
Joined: Fri May 02, 2014 12:48 pm

Re: Language auto detection and admin footer

Post by chocoholic » Thu May 29, 2014 2:09 am

Also if you can tell me how i can make rss feed icons invisible in categories and faqs pages.

Thanks
You do not have the required permissions to view the files attached to this post.

amitm
Posts: 27
Joined: Sat Feb 15, 2014 8:51 am

Re: Language auto detection and admin footer

Post by amitm » Thu May 29, 2014 6:38 am

hi,
can i ask please how did you hide the lang bar?
BR
Amit

Thorsten
Posts: 14754
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Language auto detection and admin footer

Post by Thorsten » Thu May 29, 2014 9:29 am

Hi,

the admin selection in the admin section is in admin/footer.php, remove these lines:

https://github.com/thorsten/phpMyFAQ/bl ... php#L38-42

To avoid the automatic langugae detection even if it's activated, remove these lines:

https://github.com/thorsten/phpMyFAQ/bl ... p#L160-163

To remove the feed icons, remove the following lines:

https://github.com/thorsten/phpMyFAQ/bl ... p#L664-671

and replace them with

Code: Select all

$num_entries = '';
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist

Post Reply