- Posts: 1
- Thank you received: 0
Problems with posisjon
-
redaktore
Inactive member - Topic Author
- New Member
Less
More
12 years 4 months ago #20860
by redaktore
Problems with posisjon was created by redaktore
First; i am not very good in programming, and english is my second language.
My problem is. The site www.risorfk.no did function perfect for six months. Then suddenly only days ago the content ment for posisjon left and right dropped down under the main content. Anyone who know why and what i should do to fix it?
Best regard
Tore
My problem is. The site www.risorfk.no did function perfect for six months. Then suddenly only days ago the content ment for posisjon left and right dropped down under the main content. Anyone who know why and what i should do to fix it?
Best regard
Tore
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
12 years 4 months ago #20872
by ivan.milic
Replied by ivan.milic on topic Problems with posisjon
Did you updated joomla, because you are fourth that reports that in last 3 days,
use this fix until we get into it:
open index.php of template find this:
if($columnLayout=="mlr") {
require(dirname(__FILE__).DS.'inc'.DS.'col_main.php');
require(dirname(__FILE__).DS.'inc'.DS.'col_left.php');
require(dirname(__FILE__).DS.'inc'.DS.'col_right.php');
} else if($columnLayout=="lrm") {
require(dirname(__FILE__).DS.'inc'.DS.'col_left.php');
require(dirname(__FILE__).DS.'inc'.DS.'col_right.php');
require(dirname(__FILE__).DS.'inc'.DS.'col_main.php');
} else {
require(dirname(__FILE__).DS.'inc'.DS.'col_left.php');
require(dirname(__FILE__).DS.'inc'.DS.'col_main.php');
require(dirname(__FILE__).DS.'inc'.DS.'col_right.php');
}
modify it like this:
if($columnLayout=="mlr") {
require(dirname(__FILE__).DS.'inc'.DS.'col_main.php');
echo '</div>';
require(dirname(__FILE__).DS.'inc'.DS.'col_left.php');
require(dirname(__FILE__).DS.'inc'.DS.'col_right.php');
} else if($columnLayout=="lrm") {
require(dirname(__FILE__).DS.'inc'.DS.'col_left.php');
require(dirname(__FILE__).DS.'inc'.DS.'col_right.php');
require(dirname(__FILE__).DS.'inc'.DS.'col_main.php');
echo '</div>';
} else {
require(dirname(__FILE__).DS.'inc'.DS.'col_left.php');
require(dirname(__FILE__).DS.'inc'.DS.'col_main.php');
echo '</div>';
require(dirname(__FILE__).DS.'inc'.DS.'col_right.php');
}
btw. reason for this behavior is that blog text article excerpt leaves un-closed div tags.
use this fix until we get into it:
open index.php of template find this:
if($columnLayout=="mlr") {
require(dirname(__FILE__).DS.'inc'.DS.'col_main.php');
require(dirname(__FILE__).DS.'inc'.DS.'col_left.php');
require(dirname(__FILE__).DS.'inc'.DS.'col_right.php');
} else if($columnLayout=="lrm") {
require(dirname(__FILE__).DS.'inc'.DS.'col_left.php');
require(dirname(__FILE__).DS.'inc'.DS.'col_right.php');
require(dirname(__FILE__).DS.'inc'.DS.'col_main.php');
} else {
require(dirname(__FILE__).DS.'inc'.DS.'col_left.php');
require(dirname(__FILE__).DS.'inc'.DS.'col_main.php');
require(dirname(__FILE__).DS.'inc'.DS.'col_right.php');
}
modify it like this:
if($columnLayout=="mlr") {
require(dirname(__FILE__).DS.'inc'.DS.'col_main.php');
echo '</div>';
require(dirname(__FILE__).DS.'inc'.DS.'col_left.php');
require(dirname(__FILE__).DS.'inc'.DS.'col_right.php');
} else if($columnLayout=="lrm") {
require(dirname(__FILE__).DS.'inc'.DS.'col_left.php');
require(dirname(__FILE__).DS.'inc'.DS.'col_right.php');
require(dirname(__FILE__).DS.'inc'.DS.'col_main.php');
echo '</div>';
} else {
require(dirname(__FILE__).DS.'inc'.DS.'col_left.php');
require(dirname(__FILE__).DS.'inc'.DS.'col_main.php');
echo '</div>';
require(dirname(__FILE__).DS.'inc'.DS.'col_right.php');
}
btw. reason for this behavior is that blog text article excerpt leaves un-closed div tags.
Please Log in to join the conversation.
Time to create page: 0.141 seconds