Archives - various.
Posted: Mon Feb 25, 2008 5:16 pm
Some ramblings regarding archives.
When on an archive page for a specific month ($view==archives), I see that $head_subtitle gets set to this: @define('ENTRIES_FOR', 'Entries from %s'); while just below that, the h3 uses <h3 class='serendipity_date'>{$CONST.TOPICS_OF} blah blah </h3>
If they truly need to be 2 different constants (one includes the month/year string and one does not), I would at least suggest that the language file be updated so that both use either the word "topics" or "entries", but not both. This is obviously the english language file, I do not know about any others.
Next, what might not be overly clear to a lot of s9y users and their visitors is that the archive functionality is category specific if navigated to from a category view. Do we have access to any variable that lets us know that? Ideally, I would like to append/prepend something to that <h3> tag to include the category name when appropriate.... interestingly enough, $head_title does become the category name for the specific month archive ($view==archives), but it has not yet changed to that for the older archives page with the graph bar ($view==archive).
Anyway, I hope that is clear enough. I have a nasty cold/flu thing thanks to my kids so I might not be thinking clearly.
When on an archive page for a specific month ($view==archives), I see that $head_subtitle gets set to this: @define('ENTRIES_FOR', 'Entries from %s'); while just below that, the h3 uses <h3 class='serendipity_date'>{$CONST.TOPICS_OF} blah blah </h3>
If they truly need to be 2 different constants (one includes the month/year string and one does not), I would at least suggest that the language file be updated so that both use either the word "topics" or "entries", but not both. This is obviously the english language file, I do not know about any others.
Next, what might not be overly clear to a lot of s9y users and their visitors is that the archive functionality is category specific if navigated to from a category view. Do we have access to any variable that lets us know that? Ideally, I would like to append/prepend something to that <h3> tag to include the category name when appropriate.... interestingly enough, $head_title does become the category name for the specific month archive ($view==archives), but it has not yet changed to that for the older archives page with the graph bar ($view==archive).
Anyway, I hope that is clear enough. I have a nasty cold/flu thing thanks to my kids so I might not be thinking clearly.