Changing language breaks layout.

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
Kimberly
Posts: 11
Joined: Wed Feb 08, 2006 10:24 pm

Changing language breaks layout.

Post by Kimberly »

First of all, I am new to using CSS for layout. I managed to learn enough CSS to layout phpMyFAQ to the way I wanted. It is the same in both IE and FireFox. However, when I change the language from English, it breaks the layout in both IE and FireFox in the same way. Switching back to English, the layout reverts back to the layout I want.

Can anyone provide me with guidance on where to look for the error? Will this be a problem in a template file, one of the scripts, or with my CSS?

Thanks,
Kimberly.
Thorsten
Posts: 15834
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

I never heard that problem. Can you show me your FAQ?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Kimberly
Posts: 11
Joined: Wed Feb 08, 2006 10:24 pm

I think it is something that I did

Post by Kimberly »

The site is: http://www.genderpsych.com/gender_questions/

The site has been laid out, but has not been prettied up yet, so ignore the strange colours and spacing.

I have made changes in the CSS, and I made changes in the ask.tpl. I am sure it is not in phpMyFAQ itself. I am wondering where to look to fix the problem that I am sure that I caused.

Thanks for any help.

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

Post by Thorsten »

Hi,

there's no change in layout. You only get no entries when you do not use the english language.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Kimberly
Posts: 11
Joined: Wed Feb 08, 2006 10:24 pm

That is interesting because it changes with me.

Post by Kimberly »

That is interesting, because on my computer it changes the layout. The content section moves from being below the top ten and recent, to being beside, to the right, of the topten and recent. It should not do this from just changing the language. I will start by looking at the CSS to see if something is there that could cause this. At least it breaks the same way in both IE and FireFox.

I am really disappointed in the users of this forum. I have posted several questions and the only answers I get are from Thorsten. Thorsten, if the members of this fourm are not interested in helping others, only in being leechers, then I think you should shut this forum down. I am a newbie to this program and as such, I don't know enough to help anyone, but I did reply to another member's question. Forums are about sharing of information and helping.

I am sure that someone else besides Thorsten could have help me to know where to start searching. I will waste more time by looking in the wrong places for the problem. Howver, I will solve the problem with enough time.

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

Post by Thorsten »

Hi Kimberly,

the layout changes because if you select a language with no entries everything is empty. I think you mean that.

If you only need one language, you should delete all other language files in the folder lang/

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Kimberly
Posts: 11
Joined: Wed Feb 08, 2006 10:24 pm

OK, I figured out the CSS

Post by Kimberly »

OK, I figured out the CSS. I think part of my problem was trying to save the old style sheets. I should have just threw them away and started from new.

I now have the site the way I want it to be as far as layout. You can now change the language and the layout stays the same. One thing that I found that helped me to see what was happening was to use different colours for the divisions.

You can see for yourself at http://www.genderpsych.com/gender_questions

Now that I have the layout established, I need to make it pretty.

Thanks so much for all your help.
Post Reply