Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2010-03-28 12:40:46

rgruyters
New Member
Registered: 2009-12-15
Posts: 3

related categories based on tags/keywords

Just wondering is it possible to show in a article the related categories based on tag(s) or keyword(s)?

My client is a graphic designer and works for different companies and branches. Sometimes my client creates/designs websites but also do e.g. print media for the same company.

So i want to create a page (section) where each category is displayed (print media, webdesign, branding, etc.) and in each category a list of projects and when you click on a project name you get a detailed view (article) when client has done.
In the detail view also show related categories for the particular project.

I have tried this with rss_unlimited_categories and tru_tags, but somehow I can’t get it to work.

Anybody got an idea how to do this? Is this even possible with TXP?

Also looking for a way to create URLs in form of /portfolio/<category>/<project>

Offline

#2 2010-03-30 20:19:54

whaleen
Member
From: Portland
Registered: 2006-05-11
Posts: 373
Website

Re: related categories based on tags/keywords

Is this even possible with TXP?

It’s one of the easier things to whip up that doesn’t appear to be obvious out of the box.

You could create a parent category to lord over a group of ‘sub-categories’ you choose so you’d have this:

  • Print Design (Parent)
    • Nice (Child)
    • Great (Child)
    • Happy (etc…)

You’d display your Parent categories as a type of top level navigation and when an article from there is shown the article form for that article would list Child categories as known from a reference to the Parent.

I think you can get what you want with either of the plugins you mention but I would recommend using only one plugin for this just to make it simple and choosing one that is capable obviously. Look at the parent/child capabilities if present in those or other plugins.

There is smd_tags. I would use that personally.


txtstrap (Textpattern + Twitter Bootstrap + etc…)

Offline

#3 2010-03-31 18:50:31

rgruyters
New Member
Registered: 2009-12-15
Posts: 3

Re: related categories based on tags/keywords

thanks for your response. I gonna try your approach and also using smd_tags.

Offline

#4 2010-03-31 21:19:31

floodfish
Member
From: Brooklyn, NY
Registered: 2007-01-11
Posts: 155
Website

Re: related categories based on tags/keywords

I’ve done a version of this with rss_unlimited_categories and adi_cat_menu in combination.

Also, check out http://txptips.com/custom-article-groups-in-textpattern

Last edited by floodfish (2010-03-31 21:20:31)

Offline

Board footer

Powered by FluxBB