Bug in phpMyFAQ???

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
hws
Posts: 5
Joined: Thu Apr 02, 2009 3:40 pm

Bug in phpMyFAQ???

Post by hws »

i have one problem with phpMyFAQ that was downloaded from Instrallion. When i add questions and answers probably about 20, if i either refresh or access the main FAQ page for customers, the page auto brings me to the centre of the page (i mean a few scrolls down the page) instead of at the top of the page as it should be.

This a bug?
Thorsten
Posts: 15815
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Bug in phpMyFAQ???

Post by Thorsten »

Hi,

where did you download it from? Which version do you use? Does it happen with all browsers?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
hws
Posts: 5
Joined: Thu Apr 02, 2009 3:40 pm

Re: Bug in phpMyFAQ???

Post by hws »

Version 2.0.12 downloaded via cpanel Installatron Script Installer. It's a problem on all web browsers. I PM you the web address.
Thorsten
Posts: 15815
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Bug in phpMyFAQ???

Post by Thorsten »

Hi,

okay, I found the reason. Please edit the file template/index.tpl and look for

Code: Select all

<body dir="{dir}" onload="javascript:focusOnSearchField();">
and change it to

Code: Select all

<body dir="{dir}">
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
hws
Posts: 5
Joined: Thu Apr 02, 2009 3:40 pm

Re: Bug in phpMyFAQ???

Post by hws »

Thank you very much......Am i allowed to change the template look and add my colours and logo? Where can i do this? Looked inside the code and seems a bit complicated.

Also, can i change the powered by?
Thorsten
Posts: 15815
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Bug in phpMyFAQ???

Post by Thorsten »

Hi,

sure you can. You can do almost everything you want with phpMyFAQ. It's free and open source.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
hws
Posts: 5
Joined: Thu Apr 02, 2009 3:40 pm

Re: Bug in phpMyFAQ???

Post by hws »

Thank you.

May i ask what are:

1) Activate mod_rewrite support? (default: disabled) Active?

2) Do you want to enable LDAP support? (default: disabled) Active?

in the configuration of the admin side and how do they work?

3) What is the login for? users can just use the faq without logging in.

4) Also, how do i use a form to add a user name and password autoumatically without me doing it myself.
Thorsten
Posts: 15815
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Bug in phpMyFAQ???

Post by Thorsten »

Hi,
1) Activate mod_rewrite support? (default: disabled) Active?
with enabled mod_rewrite you'll get support for nicer URLs
2) Do you want to enable LDAP support? (default: disabled) Active?
If you have LDAP you can get the username and e-mail address out of your LDAP directory. Normally this is only useful for bigger companies.
3) What is the login for? users can just use the faq without logging in.
Correct, but you can restrict user access if you like.
4) Also, how do i use a form to add a user name and password autoumatically without me doing it myself.
This is possible with phpMyFAQ 2.5.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
hws
Posts: 5
Joined: Thu Apr 02, 2009 3:40 pm

Re: Bug in phpMyFAQ???

Post by hws »

with enabled mod_rewrite you'll get support for nicer URLs
What do you mean by this? nicer urls? for what exactly.....
Thorsten
Posts: 15815
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Bug in phpMyFAQ???

Post by Thorsten »

Hi,
hws wrote:
with enabled mod_rewrite you'll get support for nicer URLs
What do you mean by this? nicer urls? for what exactly.....
just take a look at our FAQ:

http://faq.phpmyfaq.de/content/1/9/en/a ... ework.html

With these URLs you'll get higher results in Google because they are search engine optimized.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply