Hi guys,
XOOPS Version: 2.5.7.1
Module Name/Version: NEWBB 4.33 RC7 (from irmtfan)
PHP Version: 5.5.9
MySQL Version: 5.5.41
Web Server Software (Apache/IIS/Other): Apache2
Operating System: Ubuntu 14.04.1 LTS Server
Theme you are using: xbootstrap-1.03
Custom template: (Yes/No), Not sure what is this…
I found an issue with newbb not displaying correctly in certain occasion and I can’t figure out what’s wrong. I am also not sure where is the problem so probably I posted in the wrong forum category. I have configured forum block to be displayed @ home page but the forum table doesn’t want to align correctly by default. See below
Image 1Now, when I logging it become better by using all space provided. See below
Image2As soon as I hit the refresh button we are back to square one with ugly table.
By comparing the code from the two different scenarios I found one difference between the two files. When the forum is displayed correctly I can see the following
<link rel="stylesheet" href="http://helilocal/xoops/language/english/style.css" type="text/css" />
<link rel="stylesheet" href="http://helilocal/xoops/modules/newbb/templates/css/language/english/style.css" type="text/css" />
<link rel="stylesheet" href="http://helilocal/xoops/xoops.css" type="text/css" />
But when it’s not displaying correctly I can see the following
<link rel="stylesheet" href="http://helilocal/xoops/language/english/style.css" type="text/css" />
<link rel="stylesheet" href="http://helilocal/xoops/modules/newbb/templates/css/language/english/style.css" type="text/css" />
That is to say that the line “
“ is missing.
Those CSS references seems to be from “<{$xoops_module_header}>” in the folowing file "/var/www/html/xoops/themes/xbootstrap/theme.html" (line 40).
Now I have fixed the problem by adding hardcoding “
” just below “<{$xoops_module_header}>” but I don’t really understand what is going on.
I am not good enough to figure out why “<{$xoops_module_header}>” would return sometime 3 lines or 2 lines. Seems like this is a CSS related issue where some property are overrided by the “/xoops/xoops.css" CSS file.
Any one came across this issue and managed to fix it? What else can I do to try to understand this? I don’t really like my fix and would like to find a cleaner solution for this issue.
Fabou