/[drupal]/contributions/modules/postcard/INSTALL.txt
ViewVC logotype

Contents of /contributions/modules/postcard/INSTALL.txt

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


Revision 1.11 - (show annotations) (download)
Sun Mar 11 16:37:54 2007 UTC (2 years, 8 months ago) by add1sun
Branch: MAIN
Changes since 1.10: +8 -5 lines
File MIME type: text/plain
putting the latest 5 work into HEAD
1 $Id: INSTALL.txt,v 1.9.2.1 2007/02/12 14:05:13 add1sun Exp $
2
3 The Image module must be installed and image and image_gallery enabled
4
5 1. Copy the whole postcard directory to sites/default/modules/ directory
6
7 2. Enable module in admin/build/modules
8
9 3. You can
10 configure settings at admin/settings/postcard
11 set permissions at admin/user/access
12 enable the menu item at admin/build/menu
13
14 Point your browser to http://example.com/?q=postcard and you will see the gallery
15 of postcards as set on the settings page.
16
17 For site designers:
18
19 Visual appearance may be customized with the site theme. The module offers two
20 themeable functions: theme_postcard_gallery() and theme_postcard_image().
21 - theme_postcard_gallery() is taken from theme_image_gallery. This allows you
22 to theme postcard galleries differently form your normal image galleries.
23 - theme_postcard_image() will let you theme the individual postcard. Here you
24 change the image size used in the postcards.
25
26 To theme either of these, simply copy the entire function and copy it into
27 your theme's template.php file (create it if it doesn't exist) and change
28 'theme' to 'yourmodulename' (e.g. garland_postcard_gallery()). You can then
29 edit the function however you like.
30
31 For more information on theme overrides refer to http://drupal.org/node/55126.

  ViewVC Help
Powered by ViewVC 1.1.2