X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=trunk%2FNP_CustomURL%2Fcustomurl%2Fdefault_help.html;fp=trunk%2FNP_CustomURL%2Fcustomurl%2Fdefault_help.html;h=0000000000000000000000000000000000000000;hb=a9a2b2bad3cc3e5390f940793ba9a36525fbeb0e;hp=e5e494a3005d6d32b79db0abc5364bcb16cdbe8d;hpb=fbae69de82086ca1d93fed0b3b65d19768126bc1;p=nucleus-jp%2Fnucleus-plugins.git diff --git a/trunk/NP_CustomURL/customurl/default_help.html b/trunk/NP_CustomURL/customurl/default_help.html deleted file mode 100644 index e5e494a..0000000 --- a/trunk/NP_CustomURL/customurl/default_help.html +++ /dev/null @@ -1,170 +0,0 @@ -

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

- -