Vous n'êtes pas identifié(e).
13 février 2024 Sortie de Dotclear 2.29
Bing translate:
J’ai testé mon nouveau thème dans Windows avec plusieurs navigateurs et résolutions, Ubuntu et iPhone/iPad. Jusqu'à présent, il fonctionne très bien.
Si quelqu'un a eu un Android smartphone/tablette et veut tester le thème, je serais heureux d’entendre des commentaires.
J’ai ajouté quelques images d’en-tête pour donner un choix.
Personnalisations sont faites en colors.css
Thème peut être téléchargé ici :
http://www.sevenwinds.co.uk/weblogfotos … MyBlog.zip
What I wanted to say:
I have tested my new theme in Windows with several browsers and resolutions, Ubuntu and iPhone/iPad. So far, it works fine.
If somebody has got a Android phone/tablet and wants to test the theme, I would be happy to hear any feedback.
Theme can be downloaded here:
http://www.sevenwinds.co.uk/weblogfotos … MyBlog.zip
I added some header images to give a choice.
Customizations are done in colors.css
Thank you very much.
Merci
I ♥ Dotclear.
Hors ligne
Nice work!
One thing, in the colors.css file, line 3, you have:
Header images: “Copyright (c) 2016 ben_griffith, Corel Corporation and its licensors. All rights reserved
You should remove the “ quote before Copyright as it prevents the theme editor plugin to successfully load it to be edited. The htmlspecialchars() function used to "clean" file content before editing seems to be buggy with this kind of quote.
Dotclear addicted since 2004
Hors ligne
Nice work and lovely pictures :)
Hors ligne
Salut,
Petite revue vite fait, sans rond de jambe, comme à mon habitude.
1/ Le style .category-current n'est pas stylé, normal ?
2/ Petit problème d'affichage pour l'affichage d'un item de liste qui n'est pas un lien :
<li>
<strong>My Blog</strong>
</li>
widget Choisir un thème : http://lab.brol.info/
3/ La version installé chez moi n'est pas 2.9, avoir le logo de la dc2.9 en footer est alors parfaitement déplacé et faux.
4/ Dans _public.php, il y a un appel vers custom.css qui n'existe pas...
5/ div.widget li a { display: block; } crée un soucis avec certains plugins (voir Archives en sidebar).
6/ Les .widget p ne sont pas alignés, ça fait bizarre (peut-être est-ce voulu ?).
7/ Pas de bordure à #comment-form .jstEditor textarea ?
8/ Les "rond" de <a class="comment-number" href="#c178">1.</a> se déforment à partir de la dizaine.
Tu as toujours le chic pour les couleurs ;)
Dernière modification par pierrevg (2016-08-12 15:34:20)
Hors ligne
Bing translate!
Merci beaucoup pour tous vos commentaires. Je vais par tous vos points.
Pierre, j’ai toujours apprendre de vous :-)
Many thanks for all your comments. I'm going through all your points.
Pierre, I always learn from you :-)
I will provide new version later on.
Je vais vous donner des nouvelle version par la suite.
I ♥ Dotclear.
Hors ligne
Hi to all
Bing translate:
Merci beaucoup pour vos commentaires qui ont été extrêmement utiles. J’espère que mes solutions de contournement fit beaucoup de plugins de la Sidebar.
J’ai mis à jour le thème, « Mon Blog » une version 1.0.1 :
http://www.sevenwinds.co.uk/weblogfotos … MyBlog.zip
What I intended to say:
Many thanks for your comments which were extremely helpful. I hope my workarounds fit many of the sidebar's plugins.
I have updated the theme, version "My Blog" version 1.0.1.
Thank you very much
Merci beaucoup
I ♥ Dotclear.
Hors ligne
Devrait fonctionner maintenant, Pierre. Remplaçant n’a pas finalement fonctionné. Dossier vieux supprimé sur le serveur et téléchargée nouvelle version.
Should work now. Overwriting didn't eventually work. Deleted old file on server and uploaded new version.
I ♥ Dotclear.
Hors ligne
Nice work dude !
One advice: I see that your archive_month.html template is very similar to the "mustek" archive_month.html templateset file, only the content of the <tpl:Block name="main-content"> varies.
To simplify your own template you can replace all the content of your file to this (except the content of the main-content block, indeed) :
{{tpl:extends parent="__parent__"}}
<tpl:Block name="main-content">
…
</tpl:Block>
The 1st line give the template compiler the instruction to use the same file (archive_month.html) of the templateset (mustek for your theme) and to replace only the content of what is defined by you after (<tpl:Block name="main-content"> … </tpl:Block>). The magic keyword to do this is __parent__.
You see ?
By this way you simplify your code (I think it is always a good idea) ;-)
Anyway, I do like the simplicity of the design and specially the font used!
----
Full code of the modified archive_month.html :
{{tpl:extends parent="__parent__"}}
<tpl:Block name="main-content">
<p id="navlinks">
<tpl:ArchivePrevious><a href="{{tpl:ArchiveURL}}" class="prev">« {{tpl:ArchiveDate encode_html="1"}}</a>
- </tpl:ArchivePrevious>
<a href="{{tpl:BlogArchiveURL}}">{{tpl:lang Archives}}</a>
<tpl:ArchiveNext> - <a href="{{tpl:ArchiveURL}}" class="next">{{tpl:ArchiveDate encode_html="1"}} »</a></tpl:ArchiveNext>
</p>
<div id="content-info">
<h2>{{tpl:ArchiveDate}}</h2>
</div>
<div class="content-inner">
<tpl:Entries order="asc">
<div id="p{{tpl:EntryID}}" class="post">
<!-- # New day date -->
<tpl:DateHeader><p class="day-date">{{tpl:EntryDate}}</p></tpl:DateHeader>
<h2 class="post-title"><a href="{{tpl:EntryURL}}">{{tpl:EntryTitle encode_html="1"}}</a></h2>
<p class="post-info">{{tpl:lang By}} {{tpl:EntryAuthorLink}} {{tpl:lang on}} {{tpl:EntryDate}}, {{tpl:EntryTime}}
<tpl:EntryIf has_category="1">
- <a href="{{tpl:EntryCategoryURL}}">{{tpl:EntryCategory encode_html="1"}}</a>
</tpl:EntryIf>
</p>
<tpl:EntryTags>
<tpl:TagsHeader><ul class="post-tags"></tpl:TagsHeader>
<li><a href="{{tpl:TagURL}}">{{tpl:TagID}}</a></li>
<tpl:TagsFooter></ul></tpl:TagsFooter>
</tpl:EntryTags>
<!-- # --BEHAVIOR-- publicEntryBeforeContent -->
{{tpl:SysBehavior behavior="publicEntryBeforeContent"}}
<!-- # Entry with an excerpt -->
<tpl:EntryIf extended="1">
<div class="post-content"><p>{{tpl:EntryExcerpt encode_html="1" remove_html="1" cut_string="300"}}...</p></div>
<p class="read-it"><a href="{{tpl:EntryURL}}"
title="{{tpl:lang Continue reading}} {{tpl:EntryTitle encode_html="1"}}">{{tpl:lang Continue
reading}}</a></p>
</tpl:EntryIf>
<!-- # Entry without excerpt -->
<tpl:EntryIf extended="0">
<div class="post-content"><p>{{tpl:EntryContent encode_html="1" remove_html="1" cut_string="700"}}...</p>
<p class="read-it"><a href="{{tpl:EntryURL}}"
title="{{tpl:lang Continue reading}} {{tpl:EntryTitle encode_html="1"}}">{{tpl:lang Continue
reading}}</a></p>
</div>
</tpl:EntryIf>
<!-- # --BEHAVIOR-- publicEntryAfterContent -->
{{tpl:SysBehavior behavior="publicEntryAfterContent"}}
</div>
</tpl:Entries>
</div>
</tpl:Block>
Dotclear addicted since 2004
Hors ligne
Another tip:
When you need to add something (before and/or after) to the content a block already defined in the templateset, you can use the {{tpl:parent}} inside the block you're redefining. It's not useful for your theme MyBlog, but it may be for another one.
Example:
{{tpl:extends parent="__parent__"}}
<tpl:Block name="main-content">
… <!-- # Your very own content inserted before the original content -->
{{tpl:parent}} <!-- # include the original content of this block from the parent (defined on the 1st line of this file) -->
… <!-- # Your very own content inserted after the original content -->
</tpl:Block>
Dotclear addicted since 2004
Hors ligne
Many thanks, Franck. It works :-)
Yes, I copied the text from Berlin theme, because the old way didn't work any more. Originally, I planned to have no customized templates but the monthly archive is too important to have only post titles and annex.
Dernière modification par ben_griffith (2016-08-21 03:02:33)
I ♥ Dotclear.
Hors ligne
Yes, Grandroot, I'm still in the forum.
Re: Hi,
are you still present on the forum? (and pm^^)
I would like to ask you some questions about your theme
Thanks a lot;
Grandroot
I ♥ Dotclear.
Hors ligne
Vous n'êtes pas identifié(e).