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 1121 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 1121 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 830 postParser->parse_message
/showthread.php 1121 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 1121 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 830 postParser->parse_message
/showthread.php 1121 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 1121 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!!!
#1
Ok this is probably such a simple solution to this but i cannot seem to find it.

I want to get the second level menu page to have a link back to the parent and the third level page have a link back to the original parent. wow hard on the head but yet sounds so simple.

Level1
Level 2 with link to Level 1 - got this to work with get_parent()
Level 3 with link to Level 1 - Can't figure out how to get this working. get_parent() returns Level 2

Can anyone shed some light on this for me?

Thank you
Keeping it simple means making progress!!
Reply
#2
http://get-simple.info/wiki/permalinks
The URL structure of GetSimple contains two elements parent and slug, which allow for two level URLs like www.mysite.com/parent/slug but do not support a third level in the URL.

http://get-simple.info/extend/plugin/i18n/69/
I recommend the I18N plugin for hierarchical menus.

http://mvlcek.bplaced.net/get-simple/mul...avigation/
Here are detailed instructions on how to achieve your goal.
Todo arde si le aplicas la chispa adecuada.
Reply
#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




Users browsing this thread: 1 Guest(s)