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
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
About get_navigation - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: Feature Requests (http://get-simple.info/forums/forumdisplay.php?fid=7)
+--- Thread: About get_navigation (/showthread.php?tid=6545)



About get_navigation - Timbow - 2014-07-06

A small thing.

get_navigation returns menu items as a series of <li>s each on a new line. Would it be better just to get the <li>s all on one line?

The line ending in html can add some unexpected and unwanted spacing to some layouts.


RE: About get_navigation - shawn_a - 2014-07-06

Like what ? newlines should have no effect on layout unless your html is non compliant or doc type is wrong.


RE: About get_navigation - shawn_a - 2014-07-06

are you trying to use inline lists ?
use float: left instead with inline-block elements.


RE: About get_navigation - Nighteyes - 2014-07-10

use display:inline


RE: About get_navigation - cmb - 2014-07-12

(2014-07-06, 00:26:31)Timbow Wrote: The line ending in html can add some unexpected and unwanted spacing to some layouts.

If necessary, you can strip the unwanted line endings:
PHP Code:
preg_replace('/[\r\n]/'''get_navigation()) 



RE: About get_navigation - shawn_a - 2014-07-12

get_navigation does not return it echoes
you would have to wrap it in output buffering