Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#73 2005-12-10 19:29:14

takshaka
Archived Plugin Author
From: Below the Manson-Nixon line
Registered: 2004-06-02
Posts: 97
Website

Re: [plugin] [ORPHAN] chh_article_custom

chh_article_custom works like article_custom in this regard. That is, it returns only the article list you specify. You need to use the if_search and article tags:

<code><txp:if_search>
<txp:article />
<txp:else />
<txp:chh_article_custom …attributes… />
</txp:if_search>
</code>

Offline

#74 2005-12-11 00:09:26

andreizinca
New Member
Registered: 2005-08-10
Posts: 6

Re: [plugin] [ORPHAN] chh_article_custom

Thank you very much!
It works great this way.

Offline

#75 2005-12-20 18:04:48

tinyfly
Member
From: Dallas, Texas
Registered: 2004-05-10
Posts: 462
Website

Re: [plugin] [ORPHAN] chh_article_custom

Would it be possible to add functionality to the author attribute so that I can output related articles by author of the current article. This would be used inside an article form.

Or do you know of a plugin that can do this?

Offline

#76 2005-12-20 18:38:20

takshaka
Archived Plugin Author
From: Below the Manson-Nixon line
Registered: 2004-06-02
Posts: 97
Website

Re: [plugin] [ORPHAN] chh_article_custom

Or do you know of a plugin that can do this?

By a strange coincidence, I do.

Offline

#77 2005-12-20 19:07:46

tinyfly
Member
From: Dallas, Texas
Registered: 2004-05-10
Posts: 462
Website

Re: [plugin] [ORPHAN] chh_article_custom

Wa ha ha, your amazing. Excellent!

Offline

#78 2006-01-04 17:11:26

tinyfly
Member
From: Dallas, Texas
Registered: 2004-05-10
Posts: 462
Website

Re: [plugin] [ORPHAN] chh_article_custom

Any news on when your improved search functionality in the upcoming 1.10 release will be out? I am eagerly awating that.

Offline

#79 2006-01-08 03:27:28

nardo
Member
From: tuvalahiti
Registered: 2004-04-22
Posts: 743

Re: [plugin] [ORPHAN] chh_article_custom

great to have u back making plugins!

I saw this on the cokesque plugin page: “TODONE Date ranges and specifications for “within the last three days,” or “last week,” or “four months ago,” or “on this day last year.””

but I can’t see anything in the attributes for it… am I not seeing the wood for the trees?

ideally it’s a ‘current day’ or ‘next day’ for an events-based website (“what’s on today”, “what’s on tomorrow”)

EDIT: apologies… didn’t notice that the plugin page states the feature is planned for next release!

Last edited by nardo (2006-01-08 09:26:07)

Offline

#80 2006-01-29 06:24:40

juicevb10
New Member
Registered: 2006-01-24
Posts: 6

Re: [plugin] [ORPHAN] chh_article_custom

Has anyone had a problem changing article sections, and then chh_flipflop reports an error because “Warning: Missing argument 1 for chh_flipflop_counter() on line xx.” This happens when changing the seciton of MULTIPLE articles, and so the counter must lose count or something??

Offline

#81 2006-01-29 17:58:21

takshaka
Archived Plugin Author
From: Below the Manson-Nixon line
Registered: 2004-06-02
Posts: 97
Website

Re: [plugin] [ORPHAN] chh_article_custom

There was an error in chh_flipflop. Try the new version.

Offline

#82 2006-02-04 07:54:51

theonlydrew
Member
Registered: 2006-01-10
Posts: 21

Re: [plugin] [ORPHAN] chh_article_custom

Hey, Im running TXP 4.03, newest chh_article_custom plugin with newest library from you site, on a server with MySQL 4.1.14, and for some reason I get nothing returned with any of the txp:chh_article or txp:chh_article_custom tags. Nada. I have tried regular txp:article, and even made the chh tag the same and still nothing! Im confused. Any suggestions? Anyone else experience this? Oh yeah, both the plugin and the lib are enabled. Ive tried uninstall/reinstall, but nothing seems to bring any articles back.

Offline

#83 2006-02-04 20:07:37

takshaka
Archived Plugin Author
From: Below the Manson-Nixon line
Registered: 2004-06-02
Posts: 97
Website

Re: [plugin] [ORPHAN] chh_article_custom

Try setting your Production Status to “Testing” or “Debugging” (in admin > preferences). I suspect there is an error message that might tell us more about what’s going wrong.

Offline

#84 2006-02-04 21:18:50

theonlydrew
Member
Registered: 2006-01-10
Posts: 21

Re: [plugin] [ORPHAN] chh_article_custom

Set to both testing and debugging. No errors what so ever on either.

txp:article with the same attributes set as chh_article returns articles.
txp:chh_article returns nothing. Blank. No errors in either testing or debugging. When by itself nothing, when with txp:article nothing. Wierd.

Offline

Board footer

Powered by FluxBB