The following warnings occurred:
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
/printthread.php 203 postParser->parse_message
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
/printthread.php 203 postParser->parse_message
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
/printthread.php 203 postParser->parse_message
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
/printthread.php 203 postParser->parse_message
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
/printthread.php 203 postParser->parse_message



GetSimple Support Forum
help needed with dropdown menu - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: General Questions and Problems (http://get-simple.info/forums/forumdisplay.php?fid=16)
+--- Thread: help needed with dropdown menu (/showthread.php?tid=7949)



help needed with dropdown menu - Lucianp - 2016-02-11

I am trying to work on a dropdown menu. I have I18N activated. 


<?php get_i18n_navigation(return_page_slug(),0,3,I18N_SHOW_MENU); ?> 

Problem is, I get a jumble of titles scrunched together.
On looking at Developer Tools, I see the menu is in a single list. Should this not be nested or am I missing something.

I need to differentiate parent and child for styling. Is there somewhere within the PHP I can add a child class. Sorry, my PHP is non-existent so help is appreciated.

I want to do this CSS only, not JS or AJAX.

thanks


RE: help needed with dropdown menu - shawn_a - 2016-02-11

There is no css included in its output.
You need to style it yourself.

The parent and child classes should be in the output already, and it should work with existing menu css from templates, maybe wrap it in the same nav ? or copy those styles, its basically display:block


RE: help needed with dropdown menu - Lucianp - 2016-02-11

thanks Shawn, but I'm not seeing those parent/child classes which is why I was wondering if my PHP syntax was correct.


RE: help needed with dropdown menu - Raeven - 2016-02-27

<?php get_i18n_navigation(return_page_slug(), 0,3,I18N_SHOW_NORMAL); ?> will give you nested lists

http://mvlcek.bplaced.net/get-simple/multi-level-navigation/


RE: help needed with dropdown menu - Lucianp - 2016-03-01

Sorry, I should have posted sooner that the problem was resolved. It turned out the navigation structure was not configured correctly. To be quite honest, I could hardly differentiate the colors for gray and non gray. Perhaps a css tweak will make it clearer for me Smile