From 1336b9e8ed9cc3f9b9b9c4427f1e0f8bccc96f7d Mon Sep 17 00:00:00 2001 From: dave Date: Mon, 8 Mar 2010 15:51:52 +0000 Subject: Site pages will eventually replace the external pages and custom index plugins as well as introduce a new keywords system to enable dynamic content to be displayed without needing to know php or Elgg. This will be handy for frontpage layout/design. git-svn-id: http://code.elgg.org/elgg/trunk@5303 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/sitepages/frontpage.php | 70 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 mod/sitepages/frontpage.php (limited to 'mod/sitepages/frontpage.php') diff --git a/mod/sitepages/frontpage.php b/mod/sitepages/frontpage.php new file mode 100644 index 000000000..4f5d02a90 --- /dev/null +++ b/mod/sitepages/frontpage.php @@ -0,0 +1,70 @@ + 'object', 'subtype' => 'frontpage', 'limit' => 1)); +if($page_contents){ + foreach($page_contents as $pc){ + $css = ""; + $frontContents = $pc->description; + } +} + +// Set title +$title = $CONFIG->sitename; + +?> + + + + + + + <?php echo $title; ?> + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file -- cgit v1.2.3