Textpattern CMS support forum

You are not logged in. Register | Login | Help

#91 2008-06-20 10:28:56

gomedia
Plugin Author
Registered: 2008-06-01
Posts: 1,225
Website

Re: [plugin] [ORPHAN] chh_related_articles

rad wrote:

BUG FIXED

and Uli questioned replacing the breakclass attribute.

To fix all the errors, follow rad’s instructions and then re-insert the line:

'breakclass' => '',

into the list of attributes (I put it after class).

Adi

Offline

#92 2008-06-20 12:46:35

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,181

Re: [plugin] [ORPHAN] chh_related_articles

Thanks for posting, Adi!
Have you applied kemie’s patch too? Or is that one just a fix for the same problem in a different place?


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#93 2008-06-20 13:02:09

gomedia
Plugin Author
Registered: 2008-06-01
Posts: 1,225
Website

Re: [plugin] [ORPHAN] chh_related_articles

uli wrote:

Have you applied kemie’s patch

Hi, Uli.

The short answer is no. The long answer is: I don’t think I need to because

  • All the error messages have now disappeared
  • I’m not sure what it actually fixes anyway

But I’ll bear it in mind if things go pear-shaped again.

Thanks,

Adi

Offline

#94 2008-06-20 15:49:00

redbot
Plugin Author
Registered: 2006-02-14
Posts: 1,410

Re: [plugin] [ORPHAN] chh_related_articles

Sorry for the intrusion but I think every feature of this plugin (and lots more) can be achieved now with smd_query.
The same with chh_article_custom

Last edited by redbot (2008-06-20 15:51:35)

Offline

#95 2008-06-20 15:52:28

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 8,607
Website

Re: [plugin] [ORPHAN] chh_related_articles

… if you know SQL :-)


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

#96 2008-06-20 15:57:00

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,181

Re: [plugin] [ORPHAN] chh_related_articles

redbot wrote:

Sorry for the intrusion but I think every feature of this plugin (and lots more) can be achieved now with smd_query.
The same with chh_article_custom

Yes this is something for wimps who like guard-rails ;)


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#97 2008-06-20 16:46:11

redbot
Plugin Author
Registered: 2006-02-14
Posts: 1,410

Re: [plugin] [ORPHAN] chh_related_articles

uli wrote:

Yes this is something for wimps who like guard-rails ;)

For the record I’m a certified ignorant with sql but nonetheless, with a little effort, I’ve managed to elaborate some simple query. So I think everybody can.
Anyway you’re right, I didn’t think about that and didn’t want to sound like a bragger ;)

Offline

#98 2008-06-20 16:54:34

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,181

Re: [plugin] [ORPHAN] chh_related_articles

Np :)


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#99 2009-06-17 19:08:40

nabrown78
Member
From: Boston, MA, USA
Registered: 2006-10-04
Posts: 289
Website

Re: [plugin] [ORPHAN] chh_related_articles

I’ve found this plugin quite handy on a number of sites. It’s easy to use to relate articles via something other than categories. I’d second adding its functionality to txp’s core. You’ve already got the <txp:related_articles /> tag, its functionality just needs to be expanded (easier said than done, I know!).

Thank you for posting this fix, by the way.

Offline

#100 2009-08-17 07:59:02

ronan
Member
From: luzern (schweiz)
Registered: 2008-05-02
Posts: 53
Website

Re: [plugin] [ORPHAN] chh_related_articles

hello

i need a wrapper for the related posts like <p> or <div>. my actualy code:

<p><txp:chh_related_articles relation="keywords" label="Verwandte Artikel: " labeltag="strong" limit="5" break=", " /></p>

the problem: if no related post exist, the wrapper is empty and invalid. what i need is someting like <txp:chh_if_related_articles />.
has everyone a solution for my problem?

greets

andi

Last edited by ronan (2009-08-17 07:59:35)

Offline

Board footer

Powered by FluxBB