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
Blog in menu
#3
A way to do what you asked for, by patching GS:

- First create a new page. In this example, its slug should be 'blog'. Check 'Add to menu'
- Edit admin/inc/basic.php
- In line 295, insert:

Code:
if ($slug == 'blog') $url = 'http://blog.1sthope.org.uk';

Dynamically generated menus like the one included with GS or other like Zegnat's Multilevel would display this custom link.

Important note: This is for GetSimple 2.01 -- not valid for 2.0 or older versions (which didn't use the patched find_url() function)
Reply


Messages In This Thread
Blog in menu - by richardhall - 2010-04-22, 07:40:52
Blog in menu - by richardhall - 2010-04-22, 22:50:50
Blog in menu - by Carlos - 2010-04-23, 03:30:29
Blog in menu - by richardhall - 2010-04-23, 08:26:28
Blog in menu - by phillphorrari - 2010-06-04, 23:09:39
Blog in menu - by Carlos - 2010-06-05, 00:13:51
Blog in menu - by phillphorrari - 2010-06-05, 00:32:41
Blog in menu - by Carlos - 2010-06-05, 00:36:48
Blog in menu - by phillphorrari - 2010-06-05, 01:57:49
Blog in menu - by Carlos - 2010-06-05, 02:22:24
Blog in menu - by Carlos - 2010-06-05, 15:55:21



Users browsing this thread: 1 Guest(s)