From c5fcdd31946dcd7359a67f105a1b9e359bbaea22 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 25 Feb 2002 20:26:38 +0000 Subject: - Included the documentation contributed by Moshe. --- modules/page/page.module | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'modules/page/page.module') diff --git a/modules/page/page.module b/modules/page/page.module index 20cdcc2c7..00cf5b0af 100644 --- a/modules/page/page.module +++ b/modules/page/page.module @@ -1,6 +1,12 @@ The page module is used to create a site page. Unlike a story, a site page is a persistent web page on your site which usually shortcuts the typical lifecycle of user generated content (i.e. submit -> moderate -> post -> comment). A site page is usually linked from the main navigation bar, using whatever text the author wishes. To create a site page without this navigation link, simply skip the form field which requests link text. Administrators are the exclusive authors of site pages (i.e. requires the adinister nodes in permission).

"; + $output .= "

Site pages, unlike many other forms of Drupal content, may be made of PHP code in addition to HTML and text. All Drupal objects and functions are available to the Site Page author.

"; + return $output; +} + function page_node($field) { $info["name"] = t("site page"); $info["description"] = t("If you just want to add a page with a link in the menu to your site, this would be the best choice. Unlike a story, a site page by-passes the submission queue."); -- cgit v1.2.3