WebsiteBaker Support (2.11.x) > General Help & Support

Help with menu?

<< < (2/2)

rumen:
I think I set that:


--- Code: ---<?php

/* -------------------------------------------------------- */
// Must include code to stop this file being accessed directly
if (!defined('SYSTEM_RUN')) {header($_SERVER['SERVER_PROTOCOL'].' 404 Not Found'); echo '404 File not found'; flush(); exit;}
/* -------------------------------------------------------- */
ob_start();  //fetch MainContent
page_content(1);
$page_contentMain = \ob_get_clean();
ob_start();  //fetch original header content
page_content(2);
$page_contentTeaser = \ob_get_clean();
ob_start();  //fetch original header content
page_content(3);
$page_contentSidebar = \ob_get_clean();
$sPageLang    = strtolower(isset($wb->page) || ($wb instanceof frontend) ? $wb->page['language'] : 'BG');
$iPageId = (defined('PAGE_ID') ? PAGE_ID : 0);

// TEMPLATE CODE STARTS BELOW
?>
--- End code ---

And that


--- Code: ---<?php
if (!function_exists('LangPadeId')) {function LangPadeId(){return $iPageId;}}
// to show flags in frontend
    $iMultiLang = 0;$sMultiLang = ''; if (function_exists('language_menu')){$sMultiLang = language_menu('png',false); $iMultiLang = intval(!empty($sMultiLang) ? 1 : 0);}
    if (function_exists('LangPadeId')&&$iMultiLang) {
?>
--- End code ---

rumen:
Solved! The problem was in a JS for a slider. It made a conflict somehow.

Thanks a lot for the help!!!

hgs:
Question: Is the site multilingual, or is there only the one language, as seen in the picture?

rumen:
It is multilingual BG / EN, but still didn't show the both languages on the screen, but they are setup inside

Navigation

[0] Message Index

[*] Previous page

Go to full version