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 »

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 »

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 »

hi,
can i ask please how did you hide the lang bar?
BR
Amit
Thorsten
Posts: 15561
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Language auto detection and admin footer

Post by Thorsten »

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