/[drupal]/contributions/modules/bookreview/INSTALL
ViewVC logotype

Contents of /contributions/modules/bookreview/INSTALL

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.6 - (show annotations) (download)
Wed Jun 28 12:16:23 2006 UTC (3 years, 4 months ago) by jeremy
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +8 -14 lines
Sync INSTALL file with 4.7 version.
1 The following are instructions on how to install and configure the
2 bookreview.module with Drupal 4.7:
3
4 INSTALLATION:
5
6 Step 1)
7 Copy the 'bookreview.module', 'bookreview.install' and 'bookreview.css' files
8 into a bookreview/ subdirectory within your modules/ directory. Be sure all
9 files are readable by your webserver project (they should have the same
10 ownership and permissions as other files in your modules/ directory.)
11
12 Step 2)
13 Enable the bookreview module. This will automatically create all necessary
14 database tables.
15
16 Go to "administer >> configuration >> modules" and put a checkmark in
17 the 'status' column next to 'bookreview'.
18
19 Step 3)
20 Optionally configure a special book review filter type.
21
22 Go to "administer >> input formats" and fill out "Add new input format" then
23 click "Add input format". On the next page, it is suggested you enable only
24 "HTML filter". It is not suggested that you enable the "Line break converter",
25 as this can break the default formatting.
26
27 Step 4)
28 Optionally enable and configure the 'Book review store link' block to
29 automatically provide a link to a remote store such as Amazon.com.
30
31 Got to "administer >> blocks" and enable the "Book review store link" block.
32 Click 'configure' from that list, and add the appropriate HTML snippet, as
33 provided by the store you are working with. Obtain a snippet that includes
34 a link by ISBN, then replace the actual ISBN with the text "%ISBN" (without
35 the quotes). For example, to link to Amazon you might paste in:
36
37 <iframe src="http://rcm.amazon.com/e/cm?t=kerneltrap-20&o=1&p=8&l=as1&asins=%ISBN&fc1=000000&=1&lc1=0000ff&bc1=000000&lt1=_blank&IS2=1&f=ifr&bg1=ffffff&f=ifr" width="120" height="240" scrolling="no" marginwidth="0" marginheight="0" frameborder="0">
38 </iframe>
39
40 (Note that the above example contains 'kerneltrap-20' as the associate ID.
41 You must replace this with your own associate ID, or you will not get any
42 credit for people buying books from your site. It is much better to obtain an
43 HTML snippet directly from Amazon or whatever store you are using, rather than
44 using the above example.)

  ViewVC Help
Powered by ViewVC 1.1.2