Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2013-05-27 18:17:36

skewray
Member
From: Sunny Southern California
Registered: 2013-04-25
Posts: 182
Website

[feedback] Suggestion for small change to default theme

I changed header of the ‘archive’ page for the 4.5.2 default theme to:

        <txp:if_article_list>
          <h1>
            <txp:section title="1" /><txp:if_category> in <txp:category title="1" /></txp:if_category>
          </h1>
        </txp:if_article_list>

The header becomes ‘Articles in <category>’ if the listing is for a category. Something similar could be done for an author list as well.

(4.5.2 because I didn’t upgrade my theme when I upgraded to 4.5.4.)

Offline

#2 2013-05-28 08:38:54

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,564
Website GitHub Mastodon

Re: [feedback] Suggestion for small change to default theme

The category and author listing pages are served by ‘default’ page not ‘archive’, and they already dynamically retitle depending on the view state.

Or at least they do in 4.5.4 – I don’t have a 4.5.2 version installed for testing for I don’t think much changed (if anything) in the front-side templates between those versions.

Offline

#3 2013-05-29 00:46:52

skewray
Member
From: Sunny Southern California
Registered: 2013-04-25
Posts: 182
Website

Re: [feedback] Suggestion for small change to default theme

Then I suspect that I have unintentionally altered my page templates in some way that will come back and bite me someday.

Offline

Board footer

Powered by FluxBB