| 1 |
|
// $Id$ |
| 2 |
|
|
| 3 |
1. Installation |
1. Installation |
| 4 |
--------------- |
--------------- |
| 5 |
Copy the path_image.tar.gz file to your modules/ directory and unpack. |
|
| 6 |
This will create modules/path_image folder. |
Copy the path_image.tar.gz file to your modules/ directory and unpack. |
| 7 |
|
This will create modules/path_image folder. |
| 8 |
Go to admin >> modules and enable path_image module |
|
| 9 |
|
Go to "Administer >> Site building >> Modules" and enable the "Path |
| 10 |
Go to admin >> access and setup roles to whom you wish to allow |
image" module. |
| 11 |
administration of the modile |
|
| 12 |
|
Go to "Administer >> User management >> Permissions" and setup the |
| 13 |
Go to admin >> settings >> path image to setup the module. |
roles to whom you wish to allow administration of the module. |
| 14 |
|
|
| 15 |
Go to admin >> blocks to setup the block on your page |
Go to "Administer >> Site configuration >> Path image" to setup the |
| 16 |
|
module (see below). |
| 17 |
Variables; |
|
| 18 |
|
Go to "Administer >> Site building >> Blocks" to setup the block on |
| 19 |
Block title: [default 'Path image'] |
your page. |
| 20 |
This sets the block title, blank out for no title |
|
| 21 |
|
2. Configuration |
| 22 |
Image repository: [default 'images'] |
---------------- |
| 23 |
The name of the folder in which the images are stored. Folder |
|
| 24 |
is relative the drupal 'files' folder as specified in teh general |
Block title: [default 'Path image'] |
| 25 |
settings admin page. No leading or trailing slashes |
This sets the block title, blank out for no title. |
| 26 |
|
|
| 27 |
Allowable file types in repository: [default 'gif, jpg, png'] |
Image repository: [default 'images'] |
| 28 |
A list of comma seperated file extensions that will be scanned |
The name of the folder in which the images are stored. Folder |
| 29 |
for in the file repsoitory. |
is relative the drupal 'files' folder as specified on the File |
| 30 |
|
system configuration page. No leading or trailing slashes. |
| 31 |
Numeric parse halt: [default on] |
|
| 32 |
When searching paths the default is not to "look beyond" a numeric |
Allowable file types in repository: [default 'gif, jpg, png'] |
| 33 |
so for example node/243 would only search up to node/ |
A list of comma separated file extensions that will be scanned |
| 34 |
However, you may have a path like taxonomy/term/24/53 and you want |
for in the file repsoitory. |
| 35 |
at search all componets of the path inclusing the trailing numerics. |
|
| 36 |
If that's the case, switch this setting off. |
Numeric parse halt: [default on] |
| 37 |
|
When searching paths the default is not to "look beyond" a numeric |
| 38 |
Default image for the homepage: |
so for example node/243 would only search up to node/ |
| 39 |
This allows you to select an image that is displayed on the / root |
However, you may have a path like taxonomy/term/24/53 and you want |
| 40 |
homepage of your site. A checkbox is provided to switch this feature |
at search all componets of the path inclusing the trailing numerics. |
| 41 |
on or off. |
If that's the case, switch this setting off. |
| 42 |
|
|
| 43 |
Default image when no match made: |
Default image for the homepage: |
| 44 |
This allows you to select an image that is displayed when no path |
This allows you to select an image that is displayed on the / root |
| 45 |
match is made. A checkbox is provided to switch this feature |
homepage of your site. A checkbox is provided to switch this feature |
| 46 |
on or off. |
on or off. |
| 47 |
|
|
| 48 |
Add a new path: Select an image: |
Default image when no match made: |
| 49 |
Enter here a new path to associate with an image (no leading/trailing |
This allows you to select an image that is displayed when no path |
| 50 |
slashes). |
match is made. A checkbox is provided to switch this feature |
| 51 |
|
on or off. |
| 52 |
Alter a path: Select an image: |
|
| 53 |
An existing path can be amended here |
Add a new path: Select an image: |
| 54 |
|
Enter here a new path to associate with an image (no leading/trailing |
| 55 |
2. Paths |
slashes). |
| 56 |
-------- |
|
| 57 |
|
Alter a path: Select an image: |
| 58 |
A path match is done is reverse length order. Let's look at an example: |
An existing path can be amended here. |
| 59 |
|
|
| 60 |
taxonomy/term/3 |
3. Paths |
| 61 |
taxonomy |
-------- |
| 62 |
|
|
| 63 |
Searching is currently terminating at the first full numeric component of |
A path match is done is reverse length order. Let's look at an example: |
| 64 |
the path, in this example, 3. The search would match any path that begins |
|
| 65 |
'taxonomy/term' . If no match was found then the next search would be for |
taxonomy/term/3 |
| 66 |
'taxonomy', etc. |
taxonomy |
| 67 |
|
|
| 68 |
Switching "Numeric parse halt" off would scan for all components of the path |
Searching is currently terminating at the first full numeric component of |
| 69 |
including the numeric 3 in the example. |
the path, in this example, 3. The search would match any path that begins |
| 70 |
|
'taxonomy/term' . If no match was found then the next search would be for |
| 71 |
|
'taxonomy', etc. |
| 72 |
|
|
| 73 |
|
Switching "Numeric parse halt" off would scan for all components of the path |
| 74 |
|
including the numeric 3 in the example. |
| 75 |
|
|