- Posts: 45
- Thank you received: 0
Error on initial page
-
wvq
Inactive member -
Topic Author
- Member
-
Less
More
13 years 4 weeks ago #17041
by wvq
Replied by wvq on topic Re: Error on initial page
Hi Ivan,
The problem with the site after updating to Joomla 2.5.4 is solved. You can now login to administrator.
Thanks
The problem with the site after updating to Joomla 2.5.4 is solved. You can now login to administrator.
Thanks
Please Log in to join the conversation.
-
milos
Support Staff -
- Moderator
-
Less
More
- Posts: 6810
- Thank you received: 724
13 years 3 weeks ago #17050
by milos
Replied by milos on topic Re: Error on initial page
Since your site is multilanguage, this code in file /templates/hot_cosmetics/index.php
must be changed with this code
p.s. I did that for you on your site.
Code:
$ishome=false;
$menu = JSite::getMenu();
if ($menu->getActive() == $menu->getDefault()) {
$ishome=true;
}
must be changed with this code
Code:
$app = JFactory::getApplication();
$menu = $app->getMenu();
if ($menu->getActive() == $menu->getDefault( 'en-GB' )) {
$ishome=true;
}
elseif ($menu->getActive() == $menu->getDefault( 'es-ES' )) {
$ishome=true;
}
p.s. I did that for you on your site.
Please Log in to join the conversation.
Time to create page: 0.080 seconds