- Posts: 8
- Thank you received: 0
ot_photographer error on Multiple languages. / help me
- varit veekaew
-
Topic Author
- Offline
- Fresh Boarder
-
Less
More
11 years 11 months ago - 11 years 11 months ago #4741
by varit veekaew
templates : ot_photographer
Joomla 2.5
www.bettabook.com
error -> www.bettabook.com/solve/layout.jpg
i sand config , password to duongthetrung@gmail.com
I have a problem.
I want to make a website in 2 languages (Thai & English).
But there are issues. When the Main menu, press the 2 languages will not go home-layout ,But it go to inside layout.
I think need to fix that Mod_menu & templates.
I can not solve this problem. Please help me.
Best Regards,
varitv
Joomla 2.5
www.bettabook.com
error -> www.bettabook.com/solve/layout.jpg
i sand config , password to duongthetrung@gmail.com
I have a problem.
I want to make a website in 2 languages (Thai & English).
But there are issues. When the Main menu, press the 2 languages will not go home-layout ,But it go to inside layout.
I think need to fix that Mod_menu & templates.
I can not solve this problem. Please help me.
Best Regards,
varitv
Last edit: 11 years 11 months ago by varit veekaew.
Please Log in or Create an account to join the conversation.
- varit veekaew
-
Topic Author
- Offline
- Fresh Boarder
-
Less
More
- Posts: 8
- Thank you received: 0
11 years 11 months ago - 11 years 11 months ago #4746
by varit veekaew
Replied by varit veekaew on topic Re: ot_photographer error on Multiple languages. / help me
OK ! I found the problem.
\templates\ot_photographer\lib\layout\tpl.function.php
Line number 65
before
//Check Home Page
$menu =& JSite::getMenu();
$menuActive = $menu->getActive();
if($menuActive == $menu->getDefault()){
$home = 'isHomePage';
}else{
$home = 'isInnerPages';
}
//$layoutView = &JRequest::getVar( 'layoutview' ) == $this->params->get('layoutType');
new edit
//Check Home Page
$menu =& JSite::getMenu();
$menuActive = $menu->getActive();
if($menuActive == $menu->getDefault()){
$home = 'isHomePage';
}else{
$home = 'isInnerPages';
}
$menu =& JSite::getMenu(); // Load the menu
$active = $menu->getActive(); // Get the current active menu
if ($active->home ==1) { // See if this is the homepage
$home = 'isHomePage';
} else {
$home = 'isInnerPages';
}
//$layoutView = &JRequest::getVar( 'layoutview' ) == $this->params->get('layoutType');
End edit
OK ! It WORK
Best Regards,
varitv
\templates\ot_photographer\lib\layout\tpl.function.php
Line number 65
before
//Check Home Page
$menu =& JSite::getMenu();
$menuActive = $menu->getActive();
if($menuActive == $menu->getDefault()){
$home = 'isHomePage';
}else{
$home = 'isInnerPages';
}
//$layoutView = &JRequest::getVar( 'layoutview' ) == $this->params->get('layoutType');
new edit
//Check Home Page
$menu =& JSite::getMenu();
$menuActive = $menu->getActive();
if($menuActive == $menu->getDefault()){
$home = 'isHomePage';
}else{
$home = 'isInnerPages';
}
$menu =& JSite::getMenu(); // Load the menu
$active = $menu->getActive(); // Get the current active menu
if ($active->home ==1) { // See if this is the homepage
$home = 'isHomePage';
} else {
$home = 'isInnerPages';
}
//$layoutView = &JRequest::getVar( 'layoutview' ) == $this->params->get('layoutType');
End edit
OK ! It WORK
Best Regards,
varitv
Last edit: 11 years 11 months ago by varit veekaew.
Please Log in or Create an account to join the conversation.
Time to create page: 0.182 seconds