Projet

Général

Profil

Paste
Télécharger (3,39 ko) Statistiques
| Branche: | Révision:

root / drupal7 / sites / all / modules / link / README.txt @ bad4e148

1
CONTENTS OF THIS FILE
2
---------------------
3
   
4
 * Introduction
5
 * Requirements
6
 * Installation
7
 * Configuration
8
 * Example
9
 * Theming and Output
10
 * Maintainers
11

    
12

    
13
INTRODUCTION
14
------------
15

    
16
The link can be count to the top 50 projects in Drupal installations and
17
provides a standard custom content field for links. With this module links can
18
be added easily to any content types and profiles and include advanced
19
validating and different ways of storing internal or external links and URLs. It
20
also supports additional link text title, site wide tokens for titles and title
21
attributes, target attributes, css class attribution, static repeating values,
22
input conversion, and many more.
23

    
24

    
25
REQUIREMENTS
26
------------
27

    
28
No special requirements
29

    
30

    
31
INSTALLATION
32
------------
33

    
34
Install as you would normally install a contributed Drupal module. See:
35
https://drupal.org/documentation/install/modules-themes/modules-7 for further
36
information.
37

    
38

    
39
CONFIGURATION
40
-------------
41

    
42
 * Configuration is only slightly more complicated than a text field. Link text
43
   titles for URLs can be made required, set as instead of URL, optional
44
   (default), or left out entirely. If no link text title is provided, the
45
   trimmed version of the complete URL will be displayed. The target attribute
46
   should be set to "_blank", "top", or left out completely (checkboxes provide
47
   info). The rel=nofollow attribute prevents the link from being followed by
48
   certain search engines. More info at Wikipedia
49
   (http://en.wikipedia.org/wiki/Spam_in_blogs#rel.3D.22nofollow.22).
50

    
51

    
52
EXAMPLE
53
-------
54
If you were to create a field named 'My New Link', the default display of the
55
link would be:
56
<em><div class="field_my_new_link" target="[target_value]"><a href="[URL]">
57
[Title]</a></div></em> where items between [] characters would be customized
58
based on the user input.
59

    
60
The link project supports both, internal and external URLs. URLs are validated
61
on input. Here are some examples of data input and the default view of a link:
62
http://drupal.org results in http://drupal.org, but drupal.org results in
63
http://drupal.org, while <front> will convert into http://drupal.org and
64
node/74971 into http://drupal.org/project/link
65

    
66
Anchors and query strings may also be used in any of these cases, including:
67
node/74971/edit?destination=node/74972<front>#pager
68

    
69

    
70
THEMING AND OUTPUT
71
------------------
72
Since link module is mainly a data storage field in a modular framework, the
73
theming and output is up to the site builder and other additional modules. There
74
are many modules in the Drupal repository, which control the output of fields
75
perfectly and can handle rules, user actions, markup dependencies, and can vary
76
the output under many different conditions, with much more efficience and
77
flexibility for different scenarios. Please check out modules like views,
78
display suite, panels, etc for such needs
79

    
80

    
81
MAINTAINERS
82
-----------
83

    
84
Current maintainers:
85
 * John C Fiala (jcfiala) - https://www.drupal.org/user/163643
86
 * Renato Gonçalves (RenatoG) - https://www.drupal.org/user/3326031
87
 * Clemens Tolboom (clemens.tolboom) - https://www.drupal.org/user/125814
88
 * diqidoq - https://www.drupal.org/user/1001934
89
 * dropcube - https://www.drupal.org/user/37031
90
 * Tom Kirkpatrick (mrfelton) - https://www.drupal.org/user/305669
91
 * Sumit Madan (sumitmadan) - https://www.drupal.org/user/1538790
92
 * Daniel Kudwien (sun) - https://www.drupal.org/user/54136
93
 * Damien McKenna - https://www.drupal.org/u/damienmckenna