Hello,
I just found out, that the summery pages, my blog generates at the archives (headings only) does not validate at all.
Here is my summary archives page and here is the result with validate.w3.org
It looks like, that there are no headings allowed inside description lists? The syntax comes from bulletproof/entries_summary.tpl
How could I change it?
problem with Archives Summery Pages (Bulletproof)
Re: problem with Archives Summery Pages (Bulletproof)
Yikes. You're right, this needs to be changed in BP. Thanks for noticingkonus wrote:I just found out, that the summery pages, my blog generates at the archives (headings only) does not validate at all.
Right now, the entries_summary.tpl's inner foreach loop looks like this:
Code: Select all
<dl class="archive_summary {cycle values='archive_summary_odd,archive_summary_even'}">
<h4 class="archive_summary_title"><a href="{$entry.link}">{$entry.title|truncate:80:" ..."}</a></h4>
<dt class="archive_summary_postdate">{$entry.timestamp|@formatTime:$template_option.date_format}</dt>
<dd class="archive_summary_postdetails">
{if $template_option.footerauthor == 'true'}
{$CONST.POSTED_BY} <address class="author"><a href="{$entry.link_author}">{$entry.author}</a></address>
{/if}
{if $template_option.footercategories == 'true'}
{if $entry.categories}
{$CONST.IN} {foreach from=$entry.categories item="entry_category" name="categories"}<a href="{$entry_category.category_link}">{$entry_category.category_name|@escape}</a>{if not $smarty.foreach.categories.last}, {/if}{/foreach}
{/if}
{/if}
</dd>
</dl>
Code: Select all
<dl class="archive_summary {cycle values='archive_summary_odd,archive_summary_even'}">
<dt class="archive_summary_title"><a href="{$entry.link}">{$entry.title|truncate:80:" ..."}</a></dt>
<dd class="archive_summary_postdate">{$entry.timestamp|@formatTime:$template_option.date_format}</dd>
{if $template_option.footerauthor == 'true' or $template_option.footercategories == 'true'}
<dd class="archive_summary_postdetails">
{if $template_option.footerauthor == 'true'}
{$CONST.POSTED_BY} <address class="author"><a href="{$entry.link_author}">{$entry.author}</a></address>
{/if}
{if $template_option.footercategories == 'true'}
{if $entry.categories}
{$CONST.IN} {foreach from=$entry.categories item="entry_category" name="categories"}<a href="{$entry_category.category_link}">{$entry_category.category_name|@escape}</a>{if not $smarty.foreach.categories.last}, {/if}{/foreach}
{/if}
{/if}
</dd>
{/if}
</dl>
YL
Re: problem with Archives Summery Pages (Bulletproof) (solved)
Thank you for the help, now everything is correct!
I am always amazed about the speed and the quality of the help in this community!
Greetings Konus
I am always amazed about the speed and the quality of the help in this community!
Greetings Konus
Author von Dresden für Kinder
Re: problem with Archives Summery Pages (Bulletproof) (solved)
You're welcome. You might wanna add akonus wrote:Thank you for the help, now everything is correct!
Code: Select all
.archive_summary dd { margin-left: 0; }
YL
Re: problem with Archives Summery Pages (Bulletproof)
Thank you, now it looks even better!
Author von Dresden für Kinder