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 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 861 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
Getting the menu run around!!!
#3
Yes i have I18N menu on my site for this purpose just do not know how to get this special page sidebar to always show the parent of the parent when i'm in level 3.

Here is what i have so far that works fine for level 2 but not 3 as it shows level 2 as the parent.

Code:
<h3><?php getPageField(get_parent(false),title); ?></h3>
    <?php get_i18n_navigation(return_page_slug(), 2, 2, I18N_SHOW_Menu); ?>
    <br />
    <a href="<?php get_parent(); ?>"><< <?php getPageField(get_parent(false),title); ?></a>
    <br />

I want the sidebar to look like this when i'm viewing level 3 page

Level 2 page name

Level 3 item link
Level 3 item link
Level 3 item link

Level 1 link back

Can you tell me how to accomplish that with the I18N plugin?
Keeping it simple means making progress!!
Reply


Messages In This Thread
Getting the menu run around!!! - by xrmarcis - 2012-10-03, 03:42:50
Getting the menu run around!!! - by yurifanboy - 2012-10-04, 06:27:28
Getting the menu run around!!! - by xrmarcis - 2012-10-04, 13:34:48



Users browsing this thread: 2 Guest(s)