Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#25 2017-05-06 08:58:59

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,032
Website GitHub Mastodon Twitter

Re: txp:popup issue

I’m on it:)


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#26 2017-05-06 09:16:39

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,032
Website GitHub Mastodon Twitter

Re: txp:popup issue

I think that I worked out where the problem is but I need some suggestions on how to solve it.

It seems that article_lists including those which list articles under the ?c=podcast category are handled by the default page BUT, the podcast section (and its articles) is set NOT to appear on the front page.

This situation allows the articles to appear under the section’s page site.tld/podcast/, but not on the category page.

Does anyone have any idea on how to get that category listing?


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#27 2017-05-06 09:54:34

etc
Developer
Registered: 2010-11-11
Posts: 5,087
Website GitHub

Re: txp:popup issue

If pagination is not required, you can replace <txp:article /> with <txp:article_custom /> (with probably some extra attributes/conditionals):

<txp:if_category>
    <txp:article_custom category='<txp:category />' />
<txp:else />
    <txp:article />
</txp:if_category>

Offline

#28 2017-05-06 09:59:03

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,032
Website GitHub Mastodon Twitter

Re: txp:popup issue

etc wrote #305647:

If pagination is not required, you can replace <txp:article /> with <txp:article_custom /> (with probably some extra attributes/conditionals):

<txp:if_category>...

Nice idea… This code would of course need to be added in the default page. gilibaus… what do you think?


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#29 2017-05-06 11:11:58

gilibaus
Member
From: Italy
Registered: 2013-08-14
Posts: 91
Website

Re: txp:popup issue

colak wrote #305648:

Nice idea… This code would of course need to be added in the default page. gilibaus… what do you think?

Just gave it a try, seems to work! Some tweaking required as far as pagination is concerned. Thanks colak and etc for your support.

Offline

#30 2017-05-06 15:29:28

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,032
Website GitHub Mastodon Twitter

Re: txp:popup issue

gilibaus wrote #305650:

Just gave it a try, seems to work! Some tweaking required as far as pagination is concerned. Thanks colak and etc for your support.

There is of course the etc_pagination plugin but you will need a version which works on txp 4.5.7.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

Board footer

Powered by FluxBB