====== Annexes thèmes ====== ===== Kits de structures de thèmes ===== {{ 2.0:contribuer:aorakits-thumb.jpg?300x300 |14 layout.css}} [[http://themes.dotaddict.org/post/Aorakits|Aorakits, ressources pour vos thèmes Dotclear 2]] * Quatorze structures types pour vos thèmes]] (pure css) * Une feuille de style prête à l'emploi]] comportant tous les principaux marqueurs. * 25 billets variés pour un blog de test]] ===== Radiographies des fichiers html du thème par défaut ===== {{ 2.0:contribuer:radio-all-crop.jpg?300x300 |radio générale}} * [[http://dissitou.klafoutis.org/post/2007/01/11/Radiographies-%3A-1-Les-grandes-boites-communes-a-toutes-les-pages|Les boîtes communes à toutes les pages]] * [[http://dissitou.klafoutis.org/post/2007/01/13/Radiographies-%3A-2-les-fichiers-inclus|Les fichiers inclus]] * [[http://dissitou.klafoutis.org/post/2007/01/13/Radiographies-%3A-3-le-content-de-404html|Le content de 404.html]] * [[http://dissitou.klafoutis.org/post/2007/01/13/Radiographies-%3A-4-le-content-de-archive_monthhtml|Le content de archive_month.html]] * [[http://dissitou.klafoutis.org/post/2007/01/13/Radiographies-%3A-5-le-content-de-archivehtml|Le content de archive.html]] * [[http://dissitou.klafoutis.org/post/2007/01/13/Radiographies-%3A-6-le-content-de-categoryhtml|Le content de category.html]] * [[http://dissitou.klafoutis.org/post/2007/01/13/Radiographies-%3A-7-le-content-de-homehtml|Le content de home.html]] * [[http://dissitou.klafoutis.org/post/2007/01/13/Radiographies-%3A-8-le-content-de-posthtml|Le content de post.html]] * [[http://dissitou.klafoutis.org/post/2007/01/15/Radiographies-%3A-9-le-content-de-taghtml|Le content de tag.html]] * [[http://dissitou.klafoutis.org/post/2007/01/15/Radiographies-%3A-10-le-content-de-tagshtml|Le content de tags.html]] * [[http://dissitou.klafoutis.org/post/2007/01/15/Radiographies-%3A-11-le-formulaire-des-commentaires|Le formulaire des commentaires]] * [[http://dissitou.klafoutis.org/post/2007/01/12/Les-radiographies-a-lusage-des-css|Annexe : les radiographies à l'usage des CSS]] ===== Mettre à jour un thème DC2 beta7 vers DC2 RC2 ===== Si vous avez réalisé (ou installé) un thème lors des versions bêtas et que ce thème contenait des fichiers *.html, ceux-ci sont désormais à placer dans un sous-dossier **tpl** dans votre dossier de thème et mis à jour. Voici la listes des modifications intervenues entre les deux versions. Les lignes précédées du signe moins (-) signalent une suppression, celles précédées du signe plus (+) indiquent un ajout. Les parties de code données ci-dessous ne sont que des **extraits** des fichiers pour contextualiser les modifs. Ne les recopiez pas en remplacement complet des fichiers originels mais repérez les différences et reportez les sur vos propres fichiers. Les plugins récents s'installent désormais sans devoir modifier les fichiers *.html grâce à aux appels aux [[..:/plugins:behaviors|Comportements]]. Vérifiez donc bien que vous avez toutes les lignes du type: tpl:SysBehavior behavior="blabla" Dans les fichiers *.html de vos thèmes. ==== 404.html ==== - + + {{tpl:lang Document not found}} - {{tpl:BlogName encode_html="1"}} ==== _flv_player.html ==== - - -'. + + ==== _footer.html ==== +

{{tpl:lang Powered by}} Dotclear

+ + +{{tpl:SysBehavior behavior="publicFooterContent"}}
==== _head.html ==== + + + + + + + +{{tpl:include src="user_head.html"}} +{{tpl:SysBehavior behavior="publicHeadContent"}} ==== _mp3_player.html ==== - - + + + ==== _top.html ====

{{tpl:BlogName encode_html="1"}}

+ + + {{tpl:SysBehavior behavior="publicTopAfterContent"}}

{{tpl:lang To content}} | ==== archive.html ==== - + + {{tpl:lang Archives}} - {{tpl:BlogName encode_html="1"}} ==== archive_month.html ==== - + + {{tpl:lang Archives}} - {{tpl:ArchiveDate}} - {{tpl:BlogName encode_html="1"}}

{{tpl:EntryDate}}

-

{{tpl:EntryTitle encode_html="1"}}

==== category.html ==== - + + {{tpl:CategoryTitle encode_html="1"}} - {{tpl:BlogName encode_html="1"}} -
+

{{tpl:EntryDate}}

+ + {{tpl:SysBehavior behavior="publicEntryBeforeContent"}} +
{{tpl:EntryExcerpt}}
{{tpl:EntryContent}}
+ + {{tpl:SysBehavior behavior="publicEntryAfterContent"}} + - + {{tpl:EntryAttachmentCount}} + +

+
==== home.html ==== - + + {{tpl:BlogName encode_html="1"}}
-
+

{{tpl:EntryDate}}

+ + {{tpl:SysBehavior behavior="publicEntryBeforeContent"}} +
{{tpl:EntryExcerpt}}
{{tpl:EntryContent}}
+ + {{tpl:SysBehavior behavior="publicEntryAfterContent"}} + - + {{tpl:EntryAttachmentCount}} + +

+
==== post.html ==== - + + {{tpl:EntryTitle encode_html="1"}} - {{tpl:BlogName encode_html="1"}} {{tpl:include src="_head.html"}} + + +
-{{tpl:EntryTrackbackData}} +{{tpl:EntryPingData}} {{tpl:include src="_top.html"}} + + {{tpl:SysBehavior behavior="publicEntryBeforeContent"}} +
{{tpl:EntryExcerpt}}
{{tpl:EntryContent}}
+ + + {{tpl:SysBehavior behavior="publicEntryAfterContent"}}
-
{{tpl:CommentPreviewContent}}
-

+

{{tpl:lang Add a comment}}

+ + {{tpl:SysBehavior behavior="publicCommentFormBeforeContent"}} +

+

{{tpl:lang HTML code is displayed as text and web addresses are + automatically converted.}}

+ + + {{tpl:SysBehavior behavior="publicCommentFormAfterContent"}}
-

{{tpl:lang HTML code is displayed as text and web addresses are - automatically converted.}}

- -
-

- -

-

+

+

{{tpl:lang On}} {{tpl:PingDate}}, {{tpl:PingTime}} {{tpl:lang by}} {{tpl:PingBlogName encode_html="1"}} -

+ + {{tpl:SysBehavior behavior="publicPingBeforeContent"}} + +

{{tpl:PingTitle encode_html="1"}}

- {{tpl:PingContent}}
+ {{tpl:PingContent}} + + + {{tpl:SysBehavior behavior="publicPingAfterContent"}} + -

{{tpl:lang Trackback URL}} : {{tpl:EntryTrackbackLink}}

+

{{tpl:lang Trackback URL}} : {{tpl:EntryPingLink}}

{{tpl:include src="_footer.html"}}
- + ==== search.html ==== - + + {{tpl:BlogName encode_html="1"}}
-
+

{{tpl:EntryDate}}

+ + {{tpl:SysBehavior behavior="publicEntryBeforeContent"}} +
{{tpl:EntryExcerpt}}
{{tpl:EntryContent}}
+ + {{tpl:SysBehavior behavior="publicEntryAfterContent"}} + - + {{tpl:EntryAttachmentCount}} + +

+
==== tag.html ==== - + + {{tpl:MetaID}} - {{tpl:BlogName encode_html="1"}}
-

{{tpl:lang Keyword}} - {{tpl:MetaID}}

+

{{tpl:lang Tag}} - {{tpl:MetaID}}

{{tpl:lang Entries feed}}

-
+

{{tpl:EntryDate}}

+ + {{tpl:SysBehavior behavior="publicEntryBeforeContent"}} +
{{tpl:EntryExcerpt}}
{{tpl:EntryContent}}
+ + {{tpl:SysBehavior behavior="publicEntryAfterContent"}} + - + {{tpl:EntryAttachmentCount}} + +

+
==== tags.html ==== - + - {{tpl:lang Keywords}} - {{tpl:BlogName encode_html="1"}} + + {{tpl:lang Tags}} - {{tpl:BlogName encode_html="1"}}
-

{{tpl:lang Keywords}}

+

{{tpl:lang Tags}}