1 | <plugin> |
---|
2 | <nom> <!-- Nom du plugin --> |
---|
3 | <multi>[it]ABCalendrier: Mini Calendario Articoli e Brevi |
---|
4 | [fr]ABCalendrier: Mini-Calendrier pour Articles et Brèves |
---|
5 | [en]ABCalendrier: Mini Calendar for Articles and News |
---|
6 | </multi> |
---|
7 | </nom> |
---|
8 | <auteur> <!-- Auteur du plugin --> |
---|
9 | mmmxvvv@tiscali.it |
---|
10 | _ © 2007 - 2009 - Distribue sous licence GNU/GPL |
---|
11 | </auteur> |
---|
12 | <version> |
---|
13 | 0.73 |
---|
14 | </version> |
---|
15 | <etat> |
---|
16 | test |
---|
17 | </etat> |
---|
18 | <description> |
---|
19 | <multi> |
---|
20 | [it] |
---|
21 | Questo plugin nasce dall'esigenza di avere un calendario simile al [minicalendrier pour eva->http://eva-web.edres74.net/spip.php?article35], in cui poter inserire oltre agli articoli anche le brevi. |
---|
22 | |
---|
23 | Utilizza un campo {evento} aggiunto alle brevi. |
---|
24 | |
---|
25 | Il codice è stato riscritto utilizzando le #BALISE per il codice, piuttosto che un modelle che utilizzava includeva il PHP. Inoltre è stata implementata la localizzazione con i file multilingua e usando i relativi file di spip |
---|
26 | |
---|
27 | Inoltre è stato aggiunto il supporto a più eventi nella stessa giornata |
---|
28 | <hr/> |
---|
29 | |
---|
30 | {{{Istallazione:}}} attivare il plugin, |
---|
31 | creare la parola chiave {mini-calendrier} |
---|
32 | |
---|
33 | <hr/> |
---|
34 | |
---|
35 | {{{Uso:}}} |
---|
36 | |
---|
37 | Per aggiungere un articolo al calendario, aggiungere la parola chiave mini-calendrier e inserire la data evento come data di redazione anteriore (da attivare dal pannello di configurazione) |
---|
38 | |
---|
39 | Per aggiungere una breve al calendario, aggiungere la parola chiave mini-calendrier, salvare, e inserire la data evento |
---|
40 | |
---|
41 | Inserire il segnaposto #ABCALENDRIER nei modelli. è possinile anche scrivere #ABCALENDRIER{7} per limitare la lista di eventi visualizzati sotto il calendario a 7. |
---|
42 | |
---|
43 | <hr/> |
---|
44 | |
---|
45 | to do: |
---|
46 | |
---|
47 | nomi al campo e alle funzioni adeguate |
---|
48 | <hr/> |
---|
49 | |
---|
50 | {{{Ringraziamenti}}} |
---|
51 | Ringraziamenti agli autori [minicalendrier pour eva->http://eva-web.edres74.net/spip.php?article35] Olivier Gautier e a tutti coloro che contribuiscono a arricchire la documentazione sullo sviluppo dei plugin. |
---|
52 | [en] |
---|
53 | This plugin is inspired at [minicalendrier pour eva->http://eva-web.edres74.net/spip.php?article35], but allows inserting both news and articles in the calendar. |
---|
54 | |
---|
55 | A new field {evento} is added to table spip_breves in the DB. |
---|
56 | |
---|
57 | Code as been rewritten to use spip tags #BALISE, so it's not needed to include php in the model file; multilanguage support added; |
---|
58 | |
---|
59 | Is now possible to add more events in the same day |
---|
60 | <hr/> |
---|
61 | |
---|
62 | {{{Installation:}}} activate plugin as usual; create the key-word {mini-calendrier} |
---|
63 | |
---|
64 | <hr/> |
---|
65 | |
---|
66 | {{{Usage:}}} |
---|
67 | To add an article to calendar set the keyword mini-calendrier and use "Date of earlier publishing" as event date |
---|
68 | (be sure to activete it in the configuration panel) |
---|
69 | |
---|
70 | To add a news to calendar save it, set the keyword mini-calendrier and then set the event date |
---|
71 | |
---|
72 | Insert the tag #ABCALENDRIER in your models. You can also write #ABCALENDRIER{7} to limit the list of events to 7 or the number you want. |
---|
73 | |
---|
74 | <hr/> |
---|
75 | |
---|
76 | {{{Thanks}}} |
---|
77 | I want to thanks authors of [minicalendrier pour eva->http://eva-web.edres74.net/spip.php?article35] Olivier Gautier and all people contributing plugin developing documentation |
---|
78 | [fr] |
---|
79 | Ce plugin est inspiré du [minicalendrier pour eva->http://eva-web.edres74.net/spip.php?article35], mais il permet d'insérer dans le calendrier à la fois les articles et les brèves. |
---|
80 | |
---|
81 | Un nouveau champ {evento} est ajouté à la table spip_breves dans la base de données. |
---|
82 | |
---|
83 | Le code a été ré-écrit pour utiliser le tags #BALISE de spip, ce qui évite d'insérer du php dans les squelettes ; la compatibilité multilingue a été ajoutée. |
---|
84 | |
---|
85 | Il est maintenant possible d'ajouter plus d'évènements sur le même jour. |
---|
86 | <hr/> |
---|
87 | |
---|
88 | {{{Installation:}}} Activez le plugin de manière classique. Créez un mot-clé {mini-calendrier} |
---|
89 | |
---|
90 | <hr/> |
---|
91 | |
---|
92 | {{{Utilisation:}}} |
---|
93 | Pour ajouter un article au calendrier, ajoutez le mot-clé mini-calendrier et utilisez la date de rédaction antérieure comme date d'évènement (assurez-vous de l'avoir activée dans le panneau de configuration) |
---|
94 | |
---|
95 | Pour ajouter une brèves dans le calendrier, validez la brève puis ajoutez le mot-clé mini-calendrier et paramétrez la date de l'évènement. |
---|
96 | |
---|
97 | Insérez le tag #ABCALENDRIER dans les squelettes. Il est possible d'écrire #ABCALENDRIER{7} pour limiter la liste d'évènements visualisés sous le calendrier à 7. |
---|
98 | <hr/> |
---|
99 | |
---|
100 | {{{Merci}}} |
---|
101 | Je remercie les auteurs du [minicalendrier pour Eva->http://eva-web.edres74.net/spip.php?article35], Olivier Gautier et tous ceux qui ont contribué au développement de la documentation du plugin. Enfin un remerciement spécial à [Tropicaloo->http://www.spip-contrib.net/Tropicaloo] pour les traductions |
---|
102 | </multi> |
---|
103 | |
---|
104 | </description> |
---|
105 | <lien>http://www.spip-contrib.net/Plugin-ABCalendrier,2686</lien> |
---|
106 | <pipeline> |
---|
107 | <nom>insert_head</nom> |
---|
108 | <inclure>abcal_pipelines.php</inclure> |
---|
109 | </pipeline> |
---|
110 | <pipeline> |
---|
111 | <nom>affiche_milieu</nom> |
---|
112 | <inclure>abcal_pipelines.php</inclure> |
---|
113 | </pipeline> |
---|
114 | <pipeline> |
---|
115 | <nom>body_prive</nom> |
---|
116 | <inclure>abcal_pipelines.php</inclure> |
---|
117 | </pipeline> |
---|
118 | <!-- classe d'implementation : espace de nommage qui prefixera les appels de fonction |
---|
119 | sur le mode Rien:: |
---|
120 | ainsi les fonctions hors espace de nommage ne peuvent etre appelees |
---|
121 | ce parametre est obligatoire et doit etre non vide |
---|
122 | --> |
---|
123 | <prefix> |
---|
124 | abcalendrier |
---|
125 | </prefix> |
---|
126 | <!-- Definitions des fonctions qui s'inserent dans les pipelines --> |
---|
127 | <fonctions> |
---|
128 | mes_fonctions_abcalendrier.php |
---|
129 | </fonctions> |
---|
130 | <options> |
---|
131 | mes_options_abcalendrier.php |
---|
132 | </options> |
---|
133 | <!-- Le parametre action est facultatif : en son absence la methode de la classe portant le nom du pipeline est appelee. Le parametre inclure est facultatif. --> |
---|
134 | |
---|
135 | <install>base/abcalendrier_upgrade.php</install> |
---|
136 | <necessite id="SPIP" version="[1.9.0;]"/> |
---|
137 | <categorie>date</categorie> |
---|
138 | </plugin> |
---|