From 3b7425aefb77641468a2183e83481e644b4eb9d6 Mon Sep 17 00:00:00 2001 From: Kjartan Mannes Date: Sat, 20 Oct 2001 20:58:59 +0000 Subject: - added a new configuration option that lets you set various index.php variables. Example: set site_frontpage to "node" and site_frontpage_extra to "$meta = 'news'" and only nodes with that meta tag will be displayed on your main page. This requires some internal knowledge of how the various modules work and what settings can be passed to _page() functions. --- index.php | 1 + 1 file changed, 1 insertion(+) (limited to 'index.php') diff --git a/index.php b/index.php index e2c810b38..ff7a1e3a1 100644 --- a/index.php +++ b/index.php @@ -5,6 +5,7 @@ include_once "includes/common.inc"; page_header(); +eval(variable_get("site_frontpage_extra", "") .";"); $function = variable_get("site_frontpage", "node") ."_page"; $function(); -- cgit v1.2.3