Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-01-17 20:37:41

dimfish
Member
Registered: 2006-06-01
Posts: 72

Article list within category list?

Is there a plug-in out there that would generate an article list within a category list, showing linked article titles as a nested list underneath the current article’s category?

ie like a 3rd level nav menu that could be used in a sidebar:
category
——- article
——- article
——- article
category
category
category

If there isn’t, anyone fancy writing one? I’d be more than happy to kick of donations for one with a healthly sum! : )

Thanks.

Last edited by dimfish (2007-01-18 08:12:39)

Offline

#2 2007-01-19 10:29:08

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Article list within category list?

Chances are that an archive plugin is what you’re looking for.

Offline

#3 2007-01-19 18:24:46

dimfish
Member
Registered: 2006-06-01
Posts: 72

Re: Article list within category list?

Cheers Mary.
Do you think it is possible to adapt rss_live_archive to group articles by category rather than year/month so that I get the structure I am after?
I have no idea about altering the plugin code but I will have a play with the attributes and see what comes up.

Offline

#4 2007-01-20 02:28:13

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Article list within category list?

Hmm, I don’t know if it can (without actually modifying quite a bit of the plugin itself). I think rss_suparchive might do what you want.

Offline

#5 2007-01-30 23:31:37

dimfish
Member
Registered: 2006-06-01
Posts: 72

Re: Article list within category list?

Hi Mary,

I am trying to use rss_suparchive to get this navigation working….no luck so far. Can you tell me a bit more about how you think I might do it? At the moment I just have the plugin operating as a basic list (not styled up yet) with:

<txp:rss_suparchive_bycat section="resources" linktosection="resources" showcats="1" showcatcount="0" showcatsonly="1"/>

I guess the logic I am trying to acheive is:

If you have landed on the “resources” section ‘homepage’ :
rss_sup shows just category list in sidebar

If you choose a category:
First article of that cat is displayed in main content area and…
…rss_sup shows article list only for current category in sidebar (with other categories still listed, order staying the same).

I have no idea how to acheive this!

Thanks for any help. Am struggling : (

Last edited by dimfish (2007-01-30 23:50:31)

Offline

#6 2010-12-01 05:56:55

laptophobo
Member
Registered: 2010-03-01
Posts: 216
Website

Re: Article list within category list?

I’m trying to showcase the most recent/lead article more prominently than the others.
I have an article list on my Home page (a list of 4 articles). Is it possible to make the most recent article layout differently than the ones under it?

Any advice or tutorial links would be greatly appreciated.


Living the Location-Independent Life: www.NuNomad.com

Offline

#7 2010-12-01 09:58:26

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,447
Website GitHub

Re: Article list within category list?

laptophobo wrote:

Is it possible to make the most recent article layout differently than the ones under it?

Does if_first_article help at all? Failing that, if you’re running TXP 4.3.0 you can always try smd_featured.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#8 2010-12-01 13:42:33

merz1
Member
From: Hamburg
Registered: 2006-05-04
Posts: 994
Website

Re: Article list within category list?

[OT] laptophobo Your Q is OT in this thread :) But you might want to look into the limit and offset txp:article attributes and use two different forms.

Last edited by merz1 (2010-12-01 14:24:39)


Get all online mentions of Textpattern via OPML subscription: TXP Info Sources: Textpattern RSS feeds as dynamic OPML

Offline

#9 2010-12-01 13:57:30

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,447
Website GitHub

Re: Article list within category list?

laptophobo wrote:

This question may be best directed to Stef since he wrote the smd_featured plug-in

Yeah, let’s take this to the smd_featured thread.

P.S. Bloke === Stef :-)


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#10 2010-12-02 03:56:14

laptophobo
Member
Registered: 2010-03-01
Posts: 216
Website

Re: Article list within category list?

Stef. I’ve moved the question over to smd_featured. Marcus, Thanks for pointing that out for me. I have posted my follow-up questions there.


Living the Location-Independent Life: www.NuNomad.com

Offline

Board footer

Powered by FluxBB