Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2017-05-05 12:17:22

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

Re: txp:popup issue

gilibaus wrote #305621:

Sorry, but where should I edit the <txp:article /> tag? Thanks for your patience.

It is typically in your default page form, though it may vary. Note that if you do it, any ?c=some_category url access will ignore on frontpage sections settings too. Actually, <txp:popup /> just generates links to categories/sections.

Offline

#14 2017-05-05 12:48:43

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

Re: txp:popup issue

Ok thanks I did it:

<!-- else is this an article category list? --> <txp:if_category> <h1 >Articoli <txp:text item="category" /></span> <txp:category title="1" /></h1> <txp:article frontpage="0" form="article_listing" limit="5" /> <txp:else />

Unfortunately the result is the same i.e. when I select “Podcast” category in the <txp:popup /> dropdown, nothing shows up.

Last edited by gilibaus (2017-05-05 12:51:51)

Offline

#15 2017-05-05 13:34:34

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

Re: txp:popup issue

Ah, you are on 4.5.7? IIRC, frontpage works as described starting from 4.6.

Offline

#16 2017-05-05 15:24:22

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

Re: txp:popup issue

How else can I mimic <txp:popup /> for browsing articles by category (i.e. all categories in all sections)?

Offline

#17 2017-05-05 15:30:25

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

Re: txp:popup issue

Hi gilibaus,

Are there any technical reasons preventing you from upgrading to txp 4.6.2?


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

Offline

#18 2017-05-05 16:20:58

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

Re: txp:popup issue

Hi colak, not really, except for a few plugins that might not work properly with 4.6.2. Currently though I have neither reason nor time for upgrading. My website just works fine with 4.5.7 and I do not expect to upgrade for the foreseeable future. As for my last question, any idea?

Last edited by gilibaus (2017-05-05 16:24:22)

Offline

#19 2017-05-05 17:54:51

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

Re: txp:popup issue

I understand that you are looking for a way to list all articles from the current section AND category in a popup?

This will most possibly not work but it might spark some ideas.

 <select name="a" onchange="submit(this.form);">
	<option value="" selected="selected">&#160;</option>
	<option value="<txp:article custom category='<txp:category />' section='<txp:section />'><txp:article_url_title />"><txp:title /></txp:article_custom></option>
</select></p>
<noscript><div><input type="submit" value="Go" /></div></noscript>

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

Offline

#20 2017-05-05 20:08:53

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

Re: txp:popup issue

colak wrote #305635:

I understand that you are looking for a way to list all articles from the current section AND category in a popup?

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?

Offline

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

bici
Member
From: vancouver
Registered: 2004-02-24
Posts: 2,077
Website Mastodon

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: 9,032
Website GitHub Mastodon Twitter

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 | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

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

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

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
From: Italy
Registered: 2013-08-14
Posts: 91
Website

Re: txp:popup issue

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

Offline

Board footer

Powered by FluxBB