From 135ba8a5f4e40dc56b8489458477c62be45cf46b Mon Sep 17 00:00:00 2001 From: shizuki Date: Tue, 3 Feb 2009 00:02:28 +0000 Subject: [PATCH] git-svn-id: https://svn.sourceforge.jp/svnroot/nucleus-jp/plugin@777 1ca29b6e-896d-4ea0-84a5-967f57386b96 --- NP_CustomURL/trunk/customurl/default_help.html | 170 +++++++++++++++++++++++++ 1 file changed, 170 insertions(+) create mode 100644 NP_CustomURL/trunk/customurl/default_help.html diff --git a/NP_CustomURL/trunk/customurl/default_help.html b/NP_CustomURL/trunk/customurl/default_help.html new file mode 100644 index 0000000..e5e494a --- /dev/null +++ b/NP_CustomURL/trunk/customurl/default_help.html @@ -0,0 +1,170 @@ +

Outline of plug-in

+ +
+ +It is a plug-in that replaces dynamic URL generated with NucleusCMS with static URL of a free name.
+Operation only in FancyURL mode and required 'mod-rewrite'.
+Categories, the Sub-Categories, Archive list, etc. are considered to be a directory respectively.When narrowing it by the category, it becomes an image that refers to the index file that exists in the directory of a category concerned.
+ +Member's detailed page and individual item page become images accessed a file concerned html file.
+ + +
+ +

Installation and operation beginning procedure

+ +
+ +
    +
  1. After up-loading the "NP_CustomURL.php" file and the "customurl" directory that can be done by developing the downloaded compression file to the "plugins" directory of the server.It installs it from the management area.
  2. +
  3. First of all, "URL mode" is changed to "Fancy" on "Global setting" page of the management screen.
  4. +
  5. "fancyurls.config.php" is copied to a top directory according to the procedure of FancyURLs and it edits it.
    At this time, copying it should not copy the following file with "fancyurls.config.php" file alone.
  6. +
  7. Next, "index.php" is edited."$CONF['Self']" and the line that is are rewritten as "$CONF['Self'] = '.'" and One line is written "$curl_blogid = 1;" and it adds. ("1" is ID of Brog accessed by "index.php".) +
    <?php
    +// This file will generate and return the main page of the site
    +$CONF = array();
    +$CONF['Self'] = '.';
    +$curl_blogid = 1;
    +
    +include('./config.php');
    +include('./fancyurls.config.php');
    +
    +selector();
    +
    +?>
    +
    +
  8. +
  9. Next, .htaccess is edited.
      +
    • The content is here.
      RewriteEngine on
      +RewriteCond %{REQUEST_FILENAME} !-f
      +RewriteCond %{REQUEST_FILENAME} !-d
      +RewriteRule ^(.*)$ index.php?curl=$1 [L,QSA]
      +
      +Even if nothing is written now by these four lines alone, it is safe.
  10. +
+It is preparation completion by this.
+
+Note:Please delete or save operation in another directory the file for FancyURLs with FancyURLs now.It is not necessary because everything has been received by this plug-in.
+
+ +

How to use.

+ +
+ + + +
+ +

Skin/Template variable

+ +
+It is possible to fill it in skin, the template, and in the article.
+Useage:<%CustomURL(link ahead, link text, title text)%>
+ +Filling in example: + +When only id is filled in like skin template article both "<%CustomURL(123)%>", URI to the item with the id is written.
+Moreover, passing set to the item with the id like item_123 can be written by writing "<%CustomURL(123/path)%>" only for the item.
+
+ +

Operation report and bug report

+ +

...following URL.. I hope the comment or the track back the operation report and bug report.
+ +http://shizuki.kinezumi.net/NucleusCMS/Plugins/NP_CustomURL/NP_CustomURL.html

+ +

Version history

+ + -- 2.11.0