| 1 |
A hacked inline.module + XSPF Web Music Player (Flash):
|
| 2 |
------------------------
|
| 3 |
Original by matteo http://drupal.org/project/inline
|
| 4 |
Modified by Fredrik Jonsson fredrik at combonet dot se
|
| 5 |
Requires - Drupal 4.7
|
| 6 |
License - GPL (see LICENSE)
|
| 7 |
|
| 8 |
|
| 9 |
Overview:
|
| 10 |
--------
|
| 11 |
This is a hacked version of the inline.module. It adds the following
|
| 12 |
functions.
|
| 13 |
|
| 14 |
** Five extra styles users can add to images **
|
| 15 |
Lets the admin set three "Extra styles" and choose one to be the
|
| 16 |
default. The styles are css style attributes like float:right; margin
|
| 17 |
5px;.
|
| 18 |
|
| 19 |
Users can then e.g. choose style 2 for file 1 with this syntax
|
| 20 |
[inline:1:2=Title] ([inline:1:Title] still works also). On my site I
|
| 21 |
have set extra style 1 to float right and to be the default, extra style
|
| 22 |
2 to float left etc.
|
| 23 |
|
| 24 |
** Audio file (MP3) support with integrated Flash music player **
|
| 25 |
Adds a small Flash playbutton in front of every MP3 file. The MP3 files
|
| 26 |
are included with the normal sytax [inline:1=Title]. Styles will have no
|
| 27 |
effect on MP3 files.
|
| 28 |
|
| 29 |
XSPF Web Music Player (GPL License) homepage:
|
| 30 |
<http://musicplayer.sourceforge.net/>
|
| 31 |
|
| 32 |
** Images from other nodes **
|
| 33 |
Extended syntax allows users to include files and images from other
|
| 34 |
nodes. Good if you want to use the same image in many places without the
|
| 35 |
need to uploaf it again.
|
| 36 |
|
| 37 |
To get the first file from node 123 you use this syntax [node:123.1].
|
| 38 |
Style and title can also be added like this [node:123.1:2=Title].
|
| 39 |
|
| 40 |
** Code changes **
|
| 41 |
Better compliance with Drupal coding standard. Included patches or part of
|
| 42 |
them at least from the following issues.
|
| 43 |
http://drupal.org/node/46355, mr700
|
| 44 |
http://drupal.org/node/38827, Bert Wynants
|
| 45 |
|
| 46 |
Installation and configuration:
|
| 47 |
------------------------------
|
| 48 |
Installation is as simple as creating a directory named 'inline' in your
|
| 49 |
'modules' directory and copying the files there, then enabling the
|
| 50 |
module at 'administer >> modules'.
|
| 51 |
|
| 52 |
For configuration options go to 'administer >> settings >> inline'.
|