Textpattern CMS support forum

You are not logged in. Register | Login | Help

#11 2017-03-09 15:29:32

michaelkpate
Moderator
From: Avon Park, FL
Registered: 2004-02-24
Posts: 1,184
Website

Re: Categorized list of Live article titles

alicson wrote #304515:

(Wonder if I’ll be able to do the same eventually with the date archives..)

What are you thinking of? I tried using the Wayback Machine but couldn’t find a working example.

Offline

#12 2017-03-09 15:40:06

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 7,289
Website

Re: Categorized list of Live article titles

Hi… Here’s Michael’s how to to help you start:)


Yiannis
——————————
neme.org | hblack.net | LABS | State Machines | Respbublika! | NeMe @ github

Offline

#13 2017-03-09 21:10:01

alicson
Member
Registered: 2004-05-26
Posts: 465
Website

Re: Categorized list of Live article titles

etc wrote #304520:

If you use only Category1,

However, I make pretty full use of Category2, too..

you should store this list in aks_cache or other caching plugin.

Thank you much for this; I’ll try to figure this out next.

michaelkpate wrote #304521:

What are you thinking of? I tried using the Wayback Machine but couldn’t find a working example.

:) I was referring actually to the date archive, which rss_suparchive is currently handling.

The Live Date archive and Live Search are both down; I haven’t figured where to start repairing them yet.

Live archive was run with:

<txp:rss_live_archive section="journal,words" showpostscount="1" showcommentscount="1" showzerocount="0" showsubdate="0" subdateformat="%d" subdatesep=": ">
<txp:rss_suparchive />
</txp:rss_live_archive>

Looks like I may be able to replace rss_live_archive with etc_search

colak wrote #304522:

Hi… Here’s Michael’s how to to help you start:)

Thanks!


textpattern.org :: find and share Textpattern resources
docs.textpattern.io :: Textpattern user documentation

Offline

#14 2017-03-11 23:48:35

alicson
Member
Registered: 2004-05-26
Posts: 465
Website

Re: Categorized list of Live article titles

I’m able to get categories to show with <txp:asy_showcat link="true" />, however have tried several combinations of <txp:category />, <txp:category link="1" title="1" /> and it always comes up blank :-/ Anyone know why/how I may solve?

asy_showcat (the plugin is asy_category) is pretty good, except that rather than showing the category title, it’s showing the category names (with hyphens); I don’t see an option to shift that. Also I figure txp:category should be able to handle this; I just don’t know why it’s not showing up. It’s being called from an Article form.

Last edited by alicson (2017-03-11 23:49:03)


textpattern.org :: find and share Textpattern resources
docs.textpattern.io :: Textpattern user documentation

Offline

#15 2017-03-16 03:19:01

alicson
Member
Registered: 2004-05-26
Posts: 465
Website

Re: Categorized list of Live article titles

alicson wrote #304613:

I figure txp:category should be able to handle this; I just don’t know why it’s not showing up. It’s being called from an Article form.

Okay so txp:category does not work in an article context, it will simply output the currently-browsed category (if one happens to be browsing in a category). So I must use either txp:category1 or txp:category2, so will have to use conditionals to get both of them to play together.. as if I don’t have enough of those running as is ;) S’okay will make it work.


textpattern.org :: find and share Textpattern resources
docs.textpattern.io :: Textpattern user documentation

Offline

#16 2017-03-16 03:37:52

alicson
Member
Registered: 2004-05-26
Posts: 465
Website

Re: Categorized list of Live article titles

alicson wrote #304784:

S’okay will make it work.

(smd_if saves the day again :)


textpattern.org :: find and share Textpattern resources
docs.textpattern.io :: Textpattern user documentation

Offline

Board footer

Powered by FluxBB