Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-04-24 08:44:01

skoggy
Member
From: Westcoast of Sweden
Registered: 2005-03-27
Posts: 209
Website

Related articles on frontpage?

Posted my question on the plugins page a couple of days ago. No answer and now I think it may not be a plugin related question after all… Plugin used: chh_related_articles (my original question here )

What I want: A list generated on my frontpage and not just the individual pages. If you click on of the headlines to the left you´ll see the generated list of related articles on the top of the page (yellow paper with clip)

Is there a tag I can use to make this happen?

Offline

#2 2006-04-24 10:45:28

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,330
Website Mastodon

Re: Related articles on frontpage?

Hmmm… What circumstance/coincidence of bar with foo would you use to define “bar is related to foo”? Would this be a relation with the first (as it is currently the only) article in your front page’s article list?

Last edited by wet (2006-04-24 10:47:06)

Offline

#3 2006-04-24 10:52:23

skoggy
Member
From: Westcoast of Sweden
Registered: 2005-03-27
Posts: 209
Website

Re: Related articles on frontpage?

Yes, that´s the problem… and that I am using the plugins tag in a different div and form than the article. I guess I could manage to do this if the list was meant to be in the actual article.

Offline

#4 2006-04-24 10:59:41

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,330
Website Mastodon

Re: Related articles on frontpage?

That said, you can reduce your requirement to a presentational task. I’d try to combine both the article display and the yellow sticky note list into one form, probably containing at least two divs, and fiddle with CSS positioning to render the result you’d like to have.

Semantically, Textpattern and all plugins which track relationships between articles rely on a master article which determines into which categories Textpattern digs in order to find its relatives. That, as you have noticed, won’t work for article lists, even if they are degenerated to an item count of one.

Offline

#5 2006-04-24 11:28:12

skoggy
Member
From: Westcoast of Sweden
Registered: 2005-03-27
Posts: 209
Website

Re: Related articles on frontpage?

Thanx wet
That make sense… will fiddle around when I get the time and report back when/if I have a solution.

Offline

Board footer

Powered by FluxBB