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)