Textpattern CMS support forum

You are not logged in. Register | Login | Help

#21 2017-05-06 00:28:31

bici
Member
From: vancouver
Registered: 2004-02-24
Posts: 1,041
Website

Re: txp:popup issue

I know this is a small quibble, but what you refer to as a popup is actually a drop-down selection button where one is presented with a series of category choices.

Quello che si riferisce come popup è in realtà un pulsante di selezione a discesa in cui si presenta una serie di scelte di categorie.


…. texted postive

Offline

#22 2017-05-06 03:54:17

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 6,118
Website

Re: txp:popup issue

gilibaus wrote #305638:

Not exactly. Please visit my website. You will find a popup whose label is “Categorie” (i.e. categories). All categories in there refer to articles on the frontpage, except one: Podcast. This category refers to articles in the podcast section (you can access it via top main menu). Now, when you select Podcast category in the popup, the result is empty although there are articles assigned to that category. How can I fix this?

Excuse the obvious question. It looks like you have a section and a category called podcast. The section is showing just fine but did you allocate those articles to the podcast category?

If you did, could you grand one of us a temporary access to the admin side of your site to check what might be going wrong?


Yiannis
——————————
neme.org | hblack.net | LABS | NeMe @ github

Offline

#23 2017-05-06 08:46:55

gilibaus
Member
Registered: 2013-08-14
Posts: 38

Re: txp:popup issue

colak wrote #305640:

Excuse the obvious question. It looks like you have a section and a category called podcast. The section is showing just fine but did you allocate those articles to the podcast category?

I confirm there is both a section and a category called podcast. I also confirm all articles in podcast section have been allocated to podcast category.

Offline

#24 2017-05-06 08:51:07

gilibaus
Member
Registered: 2013-08-14
Posts: 38

Re: txp:popup issue

Hi @colak, just sent you an email with website access credentials. Thanks for your help.

Offline

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

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 6,118
Website

Re: txp:popup issue

I’m on it:)


Yiannis
——————————
neme.org | hblack.net | LABS | NeMe @ github

Offline

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

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 6,118
Website

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.org | hblack.net | LABS | NeMe @ github

Offline

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

etc
Developer
Registered: 2010-11-11
Posts: 2,182
Website

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>

etc_[ query | search | pagination | date | tree | cache ]

Offline

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

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 6,118
Website

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.org | hblack.net | LABS | NeMe @ github

Offline

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

gilibaus
Member
Registered: 2013-08-14
Posts: 38

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: 6,118
Website

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.org | hblack.net | LABS | NeMe @ github

Offline

Board footer

Powered by FluxBB