Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-02-02 00:02:48

Benvolio
Member
From: Sydney
Registered: 2004-10-07
Posts: 11
Website

article_custom and chh_article_custom plugin errors

Hey there guys,

I’m trying to pull out articles from each section on the homepage and then allow users to click through to the full articles.

When I use <code><txp:article_custom limit=“1” section=“section-name”></code> I can’t get the full article to display.

When I use chh_article_custom I get the following error:
<code>Fatal error: Call to undefined function: chh_sql_category() in /hsphere/local/home/wowsers/downonwowsers.com/textpattern/lib/txplib_misc.php(459) : eval()’d code on line 211</code>

Go here for example of issue 1

Any ideas?
Benvolio

Last edited by Benvolio (2006-02-02 01:06:12)

Offline

#2 2006-02-02 01:06:28

Benvolio
Member
From: Sydney
Registered: 2004-10-07
Posts: 11
Website

Re: article_custom and chh_article_custom plugin errors

ahh – worry not – have sorted it ;)

…update – actually – still having the same issue Go here to view http://downonwowsers.com/writing/

Last edited by Benvolio (2006-02-02 02:38:07)

Offline

#3 2006-02-02 12:39:39

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: article_custom and chh_article_custom plugin errors

I’m not 100% sure what you mean as I can’t really see a problem on your site however, if you want a single article (the newest maybe) to appear in full you will need to create a second article form template as your current one is set up to use excerpts if they exist. You then need to specify your new form in the tag so <code><txp:article_custom limit=“1” section=“section-name” form=“formName” /><code>.

Last edited by thebombsite (2006-02-02 12:40:38)


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

Board footer

Powered by FluxBB