Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#37 2004-09-06 15:34:40
- drewdrew
- New Member
- Registered: 2004-09-02
- Posts: 2
Re: [plugin] [ORPHAN] chh_article_custom
Gabe —
Perhaps you are trying to use chh_article_custom in an article context instead of an article list context? I just realized myself that most of the cool features of this plug-in only work in article list context.
Offline
#38 2004-09-06 18:45:44
- Gabe
- New Member
- Registered: 2004-09-06
- Posts: 5
Re: [plugin] [ORPHAN] chh_article_custom
drewdrew, that would be 100% corrrect! Lack of understanding of txp as a whole rather than plugins seems to be my failing – using <code><txp:chh_article_custom listform=“bio_form” category=“bio”/></code> got me exactly what I needed, which is an author bio at the head of a section. Many thanks!
Offline
Re: [plugin] [ORPHAN] chh_article_custom
I love you, man. Great plugin!
Offline
#40 2004-09-28 21:40:53
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: [plugin] [ORPHAN] chh_article_custom
Hi, I’m using the plugin to show a random article on my front page, with this code:
<code>
<txp:chh_article_custom section=“article” listform=“title” offset=“16” limit=1 sortby=“rand()” />
</code>
The 5 most recent articles are displayed on my front page, and since I wanted the random article not to be one of these, I initially set offset to 5. When some of the most recent articles started to show up, I changed offset to 16, because among the most recent articles there are also articles in other sections. The 16 most recent contain 5 articles in section ‘article’.
But still from time to time one of those 5 is displayed. (And no, I haven’t been adding new articles…)
It’s not a big disaster to me, but if someone would know a solution I’d be grateful.
Last edited by doggiez (2004-09-28 21:43:05)
Offline
#41 2004-09-29 12:39:46
- Ray
- Member
- Registered: 2004-03-02
- Posts: 154
Re: [plugin] [ORPHAN] chh_article_custom
Very nice plugin. Just stumbled across it from <a href=“http://forum.textpattern.com/viewtopic.php?id=4012” alt=“Another post that mentions the chh_article_custom plugin”>another post</a>.
I gotta spend more time on the Txp forum again. Missing out on way too many great ideas… and people ; )
Offline
Re: [plugin] [ORPHAN] chh_article_custom
beautiful. thank you so much takshaka.
textpattern.org :: find and share Textpattern resources
docs.textpattern.io :: Textpattern user documentation
Offline
#43 2004-10-28 14:05:10
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: [plugin] [ORPHAN] chh_article_custom
(see my above post)
Am I that dumb? Does ‘offset’ really start counting from id nr. 1? In that case I assume there is no way to exclude a certain number of newest posts.
Offline
Re: [plugin] [ORPHAN] chh_article_custom
help!
i’m using this plug-in – and i just noticed it’s only displaying 10 articles in the list under any particular category…
the script i’m using is:
<code><txp:chh_article_custom section=“itineraries” sortby=“Title” sortdir=“asc” listform=“list” /></code>
nothing wierd there, huh?
this is the site:
the problem area is itineraries – particularly south america which should have about 14 displaying. they are all in the article list and set to ‘live’ in texpattern.
the max displayed is 10 everywhere else there is a long list of itineraries also…
any ideas??? it’s driving me, er, crazy now!
thx.
“Absorb what is useful, Discard what is not, Add what is uniquely your own” – Bruce Lee
Offline
Re: [plugin] [ORPHAN] chh_article_custom
I believe 10 is the default, unless overriden by something like limit=“50”. Just change to whatever number you want.
Who’s gonna textdrive you home tonight?
Offline
Re: [plugin] [ORPHAN] chh_article_custom
ah. got it.. cool.
thx.
“Absorb what is useful, Discard what is not, Add what is uniquely your own” – Bruce Lee
Offline
#47 2004-11-22 10:46:21
- apo
- Member
- From: Germany
- Registered: 2004-10-27
- Posts: 53
Re: [plugin] [ORPHAN] chh_article_custom
is it possible to change the “dateposted” to include “today” and “yesterday”? g this could solve a main issue i have on my site atm :-)
Offline
Re: [plugin] [ORPHAN] chh_article_custom
I really like this plugin but …
I assumed from the plugin documentation that wraptag and break would work with chh_article_custom. But it isn’t working for me.
This is what I’m using:
txp:chh_article_custom limit=“4” listform=“oh_home_list” form=“single” offset=“1” section=“article” wraptag=“ul” break=“li” /
The results are just shown inside normal paragraph tags. Any idea what I’m doing wrong here?
Thanks for your help everyone,
Anura
Last edited by aslsw66 (2005-01-18 23:01:50)
Offline