The following warnings occurred:
Warning [2] Undefined array key "threadviews_countguests" - Line: 745 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php 745 errorHandler->error_callback
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 916 build_postbit
Warning [2] Undefined property: MyLanguage::$thread_modes - Line: 46 - File: showthread.php(1650) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php(1650) : eval()'d code 46 errorHandler->error_callback
/showthread.php 1650 eval




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Main Menu (more than one language?)
#22
Thank you for your help. While trying to do what you suggested. There was a small outbreak of inspiration.
I am originally trained as an engineer.
So....

An engineers solution......


Create a Component called menu2
<ul>
<li>xxx </li>
<li>xxx </li>
<li>xxx </li>
</ul>

Create a second template called template2
In the 2nd template
Replace
<div id="menu">
<ul><?php get_navigation(return_page_slug()); ?></ul>
</div>

with

<div id="menu">
<ul><?php get_component('menu2'); ?></ul>
</div>


When writing the new page with the 2nd menu, use the 2nd template.
The solution works. But it probably not "correct".
Reply


Messages In This Thread
Main Menu (more than one language?) - by Carlos - 2010-03-26, 08:01:43
Main Menu (more than one language?) - by holesovice - 2010-03-27, 00:51:19



Users browsing this thread: 6 Guest(s)